diff options
| author | Oliver Endriss <o.endriss@gmx.de> | 2011-07-03 12:53:50 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:55:42 -0400 |
| commit | f9004df79ffd361312d4b5d237d56c2f64caa1a3 (patch) | |
| tree | 7d64cce3cb834c00cfc4612ad7bf4402fd31fac5 /Documentation/dvb/get_dvb_firmware | |
| parent | f678c3b69a416bb320c8a251583ccaec64574b56 (diff) | |
[media] get_dvb_firmware: Get DRX-K firmware for Digital Devices DVB-CT cards
Get DRX-K firmware for Digital Devices DVB-CT cards
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/dvb/get_dvb_firmware')
| -rw-r--r-- | Documentation/dvb/get_dvb_firmware | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index 3348d313fbe0..224d9e685d5c 100644 --- a/Documentation/dvb/get_dvb_firmware +++ b/Documentation/dvb/get_dvb_firmware | |||
| @@ -27,7 +27,7 @@ use IO::Handle; | |||
| 27 | "or51211", "or51132_qam", "or51132_vsb", "bluebird", | 27 | "or51211", "or51132_qam", "or51132_vsb", "bluebird", |
| 28 | "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718", | 28 | "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718", |
| 29 | "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", | 29 | "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", |
| 30 | "lme2510c_s7395_old"); | 30 | "lme2510c_s7395_old", "drxk"); |
| 31 | 31 | ||
| 32 | # Check args | 32 | # Check args |
| 33 | syntax() if (scalar(@ARGV) != 1); | 33 | syntax() if (scalar(@ARGV) != 1); |
| @@ -634,6 +634,24 @@ sub lme2510c_s7395_old { | |||
| 634 | $outfile; | 634 | $outfile; |
| 635 | } | 635 | } |
| 636 | 636 | ||
| 637 | sub drxk { | ||
| 638 | my $url = "http://l4m-daten.de/files/"; | ||
| 639 | my $zipfile = "DDTuner.zip"; | ||
| 640 | my $hash = "f5a37b9a20a3534997997c0b1382a3e5"; | ||
| 641 | my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); | ||
| 642 | my $drvfile = "DDTuner.sys"; | ||
| 643 | my $fwfile = "drxk_a3.mc"; | ||
| 644 | |||
| 645 | checkstandard(); | ||
| 646 | |||
| 647 | wgetfile($zipfile, $url . $zipfile); | ||
| 648 | verify($zipfile, $hash); | ||
| 649 | unzip($zipfile, $tmpdir); | ||
| 650 | extract("$tmpdir/$drvfile", 0x14dd8, 15634, "$fwfile"); | ||
| 651 | |||
| 652 | "$fwfile" | ||
| 653 | } | ||
| 654 | |||
| 637 | # --------------------------------------------------------------- | 655 | # --------------------------------------------------------------- |
| 638 | # Utilities | 656 | # Utilities |
| 639 | 657 | ||
