All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-media@vger.kernel.org
Cc: sven.pilz@gmail.com, soeren.moch@ims.uni-hannover.de,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: [PATCH 1/3] [media] Add support for downloading the firmware of the Terratec Cinergy HTC Stick HD's firmware.
Date: Wed, 13 Jun 2012 00:19:26 +0200	[thread overview]
Message-ID: <1339539568-7725-2-git-send-email-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <1339539568-7725-1-git-send-email-martin.blumenstingl@googlemail.com>

As of June 2012 it uses the same firmware as the Hauppauge WinTV HVR 930C.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 Documentation/dvb/get_dvb_firmware |   20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index fbb2411..94b0168 100755
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -29,7 +29,7 @@ use IO::Handle;
 		"af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
 		"lme2510c_s7395_old", "drxk", "drxk_terratec_h5",
 		"drxk_hauppauge_hvr930c", "tda10071", "it9135", "it9137",
-		"drxk_pctv");
+		"drxk_pctv", "drxk_terratec_htc_stick");
 
 # Check args
 syntax() if (scalar(@ARGV) != 1);
@@ -676,6 +676,24 @@ sub drxk_terratec_h5 {
     "$fwfile"
 }
 
+sub drxk_terratec_htc_stick {
+    my $url = "http://ftp.terratec.de/Receiver/Cinergy_HTC_Stick/Updates/";
+    my $zipfile = "Cinergy_HTC_Stick_Drv_5.09.1202.00_XP_Vista_7.exe";
+    my $hash = "6722a2442a05423b781721fbc069ed5e";
+    my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
+    my $drvfile = "Cinergy HTC Stick/BDA Driver 5.09.1202.00/Windows 32 Bit/emOEM.sys";
+    my $fwfile = "dvb-usb-terratec-htc-stick-drxk.fw";
+
+    checkstandard();
+
+    wgetfile($zipfile, $url . $zipfile);
+    verify($zipfile, $hash);
+    unzip($zipfile, $tmpdir);
+    extract("$tmpdir/$drvfile", 0x4e5c0, 42692, "$fwfile");
+
+    "$fwfile"
+}
+
 sub it9135 {
 	my $sourcefile = "dvb-usb-it9135.zip";
 	my $url = "http://www.ite.com.tw/uploads/firmware/v3.6.0.0/$sourcefile";
-- 
1.7.10.4


  reply	other threads:[~2012-06-12 22:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 22:19 [PATCH 0/3] em28xx: Improve compatiblity with the Terratec Cinergy HTC Stick HD Martin Blumenstingl
2012-06-12 22:19 ` Martin Blumenstingl [this message]
2012-06-12 22:19 ` [PATCH 2/3] [media] em28xx: Add the DRX-K at I2C address 0x29 to the list of known I2C devices Martin Blumenstingl
2012-06-12 22:19 ` [PATCH 3/3] [media] em28xx: Improve support for the Terratec Cinergy HTC Stick HD Martin Blumenstingl
     [not found] ` <4FD818EC.6060300@ims.uni-hannover.de>
2012-06-13  7:00   ` [PATCH 0/3] em28xx: Improve compatiblity with " Martin Blumenstingl
     [not found]     ` <4FDA2969.4010002@ims.uni-hannover.de>
2012-06-25 21:18       ` Martin Blumenstingl
2012-06-26 22:45         ` Martin Blumenstingl
2012-07-16 13:40           ` Sören Moch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339539568-7725-2-git-send-email-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=soeren.moch@ims.uni-hannover.de \
    --cc=sven.pilz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.