Lines 250-259
Link Here
|
250 |
|
250 |
|
251 |
$fwfile1.",".$fwfile2; |
251 |
$fwfile1.",".$fwfile2; |
252 |
} |
252 |
} |
253 |
|
|
|
254 |
sub vp7041 { |
253 |
sub vp7041 { |
255 |
my $sourcefile = "2.422.zip"; |
254 |
my $sourcefile = "TwinhanDTV2.608a.zip"; |
256 |
my $url = "http://www.twinhan.com/files/driver/USB-Ter/$sourcefile"; |
255 |
my $url = "http://www.twinhan.com/files/AW/Software/$sourcefile"; |
257 |
my $hash = "e88c9372d1f66609a3e7b072c53fbcfe"; |
256 |
my $hash = "e88c9372d1f66609a3e7b072c53fbcfe"; |
258 |
my $outfile = "dvb-vp7041-2.422.fw"; |
257 |
my $outfile = "dvb-vp7041-2.422.fw"; |
259 |
my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); |
258 |
my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); |
Lines 262-269
Link Here
|
262 |
|
261 |
|
263 |
wgetfile($sourcefile, $url); |
262 |
wgetfile($sourcefile, $url); |
264 |
unzip($sourcefile, $tmpdir); |
263 |
unzip($sourcefile, $tmpdir); |
265 |
extract("$tmpdir/VisionDTV/Drivers/Win2K&XP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1"); |
264 |
extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1"); |
266 |
extract("$tmpdir/VisionDTV/Drivers/Win2K&XP/UDTTload.sys", 2207, 10274, "$tmpdir/fwtmp2"); |
265 |
extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 2207, 10274, "$tmpdir/fwtmp2"); |
267 |
|
266 |
|
268 |
my $CMD = "\000\001\000\222\177\000"; |
267 |
my $CMD = "\000\001\000\222\177\000"; |
269 |
my $PAD = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; |
268 |
my $PAD = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; |