Lenovo KU-1255 + Raspberry Pi Zero W + Raspberry Pi OS buster ============================================================= * event0 : keyboard * event1 : mouse (trackpoint) - - - ``` $ ls -alF /dev/input/ 合計 0 drwxr-xr-x 4 root root 240 2月 27 19:35 ./ drwxr-xr-x 17 root root 3660 2月 27 19:35 ../ drwxr-xr-x 2 root root 140 2月 27 19:35 by-id/ drwxr-xr-x 2 root root 120 2月 27 19:35 by-path/ crw-rw---- 1 root input 13, 64 2月 27 19:35 event0 crw-rw---- 1 root input 13, 65 2月 27 19:35 event1 crw-rw---- 1 root input 13, 66 2月 27 19:35 event2 crw-rw---- 1 root input 13, 67 2月 27 19:35 event3 crw-rw---- 1 root input 13, 68 2月 27 19:35 event4 crw-rw---- 1 root input 13, 69 2月 27 19:35 event5 crw-rw---- 1 root input 13, 63 2月 26 09:28 mice crw-rw---- 1 root input 13, 32 2月 27 19:35 mouse0 $ ls -alF /dev/input/by-id/ 合計 0 drwxr-xr-x 2 root root 140 2月 27 19:35 ./ drwxr-xr-x 4 root root 240 2月 27 19:35 ../ lrwxrwxrwx 1 root root 9 2月 27 19:35 usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-if01 -> ../event5 lrwxrwxrwx 1 root root 9 2月 27 19:35 usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 2月 27 19:35 usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-if01-event-mouse -> ../event1 lrwxrwxrwx 1 root root 9 2月 27 19:35 usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-if01-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 2月 26 09:29 usb-Logitech_USB_Receiver-event-if01 -> ../event2 $ ls -alF /dev/input/by-path/ 合計 0 drwxr-xr-x 2 root root 120 2月 27 19:35 ./ drwxr-xr-x 4 root root 240 2月 27 19:35 ../ lrwxrwxrwx 1 root root 9 2月 27 19:35 platform-20980000.usb-usb-0:1.1:1.0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 2月 27 19:35 platform-20980000.usb-usb-0:1.1:1.1-event -> ../event5 lrwxrwxrwx 1 root root 9 2月 27 19:35 platform-20980000.usb-usb-0:1.1:1.1-event-mouse -> ../event1 lrwxrwxrwx 1 root root 9 2月 27 19:35 platform-20980000.usb-usb-0:1.1:1.1-mouse -> ../mouse0 $ cat /proc/bus/input/devices I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint" P: Phys=usb-20980000.usb-1.1/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:17EF:6047.0005/input/input13 U: Uniq= H: Handlers=sysrq kbd leds event0 B: PROP=0 B: EV=120013 B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=1f I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint Mouse" P: Phys=usb-20980000.usb-1.1/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:17EF:6047.0006/input/input14 U: Uniq= H: Handlers=mouse0 event1 B: PROP=0 B: EV=17 B: KEY=1f0000 0 0 0 0 0 0 0 0 B: REL=1943 B: MSC=10 I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint Consumer Control" P: Phys=usb-20980000.usb-1.1/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:17EF:6047.0006/input/input15 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=1f B: KEY=300ff 0 0 0 0 483ffff 17aff32d bfd44446 0 0 1 130c73 b17c000 267bfa d9415fed 9e1680 4400 0 10000002 B: REL=1040 B: ABS=1 0 B: MSC=10 I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint" P: Phys=usb-20980000.usb-1.1/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:17EF:6047.0006/input/input16 U: Uniq= H: Handlers=event3 B: PROP=0 B: EV=9 B: ABS=100 0 I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint" P: Phys=usb-20980000.usb-1.1/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:17EF:6047.0006/input/input17 U: Uniq= H: Handlers=event4 B: PROP=0 B: EV=13 B: KEY=1 0 0 0 0 0 0 0 0 B: MSC=10 I: Bus=0003 Vendor=17ef Product=6047 Version=0100 N: Name="Lenovo ThinkPad Compact USB Keyboard with TrackPoint" P: Phys=usb-20980000.usb-1.1/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:17EF:6047.0006/input/input18 U: Uniq= H: Handlers=event5 B: PROP=0 B: EV=9 B: ABS=100 0 ``` ``` > python evdump.py Please input, hexadecimal or 'exit' EV=120013 -> EV_SYN EV_KEY EV_MSC EV_LED EV_REP EV=17 -> EV_SYN EV_KEY EV_REL EV_MSC EV=1f -> EV_SYN EV_KEY EV_REL EV_ABS EV_MSC EV=9 -> EV_SYN EV_ABS EV=13 -> EV_SYN EV_KEY EV_MSC EV=9 -> EV_SYN EV_ABS ```