You are not logged in.
I have got my IR remote to work with LIRC, but it seems that IR usb dongle is recognized also as a keyboard, and duplicates arrow presses.
For example irw gives following output:
000000037ff07be9 00 Play mceusb
000000037ff07be0 00 Down mceusb
^[[B000000037ff07be0 01 Down mceusb
^[[B000000037ff07be0 02 Down mceusb
^[[B
Archlinux LIRC Wiki has a section "Setup a HID device with lirc" which teaches how to use IR device which is recognized as a keyboard, but my device already works as IR remote and i do not need this duplicating behavior.
Is it somehow possible to block my usb device as HID keyboard without damaging the IR remote functionality?
Some info about my device, if it helps:
cat /proc/bus/input/devices
gives
...
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1934:0702)"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/virtual/rc/rc0/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=100013
B: KEY=fff 0 108fc326 217604100000000 0 300158000 419000100001 9e968000000000 10000000
B: MSC=10
...
From lsusb:
Bus 005 Device 003: ID 1934:0702 Feature Integration Technology Inc. (Fintek) Integrated Consumer Infrared Receiver/Transceiver
Last edited by mjones (2011-02-27 10:09:33)
Offline
Found the solution.
To block the unneeded keyboard functionality i added following snippet to file /etc/X11/xorg.conf.d/10-quirks.conf
Section "InputClass"
Identifier "Ignore IR remote as keyboard"
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver"
Option "Ignore" "on"
EndSection
There Identifier is just a descriptive name which i choosed myself and MachProduct is found from the output of the command
cat /proc/bus/input/devices
Now my IR remote works and doesn't give me duplicating keyboard events.
Life is good!
Offline