linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH add drx firmware extraction routine for hauppauge 930c
@ 2011-07-17 20:44 Eddi De Pieri
  0 siblings, 0 replies; only message in thread
From: Eddi De Pieri @ 2011-07-17 20:44 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

I'm trying to get this device supported starting from Mauro's work on H5

Here is the firmware extraction for hauppauge hvr930c hardware

Signed-off-by: Eddi De Pieri <eddi@depieri.net>

[-- Attachment #2: get_dvb_firmware.diff --]
[-- Type: application/octet-stream, Size: 1340 bytes --]

diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index c466f58..a34d9d4 100755
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -27,7 +27,7 @@ use IO::Handle;
 		"or51211", "or51132_qam", "or51132_vsb", "bluebird",
 		"opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
 		"af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
-		"lme2510c_s7395_old", "drxk", "drxk_terratec_h5");
+		"lme2510c_s7395_old", "drxk", "drxk_hauppauge_hvr930c", "drxk_terratec_h5");
 
 # Check args
 syntax() if (scalar(@ARGV) != 1);
@@ -652,6 +652,24 @@ sub drxk {
     "$fwfile"
 }
 
+sub drxk_hauppauge_hvr930c {
+    my $url = "http://www.wintvcd.co.uk/drivers/";
+    my $zipfile = "HVR-9x0_5_10_325_28153_SIGNED.zip";
+    my $hash = "83ab82e7e9480ec8bf1ae0155ca63c88";
+    my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
+    my $drvfile = "HVR-900/emOEM.sys";
+    my $fwfile = "dvb-usb-hauppauge-930c-drxk.fw";
+
+    checkstandard();
+
+    wgetfile($zipfile, $url . $zipfile);
+    verify($zipfile, $hash);
+    unzip($zipfile, $tmpdir);
+    extract("$tmpdir/$drvfile", 0x117b0, 0xA6C0, "$fwfile");
+
+    "$fwfile"
+}
+
 sub drxk_terratec_h5 {
     my $url = "http://www.linuxtv.org/downloads/firmware/";
     my $hash = "19000dada8e2741162ccc50cc91fa7f1";

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-17 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 20:44 PATCH add drx firmware extraction routine for hauppauge 930c Eddi De Pieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).