[linux-dvb] T200 Remote Oddities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux