OK, plug in the remote controls USB dongle then do a
dmesg |grep hiddev
and you should see the device as - /dev/usb/hiddev0 or /dev/hiddev0
and we can check if we get an output from it using,
$ cat /dev/usb/hiddev0 (or $ cat /dev/hiddev0 alternatively)
if all is well we will get a stream of characters similar to below.
F F� F�� F� F�� F� F�� F� F�� F
Unfortinately the version of lirc in the breezy and dapper repositories is quite old and doesn't have the drivers for the dvico remote included, so we must do things the hard way for now.
First we must download the latest source from -
http://prdownloads.sourceforge.net/lirc/lirc-0.8.0.tar.bz2
now make our directory
$ sudo mkdir /usr/src/lirc
Uncompress lirc -
$ sudo tar xvjf lirc-0.8.0.tar.bz2 /usr/src/lirc
Check you have the “build-essential” and “dialog” packages installed through synaptic or we will not succeed.
then run
# ./setup.sh
from the lirc-0.8.0 folder (a quick ls will indicate if you are in the correct directory).
Now a little applet will run where we can add our settings. Pick the first menu item to configure the driver, pick USB device, then the DVICO FusionHDTV USB Remote. Back at the main menu click the second option to check the software configuration and Leave the X-Windows tools as the selected option. Back at the main menu select the third option to save the new configuration and to run configure. After this we should be spat back out to the command line after a bunch of checks with instructions to run 'make' and 'make install'.
run
# make
then run
# sudo make install
now we copy the remote control code into the lircd.conf file
# sudo cp /usr/src/lirc/lirc-0.8.0/remotes/dvico/lircd.conf.fusionHDTV /etc/lircd.conf
at first my make install didnt work so i had to install the “build-essential” package as stated above.
To test that everything is working, plug in the USB receiver and do a 'dmesg |grep hiddev' to make sure it's been found. Run lircd and check that the remote is being picked up:
# /usr/local/sbin/lircd --driver=dvico --device=/dev/hiddev0
now if all is well we can test the remote through irw
# irw
Point your remote at the receiver, press some buttons and you should see some action on the screen. Once you're happy your remote works, press CTRL-C to exit irw.
First make a symlink to irxevent from user/Desktop/Autostart/
and then add the line
/usr/sbin/lircd --driver=dvico –device=/dev/hiddev0”
to the /etc/modules file to load module at boottime.
Mythtv needs a config file to interpret the irxevent actions, the following file http://www.users.on.net/~jani/lircrc.example.DVICO-irxevent from janis website works well, and needs to be placed in the /home/~/dir.
$ wget http://www.users.on.net/~jani/lircrc.example.DVICO-irxevent
$ mv lircrc.example.DVICO-irxevent ~/.lircrc
so now after a quick reboot we should be able to navigate round in mythtv with our dvico remote!
some sources for this guide included