[mythtv-users] LIRC confusion

Michael T. Dean mtdean at thirdcontact.com
Tue Jul 18 20:07:00 UTC 2006


On 07/18/2006 09:18 AM, Preston Crow wrote:

>I'm running LIRC with the PVR-250 remote.
>
>Here's the problem:  I have my /etc/lircd.conf and ~/.mythtv/lircrc set
>up correctly, and it mostly works.  However, it seems that there's also
>in-kernel support for this remote that is sending keystrokes.  Pressing
>a button on my remote not only sends the signal to lirc, but also causes
>a key-press to be sent to the active window.  The key-presses even show
>up if lircd is stopped and the modules are unloaded.
>
>In /var/log/messages:
>
>Jul 17 20:26:59 myth i2c IR (Hauppauge): unknown key: key=0x38 raw=0x3ff8 down=1
>Jul 17 20:26:59 myth i2c IR (Hauppauge): unknown key: key=0x38 raw=0x3ff8 down=0
>
>In /proc/bus/input/handlers:
>
>I: Bus=0018 Vendor=0000 Product=0000 Version=0000
>N: Name="i2c IR (Hauppauge)"
>P: Phys=i2c-4/4-0018/ir0
>S: Sysfs=/class/input/input2
>H: Handlers=kbd event2 
>B: EV=100003
>B: KEY=c0010 2010804 0 0 0 3 200a000 180 4801 9e0000 7bb80 0 0
>
>
>While I like the idea of not having to use lirc, the in-kernel support
>can't be configured per-application, so it won't work right with xine
>and mplayer, so I need to disable the in-kernel version.  I'm running
>2.6.15.4, and I don't see any obvious config options to stop parsing IR
>signals as a keyboard input.
>

Blacklist the kernel's keyboard module for the remote (probably 
ir_kbd_i2c) to prevent it from loading and enjoy.  (Search for "udev 
blacklist" (no quotes) and your distro's name for details.)

Mike


More information about the mythtv-users mailing list