Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

USB Keyboard. How to start? (no replies)

$
0
0
Hi,

I have Debian 3.17 on my Pogo V3 (oxnas.) and a simple USB keyboard attached.

But there is no /dev/input/eventX only mice exists...
root@p24:~# ls /dev/input/
.  ..  mice

The USB keyboard recognised by linux:
root@p24:~# cat /proc/bus/input/devices

I: Bus=0003 Vendor=1241 Product=1503 Version=0110
N: Name="  USB Keyboard"
P: Phys=usb-40200100.ehci-1.4/input0
S: Sysfs=/devices/40200100.ehci/usb1/1-1/1-1.4/1-1.4:1.0/0003:1241:1503.0002/input/input1
U: Uniq=
H: Handlers=kbd 
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=1241 Product=1503 Version=0110
N: Name="  USB Keyboard"
P: Phys=usb-40200100.ehci-1.4/input1
S: Sysfs=/devices/40200100.ehci/usb1/1-1/1-1.4/1-1.4:1.1/0003:1241:1503.0003/input/input2
U: Uniq=
H: Handlers=kbd 
B: PROP=0
B: EV=13
B: KEY=2000000 39fa d941d001 1e0000 0 0 0
B: MSC=10

root@p24:~#

BUT there is no /dev/input/ device for keyboard.

Any tip to have keyboard events?
I want to capture keyboard presses to shut down properly, skip next song in playlist, etc...

Regards,
Robert

Viewing all articles
Browse latest Browse all 3247

Trending Articles