V4L/DVB (11108): get_dvb_firmware: Add option to download firmware for cx231xx
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2ce949ec66
commit
06e9509ff3
|
@ -25,7 +25,7 @@ use IO::Handle;
|
||||||
"tda10046lifeview", "av7110", "dec2000t", "dec2540t",
|
"tda10046lifeview", "av7110", "dec2000t", "dec2540t",
|
||||||
"dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
|
"dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
|
||||||
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
|
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
|
||||||
"opera1");
|
"opera1", "cx231xx");
|
||||||
|
|
||||||
# Check args
|
# Check args
|
||||||
syntax() if (scalar(@ARGV) != 1);
|
syntax() if (scalar(@ARGV) != 1);
|
||||||
|
@ -345,6 +345,19 @@ sub or51211 {
|
||||||
$fwfile;
|
$fwfile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub cx231xx {
|
||||||
|
my $fwfile = "v4l-cx231xx-avcore-01.fw";
|
||||||
|
my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
|
||||||
|
my $hash = "7d3bb956dc9df0eafded2b56ba57cc42";
|
||||||
|
|
||||||
|
checkstandard();
|
||||||
|
|
||||||
|
wgetfile($fwfile, $url);
|
||||||
|
verify($fwfile, $hash);
|
||||||
|
|
||||||
|
$fwfile;
|
||||||
|
}
|
||||||
|
|
||||||
sub or51132_qam {
|
sub or51132_qam {
|
||||||
my $fwfile = "dvb-fe-or51132-qam.fw";
|
my $fwfile = "dvb-fe-or51132-qam.fw";
|
||||||
my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
|
my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
|
||||||
|
|
Loading…
Reference in New Issue