[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>
This commit is contained in:
parent
f6d8735493
commit
3188d5485e
@ -27,7 +27,8 @@ use IO::Handle;
|
|||||||
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
|
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
|
||||||
"opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
|
"opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
|
||||||
"af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
|
"af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
|
||||||
"lme2510c_s7395_old", "drxk", "drxk_terratec_h5");
|
"lme2510c_s7395_old", "drxk", "drxk_terratec_h5",
|
||||||
|
"it9135" );
|
||||||
|
|
||||||
# Check args
|
# Check args
|
||||||
syntax() if (scalar(@ARGV) != 1);
|
syntax() if (scalar(@ARGV) != 1);
|
||||||
@ -665,6 +666,26 @@ sub drxk_terratec_h5 {
|
|||||||
"$fwfile"
|
"$fwfile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub it9135 {
|
||||||
|
my $url = "http://kworld.server261.com/kworld/CD/ITE_TiVme/V1.00/";
|
||||||
|
my $zipfile = "Driver_V10.323.1.0412.100412.zip";
|
||||||
|
my $hash = "79b597dc648698ed6820845c0c9d0d37";
|
||||||
|
my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
|
||||||
|
my $drvfile = "Driver_V10.323.1.0412.100412/Data/x86/IT9135BDA.sys";
|
||||||
|
my $fwfile = "dvb-usb-it9137-01.fw";
|
||||||
|
|
||||||
|
checkstandard();
|
||||||
|
|
||||||
|
wgetfile($zipfile, $url . $zipfile);
|
||||||
|
verify($zipfile, $hash);
|
||||||
|
unzip($zipfile, $tmpdir);
|
||||||
|
extract("$tmpdir/$drvfile", 69632, 5731, "$fwfile");
|
||||||
|
|
||||||
|
"$fwfile"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Utilities
|
# Utilities
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user