From: Mauro Carvalho Chehab <maurochehab@gmail.com>
To: Fredrik Lingvall <fredrik.lingvall@gmail.com>
Cc: Mihai Dobrescu <msdobrescu@gmail.com>, linux-media@vger.kernel.org
Subject: Re: Hauppauge HVR-930C problems
Date: Thu, 15 Dec 2011 07:54:28 -0200 [thread overview]
Message-ID: <4EE9C3D4.3080705@gmail.com> (raw)
In-Reply-To: <4EE9AA21.1060101@gmail.com>
On 15-12-2011 06:04, Fredrik Lingvall wrote:
> On 12/14/11 17:33, Mihai Dobrescu wrote:
>> Hello,
>>
>> I need to make my tunner working too.
>> Did you make it work?
>> Where did you get the firmware (dvb-usb-hauppauge-hvr930c-drxk.fw)?
>> I have Sabayon 7 64 bit, which is sort of Gentoo, as I've seen you have.
>>
>> Thank you.
> Hi Mihai,
>
> There is a perl script get_dvb_firmware that downloads the firmware and extract it (from the Windows driver I think). You need a version of get_dvb_firmware where this has been added:
>
> +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-hvr930c-drxk.fw";
> +
> + checkstandard();
> +
> + wgetfile($zipfile, $url . $zipfile);
> + verify($zipfile, $hash);
> + unzip($zipfile, $tmpdir);
> + extract("$tmpdir/$drvfile", 0x117b0, 42692, "$fwfile");
> +
> + "$fwfile"
> +}
> +
>
> Do a git checkout of the linux-media tree to get it (I think).
>
> Also, before I found the perl script I did it "manually" using:
>
> 1)
>
> wget http://www.wintvcd.co.uk/drivers/HVR-9x0_5_10_325_28153_SIGNED.zip
>
> 2) unzip it
>
> 3) extact it with dd [0x117b (hex) = 71600 (dec)]:
>
> dd if=HVR-900/emOEM.sys of=dvb-usb-hauppauge-hvr930c-drxk.fw bs=1 skip=71600 count=42692
This is basically what the script does, with one difference:
it will double check if the extracted binary blob is really a firmware,
by comparing it with a known hash value. This way, if the driver there gots
updated, the script will fail, instead of writing some random values to a
.fw file.
>
> 4) copy it to the firmware dir
>
> cp dvb-usb-hauppauge-hvr930c-drxk.fw /lib/firmware/'
>
> HTH
>
> /Fredrik
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-12-15 9:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CALJK-QhGrjC9K8CasrUJ-aisZh8U_4-O3uh_-dq6cNBWUx_4WA@mail.gmail.com>
2011-12-15 8:04 ` Hauppauge HVR-930C problems Fredrik Lingvall
2011-12-15 9:54 ` Mauro Carvalho Chehab [this message]
[not found] ` <CALJK-QjxDpC8Y_gPXeAJaT2si_pRREiuTW=T8CWSTxGprRhfkg@mail.gmail.com>
2011-12-16 8:20 ` Fredrik Lingvall
[not found] ` <CALJK-Qhpk7NtSezrft_6+4FZ7Y35k=41xrc6ebxf2DzEH6KCWw@mail.gmail.com>
[not found] ` <4EECB2C2.8050701@gmail.com>
2011-12-17 19:09 ` Mihai Dobrescu
[not found] ` <4EECE392.5080000@gmail.com>
[not found] ` <CALJK-QjChFbX7NH0qNhvaz=Hp8JfKENJMsLOsETiYO9ZyV_BOg@mail.gmail.com>
2011-12-17 19:59 ` Mihai Dobrescu
2011-12-18 9:20 ` Fredrik Lingvall
2011-12-25 15:56 ` Fredrik Lingvall
2012-01-10 14:42 ` Fredrik Lingvall
2012-01-10 19:30 ` Mihai Dobrescu
2012-01-10 19:41 ` Mauro Carvalho Chehab
2012-01-10 20:23 ` Mihai Dobrescu
2012-01-10 20:35 ` Mauro Carvalho Chehab
2012-01-11 5:28 ` Mihai Dobrescu
2012-01-11 10:53 ` Mauro Carvalho Chehab
2012-01-11 12:24 ` Fredrik Lingvall
2012-01-11 9:21 ` Fredrik Lingvall
2011-12-02 19:41 Fredrik Lingvall
2011-12-02 19:45 ` Devin Heitmueller
2011-12-05 23:37 ` Eddi De Pieri
2011-12-06 8:38 ` Fredrik Lingvall
2011-12-07 12:22 ` Mauro Carvalho Chehab
2011-12-07 12:56 ` Mauro Carvalho Chehab
2011-12-07 13:31 ` Fredrik Lingvall
2011-12-07 13:55 ` Mauro Carvalho Chehab
2011-12-07 14:25 ` Fredrik Lingvall
2011-12-07 14:54 ` Mauro Carvalho Chehab
2011-12-08 8:31 ` Fredrik Lingvall
2011-12-08 15:02 ` Mauro Carvalho Chehab
2011-12-10 13:43 ` Fredrik Lingvall
2011-12-10 16:02 ` Mauro Carvalho Chehab
2011-12-17 17:42 ` Fredrik Lingvall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EE9C3D4.3080705@gmail.com \
--to=maurochehab@gmail.com \
--cc=fredrik.lingvall@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=msdobrescu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.