2009-11-09, 15:21
Hi all,
Last week I bought myself a Cyberlink Remote control + USB receiver. After searching the net for some tutorials on how to use this on Ubuntu 9.10 + XBMC 9.11 Alpha I came to the conclusion this wouldn’t be easy. For this reason I’m posting this howto for all the other people who will have the same problem.
Since kernel 2.6.29 there is a driver build into the kernel for this remote (with is handy )
Step one - Install Lirc:
Step two - Configure lirc /dev/input/eventX
After installing lirc it will ask you for the type of remote. The cyberlink is not in the list so I just selected a “hauppauge nova-t 500” and as device I selected /dev/input/eventX where X is the mouse and keybord combination device detected in linux when the cyberlink remote in plugged in.
To get the device number type:
If you want to see all the devices type:
Step four – Overwrite default config:
Ok so now we know which device we need to use.
Because we selected the “hauppauge nova-t 500” remote lirc has configured some stuff for us. This we need to overwrite with the configuration I found on the internet.
Type:
Enter you root password.
Overwrite the file with this code and replase the X in (REMOTE_DEVICE="/dev/input/eventX") with your event number:
Save this file.
see second post for the rest
Last week I bought myself a Cyberlink Remote control + USB receiver. After searching the net for some tutorials on how to use this on Ubuntu 9.10 + XBMC 9.11 Alpha I came to the conclusion this wouldn’t be easy. For this reason I’m posting this howto for all the other people who will have the same problem.
Since kernel 2.6.29 there is a driver build into the kernel for this remote (with is handy )
Step one - Install Lirc:
Code:
sudo apt-get install lirc
Step two - Configure lirc /dev/input/eventX
After installing lirc it will ask you for the type of remote. The cyberlink is not in the list so I just selected a “hauppauge nova-t 500” and as device I selected /dev/input/eventX where X is the mouse and keybord combination device detected in linux when the cyberlink remote in plugged in.
To get the device number type:
Code:
grep -l 'TopSeed' /sys/class/input/input*/name | tail -n1
If you want to see all the devices type:
Code:
cat /proc/bus/input/devices
Step four – Overwrite default config:
Ok so now we know which device we need to use.
Because we selected the “hauppauge nova-t 500” remote lirc has configured some stuff for us. This we need to overwrite with the configuration I found on the internet.
Type:
Code:
Sudo gedit /etc/lirc/hardware.conf
Enter you root password.
Overwrite the file with this code and replase the X in (REMOTE_DEVICE="/dev/input/eventX") with your event number:
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="CYBERLINK"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/eventX" # ENTER YOU EVENT NR HERE !!!!!!!!!!!!!!!!
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS="--device=`grep -l 'TopSeed' /sys/class/input/input*/name | tail -n1 | sed -e s'|/name||' | sed -e s'|sys/class/input/input|dev/input/event|'` --driver=dev/input"
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Save this file.
see second post for the rest