From: Nick M. <kno...@gm...> - 2011-03-09 07:13:23
|
On 8 March 2011 19:03, Zannyuk <zan...@nt...> wrote: <snip Jarod's useful discourse on identifying the remote device if it doesn't get listed in /dev/input/by-id> > I feel we are getting close, that seems to work plus I now know its event5. > But if i type "irw" and press buttons on remote nothing shows. > > If I attempt a irrecord myremote.conf I get this error > > irrecord - application for recording IR-codes for usage with lirc > > Copyright (C) 1998,1999 Christoph Bartelmus(li...@ba...) > > irrecord: could not get file information for /dev/lirc > irrecord: default_init(): No such file or directory > irrecord: could not init hardware (lircd running ? --> close it, check > permissions) > > So im at a loss, is it still a setup problem or should irw now be showing > something even though irrecord errors???? You are starting irrecord without specifying the correct device or driver to use. By default irrecord will look for /dev/lirc (reported in the error log, and which I suppose could be created as a symlink to the actual /dev/input/eventX device). Start irrecord as: $ irrecord --driver=devinput --device=/dev/input/event5 myremote.conf and see whether you can now successfully record your remote. You may want to run $ irrecord --list-namespace beforehand in order to determine the "propoer" LIRC button names to use in your config file. If you want to ignore the namespace checks, add "--disable-namespace" to the above command to record your config. I also suggest reading the LIRC documentation [1] to understand how it pieces together - i.e. you need lircd running in order for irw to work, but you do _not_ want lircd running when trying to record your remote config with irrecord. [1] http://lirc.org/html/index.html Cheers, 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 |