[linux-dvb] T200 Remote Oddities
b.tgriff at tiscali.co.uk
Thu Nov 3 22:56:19 CET 2005
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.
> linux-dvb mailing list
> linux-dvb at linuxtv.org
Ok, I loaded up irw and found the following lines in the output,
014 time() = 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
More information about the linux-dvb