summaryrefslogtreecommitdiff
path: root/linux/Documentation/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-23 12:35:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-23 12:35:03 -0300
commit69eace198d43a49aa5b340ad11f64e734e78f2b1 (patch)
tree6876c5a9d8cf8c0cf9b366dec629673ee16b2069 /linux/Documentation/dvb
parentccbf32071ba578042cae1dad36f883ea45e7d987 (diff)
downloadmediapointer-dvb-s2-69eace198d43a49aa5b340ad11f64e734e78f2b1.tar.gz
mediapointer-dvb-s2-69eace198d43a49aa5b340ad11f64e734e78f2b1.tar.bz2
get_dvb_firmware: add support for downloading the cx2584x firmware for pvrusb2
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/Documentation/dvb')
-rwxr-xr-xlinux/Documentation/dvb/get_dvb_firmware22
1 files changed, 21 insertions, 1 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware
index 7e485eabd..2f21ecd4c 100755
--- a/linux/Documentation/dvb/get_dvb_firmware
+++ b/linux/Documentation/dvb/get_dvb_firmware
@@ -25,7 +25,7 @@ use IO::Handle;
"tda10046lifeview", "av7110", "dec2000t", "dec2540t",
"dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
- "opera1", "cx231xx", "cx18", "cx23885" );
+ "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2" );
# Check args
syntax() if (scalar(@ARGV) != 1);
@@ -387,6 +387,26 @@ sub cx23885 {
my %files = (
'v4l-cx23885-avcore-01.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
'v4l-cx23885-enc.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
+ );
+
+ checkstandard();
+
+ my $allfiles;
+ foreach my $fwfile (keys %files) {
+ wgetfile($fwfile, "$url/$fwfile");
+ verify($fwfile, $files{$fwfile});
+ $allfiles .= " $fwfile";
+ }
+
+ $allfiles =~ s/^\s//;
+
+ $allfiles;
+}
+
+sub pvrusb2 {
+ my $url = "http://linuxtv.org/downloads/firmware/";
+
+ my %files = (
'v4l-cx25840.fw' => 'dadb79e9904fc8af96e8111d9cb59320',
);