diff options
author | Patrick Boettcher <devnull@localhost> | 2004-09-05 11:37:04 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2004-09-05 11:37:04 +0000 |
commit | 7d6379ce8a3f77ec43a279591cbaa37eb052c8d6 (patch) | |
tree | 7a69e03e2b45951ca55a1ddd00d633dff66239fc /linux/Documentation/dvb/get_dvb_firmware | |
parent | e7cefa56943d2ad89bd41046f51bf85f194c26d0 (diff) | |
download | mediapointer-dvb-s2-7d6379ce8a3f77ec43a279591cbaa37eb052c8d6.tar.gz mediapointer-dvb-s2-7d6379ce8a3f77ec43a279591cbaa37eb052c8d6.tar.bz2 |
removed vp7041 doc and added dibusb doc
Diffstat (limited to 'linux/Documentation/dvb/get_dvb_firmware')
-rw-r--r-- | linux/Documentation/dvb/get_dvb_firmware | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware index 49a40f845..78ad29174 100644 --- a/linux/Documentation/dvb/get_dvb_firmware +++ b/linux/Documentation/dvb/get_dvb_firmware @@ -21,7 +21,7 @@ use File::Temp qw/ tempdir /; use IO::Handle; -@components = ( "alps_tdlb7", "sp887x", "tda10045", "tda10046", "av7110", "dec2000t", "dec2540t", "dec3000s", "vp7041" ); +@components = ( "alps_tdlb7", "sp887x", "tda10045", "tda10046", "av7110", "dec2000t", "dec2540t", "dec3000s", "vp7041", "dibusb" ); # Check args syntax() if (scalar(@ARGV) != 1); @@ -220,8 +220,16 @@ sub vp7041 { $outfile; } +sub dibusb { + my $url = "http://linuxtv.org/cgi-bin/cvsweb.cgi/dvb-kernel/firmware/dvb-dibusb-5.0.0.11.fw?rev=1.1&content-type=text/plain"; + my $outfile = "dvb-dibusb-5.0.0.11.fw"; + my $hash = "fa490295a527360ca16dcdf3224ca243"; + wgetfile($outfile, $url); + verify($outfile,$hash); + $outfile; +} # --------------------------------------------------------------- # Utilities @@ -248,7 +256,7 @@ sub wgetfile { my ($sourcefile, $url) = @_; if (! -f $sourcefile) { - system("wget \"$url\"") and die "wget failed - unable to download firmware"; + system("wget -O \"$sourcefile\" \"$url\"") and die "wget failed - unable to download firmware"; } } |