'''Attention Mythbuntu 9.04 users:''' This card should actually work with this version of Mythbuntu out of the box. However, the installed firmware seems to be buggy so it is necessary to install the Firmware v1.20.79.0 following the steps above.

===Drivers===

===Drivers===

Line 148:

Line 198:

It supports DVB-T, DVB-S/S2, analogue TV, A/V capture and FM radio. If you have

It supports DVB-T, DVB-S/S2, analogue TV, A/V capture and FM radio. If you have

the kernel 2.6.28 (or later) you do not need to install a driver yourself.

the kernel 2.6.28 (or later) you do not need to install a driver yourself.

Mythbuntu 9.04 users

Attention Mythbuntu 9.04 users: This card should actually work with this version of Mythbuntu out of the box. However, the installed firmware seems to be buggy so it is necessary to install the Firmware v1.20.79.0 following the steps above.

Drivers

Note: If someone wants to provide a brief synopsis of the driver tale of woe, outlining why it took so
long then do so here ... or just read here

Ubuntu Hardy users should read the note about the sound driver (cx88_alsa) below.

Kernel / v4l-dvb driver

There is a complete driver for this card in the Linux kernel since version 2.6.28.
It supports DVB-T, DVB-S/S2, analogue TV, A/V capture and FM radio. If you have
the kernel 2.6.28 (or later) you do not need to install a driver yourself.

For developers, or those who need to use a kernel earlier than 2.6.28, a development
version of the driver is available in the v4l-dvb repository of the
LinuxTV project (the ususal route to merging improvements into the kernel).

Multiple frontends are supported: DVB-S/S2 and DVB-T appear as /dev/dvb/adapterN/frontend0 and /dev/dvb/adapterN/frontend1 respectively.

Due to a hardware limitation, the two frontends cannot be used simultaneously. However they
can be used sequentially within the same application. The driver handles the mutual exclusion
appropriately.

DVB-T and DVB-S are supported within API v3.2 (or the new API v5.0) and so it is
compatible with current applications. DVB-S2 is accessed through API v5.0, also known as S2API, which was released in kernel 2.6.28.

Command-line scanning for channels can be done with scan-s2. Tuning DVB-S and DVB-S2 channels can be
done with szap-s2 :

Kaffeine handles multiple frontends well without modification -- they appear in the DVB settings as "DVB Device 0:0" (=/dev/dvb/adapter0/frontend0, i.e. DVB-S/S2) and "DVB Device 0:1" (=/dev/dvb/adapter0/frontend1, i.e. DVB-T). Both devices can be configured and tuned in the application, and Kaffeine will switch to the correct one each time
you change the channel. DiSEqC 1.2 is supported too. Kaffeine will display HDTV delivered over DVB-S2 or DVB-S, e.g. BBC HD, see Kaffeine.

Sound driver

Alsa driver: cx88_alsa.

To make sure the sound card in the HVR-4000 does not grab card index 0 (instead of your
motherboard or discrete sound card) add the following to /etc/modprobe.d/alsa-base (or wherever
your distro sets alsa kernel module options):

Note: the Ubuntu Hardy kernel (2.6.24) has a separate Ubuntu version of the cx88_alsa module
which causes problems if you compile your own drivers (modprobe cx88_alsa gives
'cx88_alsa: disagrees about version of symbol' errors). Upgrade the kernel to one
which uses a stock cx88_alsa module and then compile and install the HVR4000 driver. See http://www.howtoforge.com/kernel_compilation_ubuntu.

Analogue TV and Teletext Receiver

Does anyone have any info about Linux support?

Note: I have latest http://linuxtv.org/hg/v4l-dvb with mythtv working with analogue TV. You add it as a normal V4L capture card in mythtv. You need this patch to make inital tuning (When you press "Watch TV") in mythtv work: http://svn.mythtv.org/trac/ticket/5744, without it you need to change channel before you see picture instead of snow. Scanning for channels also works. Set audiorate to 48000 to get good sound (in capturecard setup and also in playback groups).
Anders 11:40, 26 September 2008 (CEST)