summaryrefslogtreecommitdiff
path: root/linux/Documentation/dvb
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-02-19 22:59:50 +0000
committerJohannes Stezenbach <devnull@localhost>2005-02-19 22:59:50 +0000
commit4d292e354c6a309594495ffc983327775c037503 (patch)
tree2e6e2c48817ffa3e910d848f91e8b2b8a1151f1b /linux/Documentation/dvb
parenteae07280356edbf1ba4568c9fc2bdb7fb87eac64 (diff)
downloadmediapointer-dvb-s2-4d292e354c6a309594495ffc983327775c037503.tar.gz
mediapointer-dvb-s2-4d292e354c6a309594495ffc983327775c037503.tar.bz2
add OREN or51211, or51132_qam and or51132_vsb firmware
Diffstat (limited to 'linux/Documentation/dvb')
-rw-r--r--linux/Documentation/dvb/get_dvb_firmware54
1 files changed, 47 insertions, 7 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware
index 0de7934e7..f5b368b4b 100644
--- a/linux/Documentation/dvb/get_dvb_firmware
+++ b/linux/Documentation/dvb/get_dvb_firmware
@@ -1,19 +1,19 @@
#!/usr/bin/perl
# DVB firmware extractor
-#
+#
# (c) 2004 Andrew de Quincey
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#
+#
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
@@ -22,14 +22,15 @@ use File::Temp qw/ tempdir /;
use IO::Handle;
@components = ( "sp8870", "sp887x", "tda10045", "tda10046", "av7110", "dec2000t",
- "dec2540t", "dec3000s", "vp7041", "dibusb", "nxt2002" );
+ "dec2540t", "dec3000s", "vp7041", "dibusb", "nxt2002",
+ "or51211", "or51132_qam", "or51132_vsb");
# Check args
syntax() if (scalar(@ARGV) != 1);
$cid = $ARGV[0];
# Do it!
-for($i=0; $i < scalar(@components); $i++) {
+for ($i=0; $i < scalar(@components); $i++) {
if ($cid eq $components[$i]) {
$outfile = eval($cid);
die $@ if $@;
@@ -251,6 +252,45 @@ sub nxt2002 {
$outfile;
}
+sub or51211 {
+ my $fwfile = "dvb-fe-or51211.fw";
+ my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
+ my $hash = "d830949c771a289505bf9eafc225d491";
+
+ checkstandard();
+
+ wgetfile($fwfile, $url);
+ verify($fwfile, $hash);
+
+ $fwfile;
+}
+
+sub or51132_qam {
+ my $fwfile = "dvb-fe-or51132-qam.fw";
+ my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
+ my $hash = "7702e8938612de46ccadfe9b413cb3b5";
+
+ checkstandard();
+
+ wgetfile($fwfile, $url);
+ verify($fwfile, $hash);
+
+ $fwfile;
+}
+
+sub or51132_vsb {
+ my $fwfile = "dvb-fe-or51132-vsb.fw";
+ my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
+ my $hash = "c16208e02f36fc439a557ad4c613364a";
+
+ checkstandard();
+
+ wgetfile($fwfile, $url);
+ verify($fwfile, $hash);
+
+ $fwfile;
+}
+
# ---------------------------------------------------------------
# Utilities