kybernatic n00b
Joined: 11 Jan 2015 Posts: 1
|
Posted: Sun Jan 11, 2015 2:16 am Post subject: Hauppauge WinTV HVR 5500 DVB-C working with unofficial patch |
|
|
Searched for a working configuration for Hauppauge WinTV HVR-5500 for DVB-C from time to time and got it to run yesterday, so i just want to report it.
My configuration is kernel 3.18.1, so some paths are relative to, i used a git clone for the si2165 fronted from linuxtv.
TV-Card Description:
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-5500
Patch:
https://patchwork.linuxtv.org/patch/25867/
Working configuration:
http://ubuntuforums.org/showthread.php?t=2244170
First, fetch the firmware for si2165.
Code: | cd -
mkdir get_dvb_firmware
cd get_dvb_firmware
/usr/src/linux-3.18.1-gentoo/Documentation/dvb/get_dvb_firmware si2165
sudo cp dvb-demod-si2165.fw /lib/firmware/
|
Second, fetch the actual media_build from linuxtv. Maybe you can try to patch the existing si2165.c from the local souce tree, but i can report, the following patch worked like a charm on the linuxtv repository.
The local source path is /usr/src/linux-3.18.1-gentoo/drivers/media/dvb-frontends/si2165.c.
Code: | cd -
git clone git://linuxtv.org/media_build.git
cd media_build
./build |
Get the inofficial patch (https://patchwork.linuxtv.org/patch/25867/) and name it (here si2165-HVR-5500.patch).
Code: | cd ~/media_build/linux
patch -p1 < si2165-HVR-5500.patch |
I copied ~media_build/v4l/si2165.c in my local kernel source tree (see above) and made a fresh kernel build.
You will have to have all necessary DVB options in .config enabled (checked/modular) for cx23885.
Because i2c is built-in kernel i had to reboot the new kernel, i could not modprobe -r all dvb_core dependend modules.
Switch the frontend to DVB-C:
Code: | sudo dvb-fe-tool --adapter=1 --frontend=0 --set-delsys=DVB-C |
Before:
Code: | dmesg | grep si2165
kernel: i2c i2c-2: si2165: Detected Silicon Labs Si2165-D (type 7, rev 3)
kernel: i2c i2c-2: si2165: DVB-C is not yet supported. |
After:
Code: | dmesg | grep si2165
kernel: i2c i2c-2: si2165: Detected Silicon Labs Si2165-D (type 7, rev 3)
kernel: i2c i2c-2: si2165: downloading firmware from file 'dvb-demod-si2165.fw' size=5768
kernel: i2c i2c-2: si2165: si2165_upload_firmware extracted patch_version=0x9a, block_count=0x27, crc_expected=0xcc0a
kernel: i2c i2c-2: si2165: fw load finished |
Code: | dmesg | grep cx23885
kernel: cx23885 driver version 0.0.4 loaded
kernel: CORE cx23885[0]: subsystem: 0070:c138, board: Hauppauge WinTV-HVR4400 [card=38,autodetected]
kernel: cx23885[0]: warning: unknown hauppauge model #121029
kernel: cx23885[0]: hauppauge eeprom: model=121029
kernel: cx23885[0]: registered device video0 [v4l2]
kernel: cx23885[0]: registered device vbi0
kernel: cx23885[0]: registered ALSA audio device
kernel: cx23885_dvb_register() allocating 1 frontend(s)
kernel: cx23885[0]: cx23885 based dvb card
kernel: DVB: registering new adapter (cx23885[0])
kernel: cx23885 0000:05:00.0: DVB: registering adapter 0 frontend 0 (NXP TDA10071)...
kernel: cx23885_dvb_register() allocating 1 frontend(s)
kernel: cx23885[0]: cx23885 based dvb card
kernel: DVB: registering new adapter (cx23885[0])
kernel: cx23885 0000:05:00.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2165 DVB-T DVB-C)...
kernel: cx23885_dev_checkrevision() Hardware revision = 0xd0
kernel: cx23885[0]/0: found at 0000:05:00.0, rev: 4, irq: 18, latency: 0, mmio: 0xfe800000 |
Enjoy your local tv program. |
|