i have successfully set up my RPi (2 B+) with Kodi on Raspian.
Now i have a USB-RFID-Reader connected and want read with a C-Script the Input from the RFID-Reader.
Code: Select all
cat /proc/bus/input/devices
I: Bus=0003 Vendor=08ff Product=0009 Version=0110
N: Name="USB Reader With Keyboard USB Reader With Keyboard"
P: Phys=usb-bcm2708_usb-1.3/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:08FF:0009.0003/input/input2
U: Uniq=FM8PU83-Ver0E-0000
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=e080ffdf 1cfffff ffffffff fffffffe
B: MSC=10
B: LED=1f
This is working fine...but if Kodi is started before my C-Script is running (and has exclusive rights on the Keyboard) Kodi gets exclusive Access to the keyboard...and i can not access it.
What can I do that Kodi ignores the keyboard?
Regards
Bismosa