Ubuntu 9.04 (Jaunty) and 9.10 (Karmic)

The video card now just works under Jaunty and Karmic, i.e., don't install drivers, firmware etc, but getting the remote working is still an effort.

Firstly check that the devices is found correctly by the kernel.

dmesg | grep IR-rec

You should see output that includes two lines like these

   input: IR-receiver inside an USB DVB receiver as /class/input/input6
   input: IR-receiver inside an USB DVB receiver as /class/input/input7 

The remote sends the keystrokes to the first device. The problem is these device names can change each time you boot (e.g., when add/remote another USB device). Add a udev rule to that dynamically links the first of these devices to a standard device name (/dev/input/irremote).

gksudo gedit /etc/udev/rules.d/60-symlinks.rules

then and add this rule and save

# This rule is for the Dvico Dual Digital 4 Rev 2. It has 2 IR modules
# identified, only the first of which is connected to the receiver.
# The KERNELS=="*-1" part of this rule makes sure that the first
# device is the one that gets the symlink.
KERNEL=="event*", \
    KERNELS=="*-1", \
    ATTRS{manufacturer}=="Dvico", \
    ATTRS{idVendor}=="0fe9", \
    ATTRS{idProduct}=="db98", \
    SYMLINK="input/irremote"

Reboot your machine and check that the link has been made:

ls -l /dev/input

you should see that /dev/input/irremote is linked to the first device. You can now quickly check that your remote is work by reading the raw data from the device.

sudo hex /dev/input/irremote

Each time you press the remote you will see some output.

To finish configuring the remote, you need to configure lircd and mythtv. I suggest you look at oobe-feisty's work.

Note: I got this working using a new Rev 2 card on Jaunty, however the system misses some of the keystrokes on the remote. About one in every 10.

Note

This information was written for ubuntu 7.10 (tested ok on 8.04). It will likely work for most distributions with a recent kernel. Later distributions may have these drivers pre-compiled. An updated HOWTO and forum including instructions for rev.2) is available at http://ubuntuforums.org/showthread.php?t=616103 . Much of the info was taken from http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/ and http://www.linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers - thanks to Chris Pascoe for making this work. I have tested this with a DViCO Dual Digital 4. According to the notes, this should also work for the FusionHDTV DVB-T Pro, the Dual Express, and the NANO. Other DViCO cards may already have support built into the distribution's kernel.

A new version of this card was released in early 2008 that has a different tuner chip attached. As of April 08 this version IS supported by the Linux DVB drivers.

Ubuntu 8.10

Intrepid Ibex has drivers for rev.1 of this card built into the kernel, so compiling the drivers is no longer necessary. However, you still need to download and install firmware - you need the xc3208-v27.fw as attached at this thread - untar this file and copy it into /lib/firmware

Earlier versions

Drivers

Install the necessary software:

sudo apt-get install mercurial linux-headers-generic build-essential

Obtain the latest v4l-dvb source code:

hg clone http://linuxtv.org/hg/v4l-dvb

Compile and install:

cd v4l-dvb
make
sudo make install

Depending on your kernel version, and features in the latest v4l-dvb tree, compiling may fail. I had to edit v4l-dvb/v4l/.myconfig to disable compiling the USB_STKWEBCAM module (i.e. change the line 'CONFIG_USB_STKWEBCAM := m' to 'CONFIG_USB_STKWEBCAM := n'). Try switching off compilation for any other modules which cause trouble.

Firmware

Download and install the firmware:

wget http://www.linuxtv.org/downloads/firmware/dvb-usb-bluebird-01.fw
wget http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/dvb-usb-bluebird-02.fw
wget http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/xc3028-dvico-au-01.fw
sudo cp *.fw /lib/firmware

That last file seems to be specific to Australia. If you're somewhere else, there may already be firmware present in /lib/firmware. Regardless you should try installing the first two and see what happens (and describe your results here)

Testing

Reboot the computer, and try it out. Typing 'lsusb' should should one or more DVICO devices (Even the pci cards use the usb drivers - lspci should only list a usb controller for the card in question). dmesg should also give some details on how things loaded.

There is more info testing at http://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device or you could just jump in the deep end and try out MythTV or whatever app you plan to use the most.

Remote

The remote can be used in one of two ways. Straight up, it will work much the same as a keyboard. Unfortunately, many of the buttons do not map nicely onto keyboard keys, and don't come up as events under X. So to make full use of it, you need to run lirc, and use the dev/input driver. You need to find which device the IR receiver is on - try looking in /dev/input/by-path/ for something like pci-*-*--event-ir and seeing where the symlink points to - that should be the correct device. Further configuration details and sample configurations for the remote can be found at http://users.tpg.com.au/pokerrat/dvico_tutorial.tar.gz (2009-09-05: this link is broken, and has been for several months)


CategoryHardware

DViCO_Dual_Digital_4 (last edited 2009-11-09 06:21:36 by Kevin McIsaac)