diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-05-26 19:41:29 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-05-26 19:41:29 +0000 |
commit | c33c04cb9b84732497bd7a67a7257cc27f2b8641 (patch) | |
tree | 41b84647801302284a7e7f9ae95573af4548d8ee /linux/Documentation | |
parent | e58d054bc80c2e5b13ecb9bf1626336f91960a0e (diff) | |
download | mediapointer-dvb-s2-c33c04cb9b84732497bd7a67a7257cc27f2b8641.tar.gz mediapointer-dvb-s2-c33c04cb9b84732497bd7a67a7257cc27f2b8641.tar.bz2 |
fix dvb-usb-dibusb-5.0.0.11.fw download link
remove trailing whitespace
Diffstat (limited to 'linux/Documentation')
-rw-r--r-- | linux/Documentation/dvb/get_dvb_firmware | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware index 27916ea1c..603c71a2c 100644 --- a/linux/Documentation/dvb/get_dvb_firmware +++ b/linux/Documentation/dvb/get_dvb_firmware @@ -57,12 +57,12 @@ sub sp8870 { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); verify("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $hash); copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile); - + $outfile; } @@ -73,16 +73,16 @@ sub sp887x { my $hash = "237938d53a7f834c05c42b894ca68ac3"; my $outfile = "dvb-fe-sp887x.fw"; my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); - + checkstandard(); checkunshield(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); unshield("$tmpdir/$cabfile", $tmpdir); verify("$tmpdir/ZEnglish/sc_main.mc", $hash); copy("$tmpdir/ZEnglish/sc_main.mc", $outfile); - + $outfile; } @@ -93,14 +93,14 @@ sub tda10045 { my $outfile = "dvb-fe-tda10045.fw"; my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); - checkstandard(); - + checkstandard(); + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x37ef9, 30555, "$tmpdir/fwtmp"); verify("$tmpdir/fwtmp", $hash); copy("$tmpdir/fwtmp", $outfile); - + $outfile; } @@ -112,13 +112,13 @@ sub tda10046 { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x3f731, 24478, "$tmpdir/fwtmp"); verify("$tmpdir/fwtmp", $hash); copy("$tmpdir/fwtmp", $outfile); - + $outfile; } @@ -129,11 +129,11 @@ sub av7110 { my $outfile = "dvb-ttpci-01.fw"; checkstandard(); - + wgetfile($sourcefile, $url); verify($sourcefile, $hash); copy($sourcefile, $outfile); - + $outfile; } @@ -145,7 +145,7 @@ sub dec2000t { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $hash); @@ -162,7 +162,7 @@ sub dec2540t { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $hash); @@ -179,7 +179,7 @@ sub dec3000s { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $hash); @@ -194,9 +194,9 @@ sub vp7041 { my $hash = "e88c9372d1f66609a3e7b072c53fbcfe"; my $outfile = "dvb-vp7041-2.422.fw"; my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); - + checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); extract("$tmpdir/VisionDTV/Drivers/Win2K&XP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1"); @@ -223,8 +223,8 @@ sub vp7041 { } sub dibusb { - my $url = "http://www.linuxtv.org/cgi-bin/viewcvs.cgi/*checkout*/dvb-kernel/firmware/dvb-dibusb-5.0.0.11.fw"; - my $outfile = "dvb-dibusb-5.0.0.11.fw"; + my $url = "http://www.linuxtv.org/downloads/firmware/dvb-usb-dibusb-5.0.0.11.fw"; + my $outfile = "dvb-usb-dibusb-5.0.0.11.fw"; my $hash = "fa490295a527360ca16dcdf3224ca243"; checkstandard(); @@ -243,7 +243,7 @@ sub nxt2002 { my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); checkstandard(); - + wgetfile($sourcefile, $url); unzip($sourcefile, $tmpdir); verify("$tmpdir/SkyNETU.sys", $hash); @@ -349,14 +349,14 @@ sub verify { sub copy { my ($from, $to) = @_; - + system("cp -f \"$from\" \"$to\"") and die ("cp failed"); } sub extract { my ($infile, $offset, $length, $outfile) = @_; my ($chunklength, $buf, $rcount); - + open INFILE, "<$infile"; open OUTFILE, ">$outfile"; sysseek(INFILE, $offset, SEEK_SET); @@ -364,7 +364,7 @@ sub extract { # Calc chunk size $chunklength = 2048; $chunklength = $length if ($chunklength > $length); - + $rcount = sysread(INFILE, $buf, $chunklength); die "Ran out of data\n" if ($rcount != $chunklength); syswrite(OUTFILE, $buf); @@ -377,7 +377,7 @@ sub extract { sub appendfile { my ($FH, $infile) = @_; my ($buf); - + open INFILE, "<$infile"; while(1) { $rcount = sysread(INFILE, $buf, 2048); |