Carte Hauppauge HVR-1110 TV-DVB
Cette page n'est pas encore traduite (ou pas complètement) Cet article a besoin d'être traduit. Merci de participer au travail si vous en avez le temps et la compétence. |
Sommaire
How to install a Hauppauge HVR-1110 analog TV and DVB card
The first part of this howto (building the drivers) applies to opensuse 10.2 and lower. The Hauppauge HVR-1110 is sometimes sold packaged as a HVR-1100, but while the HVR-1100 has a rectangular shape, the HVR-1110 is triangular. The HVR-1110 is not autodetected by the 2.6.18 kernel included in opensuse 10.2, although later kernels do autodetect it. So, you have two options, install a new kernel or build and install new DVB/V4L modules, which is not straightforward in opensuse 10.2 (the build fails).
Build new DVB/V4L drivers
- Download the sources from LinuxTV archive
- Now, before building the modules, the /lib/modules/_kernel_version_/build/include directory needs to point to the linux sources include:
cd /lib/modules/_kernel_version_/build mv include include.bak ln -s /usr/src/linux/include
- Untar the sources, cd to the sources directory, and build the drivers
cd v4l && make && make install (as root)
- If you wish you can restore the /lib/modules/_kernel_version_/build/include directory
Install the card's firmware
The firmware file is dvb-fe-tda10046.fw and should be copied in /lib/firmware Mandrake seems to have a suitable rpm package in their plf repository (see [1])
Using the card
Loading the saa7134 kernel module will load the saa7134-dvb too. To have sound the saa7134-alsa module must be loaded too.
After loading the saa7134 module the keyboard may become stuck for a few seconds.
The dmesg output is something like:
saa7130/34: v4l2 driver version 0.2.14 loaded ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [LNK4] -> GSI 10 (level, low) -> IRQ 10 saa7133[0]: found at 0000:01:07.0, rev: 209, irq: 10, latency: 32, mmio: 0xe6000000 saa7133[0]: subsystem: 0070:6701, board: Hauppauge WinTV-HVR1110 DVB-T/Hybrid [card=104,autodetected] saa7133[0]: board init: gpio is 6400000 input: HVR 1110 as /class/input/input3 ir-kbd-i2c: HVR 1110 detected at i2c-2/2-0071/ir0 [saa7133[0]] saa7133[0]: i2c eeprom 00: 70 00 01 67 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 saa7133[0]: i2c eeprom 10: ff ff ff 0e ff 20 ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 33 88 ff 00 aa ff ff ff ff saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 60 ff ff ff ff ff ff saa7133[0]: i2c eeprom 50: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 saa7133[0]: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 saa7133[0]: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tuner 2-004b: chip found @ 0x96 (saa7133[0]) tda8290 2-004b: setting tuner address to 61 tuner 2-004b: type set to tda8290+75a saa7133[0]: registered device video0 [v4l2] saa7133[0]: registered device vbi0 saa7133[0]: registered device radio0 DVB: registering new adapter (saa7133[0]) DVB: registering frontend 0 (Philips TDA10046H DVB-T)... tda1004x: setting up plls for 48MHz sampling clock tda1004x: timeout waiting for DSP ready tda1004x: found firmware revision 0 -- invalid tda1004x: trying to boot from eeprom tda1004x: timeout waiting for DSP ready tda1004x: found firmware revision 0 -- invalid tda1004x: waiting for firmware upload... tda1004x: found firmware revision 20 -- ok saa7134 ALSA driver for DMA sound loaded saa7133[0]/alsa: saa7133[0] at 0xe6000000 irq 10 registered as card -1
Once all needed modules have been loaded the card can be used, both analog tv/radio and dvb. If you use an analog tv app like kdetv/xdtv/tvtime, you'll have image but no sound. To have sound you'll have to redirect the sound stream from the card's alsa device to the soundcard's device using sox:
sox -r 16000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp
Same for analog radio.
For dvb you'll use an application like kaffeine, so the 'sox' trick will not be needed. mplayer can be used for both analog tv and dvb, not needing to use sox for sound.
mplayer -tv driver=v4l2:norm=PAL:chanlist=<chanlist_file>:alsa:adevice=hw.1:\ audiorate=16000:immediatemode=0:forceaudio:amode=1 tv:// mplayer -tv alsa:adevice=hw.1:audiorate=16000:immediatemode=0:forceaudio:amode=1 dvb://<Channel>