On Thursday 03 November 2005 20:40, Jon Burgess wrote: > Ben Griffiths wrote: > > On Thursday 03 November 2005 19:32, Jon Burgess wrote: > >>Ben Griffiths wrote: > >>Could you try checking the ioctls by using strace on the lircd. You > >>should see the following amongst the output: > >>... > >>open("/dev/input/event1", O_RDONLY) = 7 > >>ioctl(7, EVIOCGRAB, 0x1) = 0 > > > > I can't see this. Here's the output of the strace. > > > > marty:/etc/init.d # strace lircd -H dev/input -d /dev/input/event2 > > execve("/usr/sbin/lircd", ["lircd", "-H", "dev/input", "-d", > > "/dev/input/event2"], [/* 64 vars */]) = 0 > > Note that lircd only opens the /dev/input device when a client attaches > to the daemon (e.g. irw or mythfrontend). There is lots of output so I > think you should write the output to a file with "-o" and then search > the results. > > > I can however see this. > > > > #define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */ > > OK that is a good sign. As long as lirc was compiled with the header > file containing this line then it should be using it. > > Jon > > _______________________________________________ > > linux-dvb@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb Ok, I loaded up irw and found the following lines in the output, 014 time([1131054771]) = 1131054771 14014 write(5, "Nov 3 21:52:51 marty lircd 0.7."..., 68) = 68 14014 open("/dev/input/event2", O_RDONLY) = 7 14014 ioctl(7, 0x40044590, 0x1) = 0 Any ideas. Thanks, Ben