Mailing List Archive

Update on HVR 4000 and Linux (and Mythtv)
Just an Update on getting an HVR 4000 working under Linux/MythTV .
This is similar as my previous post, but have added a few things after I
have tuner and sound working. Also its a little bit like the previous
HVR4000 post made by someone else but no need to unload/load modules after

I am using the latest Kernel available ( Just make sure you have
ALSA and OSS Mixer/OSS PCM Enabled (so you can use ALSA and /dev/dsp* at the
same time). This is until Mythtv allow a ALSA device as input instead of
just OSS /dev/dspX

Download latest DVB/V4L Sources

hg clone

and apply this diff..

Also edit tveeprom.c after applying patch and change

{ TUNER_ABSENT, "Philips FMD1216MEX"},
{ TUNER_PHILIPS_FMD1216ME_MK3, "Philips FMD1216MEX"},

This allows the tuner to load in correctly at startup.

Make;make install as normal..

On debian edit /etc/modprobe.d/alsa-base

And add in
options cx88_alsa index=-2

So the Sound Device on the HVR4000 doesn't take over the index 0 of your
normal sound card

and then dd if=hcw88bda.sys of=dvb-fe-cx24116.fw skip=81768 bs=1 count=32522
and place in /usr/lib/hotplug/firmware/ (or alike on other distros)

So now reboot.. and you should get something in the logs like below. (dmesg)

You can use IR as normal using /usr/sbin/lircd --driver=dev/input
--device=/dev/input/event1 as normal and no problems at all with this. (make
up your own lircd and lircrc with irrecord etc)

Now under MythTV you can use up the DVB Interface as normal like all DVB-S
cards and it works. With the Analog TV Part add like normal but edit the
LiveTV settings and make sure its reading at 48000 Hz (as if you allow it to
auto the samplerate it will sound horrible. (I tried changing it in the
setup of the card and set to 48000 but this doesn't seem to se the correct

Now this should allow DVB-S and Analog TV to work at the same time, but due
to a BUG in the drivers so far.. it will only capture (Analog TV) at 320x240
at the moment (which doesn't look so good) (I'm working on that problem) and
the screen ratio is a little wrong.

DVB-T should work as well, but MythTV doesn't have support for multi
frontends at the moment so Mythtv won't see the DVB-T interface

Also tested under VLC with ..



Also tested with my existing Hauppauge Nova-S-Plus and they will work

There is no Radio Support in the kernel as of yet and DVB-S2 (is there
anything you can pick up via this format from NZ??)


cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
cx2388x alsa driver version 0.0.6 loaded
cx88[0]: subsystem: 0070:6902, board: Hauppauge WinTV-HVR4000
DVB-S/S2/T/Hybrid [card=58,autodetected]
cx88[0]: TV tuner type 63, Radio tuner type -1
cx88[0]: i2c init: enabling analog demod on HVR1300/4000 tuner
tveeprom 2-0050: Hauppauge model 69009, rev B2D3, serial# 2807241
tveeprom 2-0050: MAC address is 00-0D-FE-2A-D5-C9
tveeprom 2-0050: tuner model is Philips FMD1216MEX (idx 133, type 63)
tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
ATSC/DVB Digital (eeprom 0xf4)
tveeprom 2-0050: audio processor is CX882 (idx 33)
tveeprom 2-0050: decoder processor is CX882 (idx 25)
tveeprom 2-0050: has radio, has IR receiver, has no IR transmitter
cx88[0]: hauppauge eeprom: model=69009
input: cx88 IR (Hauppauge WinTV-HVR400 as /class/input/input1
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:04:09.2, rev: 5, irq: 21, latency: 32, mmio:
cx88[0]/0: found at 0000:04:09.0, rev: 5, irq: 21, latency: 32, mmio:
tuner 2-0043: chip found @ 0x86 (cx88[0])
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 2-0043: type set to tda9887
tuner 2-0061: chip found @ 0xc2 (cx88[0])
tuner-simple 2-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
tuner 2-0061: type set to Philips FMD1216ME M
tuner-simple 2-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
tuner 2-0061: type set to Philips FMD1216ME M
tuner 2-0063: chip found @ 0xc6 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 0070:6902, board: Hauppauge WinTV-HVR4000
DVB-S/S2/T/Hybrid [card=58]
cx88[0]/2: cx2388x based DVB/ATSC card
DVB: registering new adapter (cx88[0])
DVB: registering frontend 0 (Conexant CX24116/CX24118)...
cx24116_firmware_ondemand: Waiting for firmware upload
cx24116_firmware_ondemand: Waiting for firmware upload(2)...
cx24116_firmware_ondemand: Firmware upload complete

mythtvnz mailing list