Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] get_dvb_firmware: Firmware extraction for IT9135 based devices

Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Benjamin Larsson and committed by
Mauro Carvalho Chehab
3188d548 f6d87354

+22 -1
+22 -1
Documentation/dvb/get_dvb_firmware
··· 27 27 "or51211", "or51132_qam", "or51132_vsb", "bluebird", 28 28 "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718", 29 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 + "it9135" ); 31 32 32 33 # Check args 33 34 syntax() if (scalar(@ARGV) != 1); ··· 665 664 666 665 "$fwfile" 667 666 } 667 + 668 + sub it9135 { 669 + my $url = "http://kworld.server261.com/kworld/CD/ITE_TiVme/V1.00/"; 670 + my $zipfile = "Driver_V10.323.1.0412.100412.zip"; 671 + my $hash = "79b597dc648698ed6820845c0c9d0d37"; 672 + my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); 673 + my $drvfile = "Driver_V10.323.1.0412.100412/Data/x86/IT9135BDA.sys"; 674 + my $fwfile = "dvb-usb-it9137-01.fw"; 675 + 676 + checkstandard(); 677 + 678 + wgetfile($zipfile, $url . $zipfile); 679 + verify($zipfile, $hash); 680 + unzip($zipfile, $tmpdir); 681 + extract("$tmpdir/$drvfile", 69632, 5731, "$fwfile"); 682 + 683 + "$fwfile" 684 + } 685 + 686 + 668 687 669 688 # --------------------------------------------------------------- 670 689 # Utilities