diff options
Diffstat (limited to 'Documentation/dvb')
-rwxr-xr-x | 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 d1d4a179a382..fbb241174486 100755 --- a/Documentation/dvb/get_dvb_firmware +++ b/Documentation/dvb/get_dvb_firmware | |||
@@ -28,7 +28,8 @@ use IO::Handle; | |||
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", "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 | 33 | ||
33 | # Check args | 34 | # Check args |
34 | syntax() if (scalar(@ARGV) != 1); | 35 | syntax() if (scalar(@ARGV) != 1); |
@@ -730,6 +731,23 @@ sub tda10071 { | |||
730 | "$fwfile"; | 731 | "$fwfile"; |
731 | } | 732 | } |
732 | 733 | ||
734 | sub drxk_pctv { | ||
735 | my $sourcefile = "PCTV_460e_reference.zip"; | ||
736 | my $url = "ftp://ftp.pctvsystems.com/TV/driver/PCTV%2070e%2080e%20100e%20320e%20330e%20800e/"; | ||
737 | my $hash = "4403de903bf2593464c8d74bbc200a57"; | ||
738 | my $fwfile = "dvb-demod-drxk-pctv.fw"; | ||
739 | my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); | ||
740 | |||
741 | checkstandard(); | ||
742 | |||
743 | wgetfile($sourcefile, $url . $sourcefile); | ||
744 | verify($sourcefile, $hash); | ||
745 | unzip($sourcefile, $tmpdir); | ||
746 | extract("$tmpdir/PCTV\ 70e\ 80e\ 100e\ 320e\ 330e\ 800e/32\ bit/emOEM.sys", 0x72b80, 42692, $fwfile); | ||
747 | |||
748 | "$fwfile"; | ||
749 | } | ||
750 | |||
733 | # --------------------------------------------------------------- | 751 | # --------------------------------------------------------------- |
734 | # Utilities | 752 | # Utilities |
735 | 753 | ||