From: Michael M. <mic...@gm...> - 2006-07-10 17:02:23
|
Scott Brown wrote: > Works perfectly under windows - but I would like to use it on linux. When I > plug it in the device manage in Ubuntu says its recognised it as a xpad and > loaded the appropriate driver. As far as I understand from a bit of googling, it should show up in /proc/bus/input/devices (send the output of "cat /proc/bus/input/devices" if you are unsure). > Lirc is installed but will not work with the hardware. Probably it's not yet configured. There's a lircd.conf file for the input layer in <http://linux.bytesex.org/v4l2/linux-input-layer-lircd.conf> - download that file and name it /etc/lirc/lircd.conf A working hardware.conf file for Ubuntu: # /etc/lirc/hardware.conf # # Arguments which will be used when launching lircd LIRCD_ARGS="" #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=evdev # Run "lircd --driver=help" for a list of supported drivers. DRIVER="dev/input" # If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be # automatically used instead DEVICE="/dev/input/eventX" MODULES="lirc_dev evdev" # Default configuration files for your hardware if any LIRCD_CONF="/etc/lirc/lircd.conf" LIRCMD_CONF="" ########### end of /etc/lirc/hardware.conf ########### Instead of DEVICE="/dev/input/eventX" use the correct event device (see the output of "cat /proc/bus/input/devices"). Now /etc/init.d/lirc start should work and you should see some output if you start "irw". Regards... Michael |