[linux-dvb] T200 Remote Oddities

Jon Burgess jburgess at uklinux.net
Thu Nov 3 20:32:34 CET 2005

Ben Griffiths wrote:
> On Sunday 30 October 2005 23:11, Jon Burgess wrote:
> I'm running SuSE 9.1 with vanilla 2.6.12 and self compiled lirc 0.7.2. 
> I think the issue is the iteraction between mythbackend and lirc (but I have 
> no idea why mythbackend would be talking to lirc). I don't have the problem 
> if I don't load mythbackend - the remote works fine. So I shall go and post 
> on the mythtv list.
> Ben

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

If the ioctl() call is missing then it is probably the cause of the 
duplicates. This is probably because you are missing EVIOCGRAB from 
/usr/include/linux/input.h. It should contain the following line:

#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */


More information about the linux-dvb mailing list