SBC-EC9100 User Manual
Embest Technology Co. Ltd
|
http://www.embest-tech.com
18
/dev/sda /dev/sda1
Storage nodes locate under /dev;
2.12.1.2
Keyboard
Connect USB Keyboard to the USB Host interface (J8), serial terminal will print as follows:
usb 2-1: new low-speed USB device number 3 using ci_hdrc
input: SIGMACH1P USB Keykoard as
/devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1:1.0/0003:1C4F:0002.0003/input/inp
ut4
hid-generic 0003:1C4F:0002.0003: input: USB HID v1.10 Keyboard [SIGMACH1P USB Keykoard] on
usb-ci_hdrc.1-1/input0
input: SIGMACH1P USB Keykoard as
/devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1:1.1/0003:1C4F:0002.0004/input/inp
ut5
hid-generic 0003:1C4F:0002.0004: input: USB HID v1.10 Device [SIGMACH1P USB Keykoard] on
usb-ci_hdrc.1-1/input1
Execute evtest command to test /dev/input/event2:
root@embest:~# evtest /dev/input/event2
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1c4f product 0x2 version 0x110
Input device name: "SIGMACH1P USB Keykoard"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 192 (KEY_F22)
Event code 193 (KEY_F23)
Event code 194 (KEY_F24)
Event code 240 (KEY_UNKNOWN)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)