Joe of Loath |
11-10-2013 03:54 PM |
Remote with DVB tuner - keypresses show up in evtest but not showkey
Trying to get an IR remote as part of a DVB tuner (avermedia a835) to control my music (I don't care about the TV part). I'm running Kubuntu 13.10 on a Thinkpad T400.
It shows up in lsusb fine
Code:
Bus 001 Device 017: ID 07ca:a835 AVerMedia Technologies, Inc.
And in /proc/bus/input/devices
Code:
I: Bus=0003 Vendor=07ca Product=a835 Version=0203
N: Name="AVerMedia AVerTV Volar HD/PRO (A835)"
P: Phys=usb-0000:00:1a.7-1/ir0
S: Sysfs=/devices/pci0000:00/0000:00:1a.7/usb1/1-1/rc/rc3/input20
U: Uniq=
H: Handlers=kbd event16
B: PROP=0
B: EV=100013
B: KEY=1000000 0 0
B: MSC=10
And in evtest
Code:
/dev/input/event16: AVerMedia AVerTV Volar HD/PRO (A835)
Select the device event number [0-16]: 16
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x7ca product 0xa835 version 0x203
Input device name: "AVerMedia AVerTV Volar HD/PRO (A835)"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 152 (KEY_SCREENLOCK)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Property type 20 (EV_REP)
Property code 0 (REP_DELAY)
Value 500
Property code 1 (REP_PERIOD)
Value 125
Testing ... (interrupt to exit)
Event: time 1384113890.257478, type 4 (EV_MSC), code 4 (MSC_SCAN), value 516
Event: time 1384113890.257478, -------------- SYN_REPORT ------------
Event: time 1384113890.757480, type 4 (EV_MSC), code 4 (MSC_SCAN), value 516
Event: time 1384113890.757480, -------------- SYN_REPORT ------------
But when I run showkey -s, I don't get any scancodes.
Do I have to tell showkey where to look? Configure something to listen to event16 rather than my keyboard or whatever? What have I done wrong?
Thanks!
|