From: Nick M. <kno...@gm...> - 2008-09-14 23:02:51
|
On 14/09/2008, Chris Grove <dj_...@ti...> wrote: > Hi again Nick, Right I've just tried what you suggested, and have come up > with this for the config: > > LIRC_DRIVER=dev/input > LIRC_DEVICE=/dev/input/mouse0 > LIRC_MODULES="lirc_mceusb2" > > And the response I've got is this: > > cat /var/log/lircd > Jun 22 08:02:54 geexbox lircd: lircd(all) ready > Jun 22 08:02:55 geexbox lircd: accepted new client on /dev/lircd > Jun 22 08:02:55 geexbox lircd: initializing '/dev/input/mouse0' > Jun 22 08:02:55 geexbox lircd: WARNING: can't get exclusive access to events > comming from `/dev/input/mouse0' interface > Jun 22 08:02:55 geexbox lircd: accepted new client on /dev/lircd Seems like something else is using /dev/input/mouse0. I don't think dev/input is the correct driver for this device though - see below (I could be wrong though :) ) > Now if I'm reading this right, that suggests all is well, now all I've got > to do is work out whether the lirc_module is getting and giving the right > inputs/outputs. If the device creates /dev/input events when detected or drivers are loaded, you can use the dev/input driver. If the device is supported by a specific LIRC module, it should create /dev/lirc entries when the driver is loaded. My apologies if this is a MCE-style USB receiver/blaster (I see you are loading the lirc_mceusb2 driver). Keyboards and other input devices (including IR receivers on some TV cards) typically create /dev/input devices, like /dev/input/event0. It should not matter if you do not have a keyboard connected to the machine, as long as the correct devices is specified. I do not have such a receiver, so I can't offer any speific advice, just the way 'most LIRC things work'. Do you have a /dev/lirc0 device created when the lirc_mceusb2 module is loaded with your original config using the default driver? # ls -l /dev/lirc* You should get a LIRC device(s) created when the module loads, typically /dev/lirc0 and a symlink to /dev/lirc. If these aren't getting created, you will have to determine why not. Any relevant syslog output pointing to LIRC? It could also be specific to your particular distributions configuration. Please keep the discussion on-list in case it can help other users. Nick -- Nick Morrott MythTV Official wiki: http://mythtv.org/wiki/ MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users "An investment in knowledge always pays the best interest." - Benjamin Franklin |