aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2012-06-12 17:19:26 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-21 11:20:08 -0400
commit7bdc0fb14f106875c840d47b53f497f6e2b30382 (patch)
treee01f4ddee81675d8c523cc0978aaa245cde43d86
parent1e70a6cf7e965bafd89bf363772eb1a4b8e35934 (diff)
[media] Add support for downloading the firmware of the Terratec Cinergy HTC Stick HD's firmware
As of June 2012 it uses the same firmware as the Hauppauge WinTV HVR 930C. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xDocumentation/dvb/get_dvb_firmware20
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index fbb241174486..94b01689808d 100755
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -29,7 +29,7 @@ use IO::Handle;
29 "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", 29 "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
30 "lme2510c_s7395_old", "drxk", "drxk_terratec_h5", 30 "lme2510c_s7395_old", "drxk", "drxk_terratec_h5",
31 "drxk_hauppauge_hvr930c", "tda10071", "it9135", "it9137", 31 "drxk_hauppauge_hvr930c", "tda10071", "it9135", "it9137",
32 "drxk_pctv"); 32 "drxk_pctv", "drxk_terratec_htc_stick");
33 33
34# Check args 34# Check args
35syntax() if (scalar(@ARGV) != 1); 35syntax() if (scalar(@ARGV) != 1);
@@ -676,6 +676,24 @@ sub drxk_terratec_h5 {
676 "$fwfile" 676 "$fwfile"
677} 677}
678 678
679sub drxk_terratec_htc_stick {
680 my $url = "http://ftp.terratec.de/Receiver/Cinergy_HTC_Stick/Updates/";
681 my $zipfile = "Cinergy_HTC_Stick_Drv_5.09.1202.00_XP_Vista_7.exe";
682 my $hash = "6722a2442a05423b781721fbc069ed5e";
683 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
684 my $drvfile = "Cinergy HTC Stick/BDA Driver 5.09.1202.00/Windows 32 Bit/emOEM.sys";
685 my $fwfile = "dvb-usb-terratec-htc-stick-drxk.fw";
686
687 checkstandard();
688
689 wgetfile($zipfile, $url . $zipfile);
690 verify($zipfile, $hash);
691 unzip($zipfile, $tmpdir);
692 extract("$tmpdir/$drvfile", 0x4e5c0, 42692, "$fwfile");
693
694 "$fwfile"
695}
696
679sub it9135 { 697sub it9135 {
680 my $sourcefile = "dvb-usb-it9135.zip"; 698 my $sourcefile = "dvb-usb-it9135.zip";
681 my $url = "http://www.ite.com.tw/uploads/firmware/v3.6.0.0/$sourcefile"; 699 my $url = "http://www.ite.com.tw/uploads/firmware/v3.6.0.0/$sourcefile";