diff options
Diffstat (limited to 'Documentation/dvb/get_dvb_firmware')
-rwxr-xr-x | Documentation/dvb/get_dvb_firmware | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index c466f5831f15..e67be7afc78b 100755 --- a/Documentation/dvb/get_dvb_firmware +++ b/Documentation/dvb/get_dvb_firmware | |||
@@ -27,7 +27,8 @@ 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", "drxk", "drxk_terratec_h5"); | 30 | "lme2510c_s7395_old", "drxk", "drxk_terratec_h5", "tda10071", |
31 | "it9135" ); | ||
31 | 32 | ||
32 | # Check args | 33 | # Check args |
33 | syntax() if (scalar(@ARGV) != 1); | 34 | syntax() if (scalar(@ARGV) != 1); |
@@ -575,19 +576,10 @@ sub ngene { | |||
575 | } | 576 | } |
576 | 577 | ||
577 | sub az6027{ | 578 | sub az6027{ |
578 | my $file = "AZ6027_Linux_Driver.tar.gz"; | ||
579 | my $url = "http://linux.terratec.de/files/$file"; | ||
580 | my $firmware = "dvb-usb-az6027-03.fw"; | 579 | my $firmware = "dvb-usb-az6027-03.fw"; |
580 | my $url = "http://linux.terratec.de/files/TERRATEC_S7/$firmware"; | ||
581 | 581 | ||
582 | wgetfile($file, $url); | 582 | wgetfile($firmware, $url); |
583 | |||
584 | #untar | ||
585 | if( system("tar xzvf $file $firmware")){ | ||
586 | die "failed to untar firmware"; | ||
587 | } | ||
588 | if( system("rm $file")){ | ||
589 | die ("unable to remove unnecessary files"); | ||
590 | } | ||
591 | 583 | ||
592 | $firmware; | 584 | $firmware; |
593 | } | 585 | } |
@@ -665,6 +657,41 @@ sub drxk_terratec_h5 { | |||
665 | "$fwfile" | 657 | "$fwfile" |
666 | } | 658 | } |
667 | 659 | ||
660 | sub it9135 { | ||
661 | my $url = "http://kworld.server261.com/kworld/CD/ITE_TiVme/V1.00/"; | ||
662 | my $zipfile = "Driver_V10.323.1.0412.100412.zip"; | ||
663 | my $hash = "79b597dc648698ed6820845c0c9d0d37"; | ||
664 | my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); | ||
665 | my $drvfile = "Driver_V10.323.1.0412.100412/Data/x86/IT9135BDA.sys"; | ||
666 | my $fwfile = "dvb-usb-it9137-01.fw"; | ||
667 | |||
668 | checkstandard(); | ||
669 | |||
670 | wgetfile($zipfile, $url . $zipfile); | ||
671 | verify($zipfile, $hash); | ||
672 | unzip($zipfile, $tmpdir); | ||
673 | extract("$tmpdir/$drvfile", 69632, 5731, "$fwfile"); | ||
674 | |||
675 | "$fwfile" | ||
676 | } | ||
677 | |||
678 | sub tda10071 { | ||
679 | my $sourcefile = "PCTV_460e_reference.zip"; | ||
680 | my $url = "ftp://ftp.pctvsystems.com/TV/driver/PCTV%2070e%2080e%20100e%20320e%20330e%20800e/"; | ||
681 | my $hash = "4403de903bf2593464c8d74bbc200a57"; | ||
682 | my $fwfile = "dvb-fe-tda10071.fw"; | ||
683 | my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); | ||
684 | |||
685 | checkstandard(); | ||
686 | |||
687 | wgetfile($sourcefile, $url . $sourcefile); | ||
688 | verify($sourcefile, $hash); | ||
689 | unzip($sourcefile, $tmpdir); | ||
690 | extract("$tmpdir/PCTV\ 70e\ 80e\ 100e\ 320e\ 330e\ 800e/32\ bit/emOEM.sys", 0x67d38, 40504, $fwfile); | ||
691 | |||
692 | "$fwfile"; | ||
693 | } | ||
694 | |||
668 | # --------------------------------------------------------------- | 695 | # --------------------------------------------------------------- |
669 | # Utilities | 696 | # Utilities |
670 | 697 | ||