BUFFALO BSKBW03WH + Logicool VX Nano + Raspberry Pi Zero W + Raspberry Pi OS buster =================================================================================== * event0 : keyboard * event4 : mouse - - - ``` $ ls -alF /dev/input/ 合計 0 drwxr-xr-x 4 root root 260 2月 27 20:13 ./ drwxr-xr-x 17 root root 3720 2月 27 20:13 ../ drwxr-xr-x 2 root root 180 2月 27 20:13 by-id/ drwxr-xr-x 2 root root 180 2月 27 20:13 by-path/ crw-rw---- 1 root input 13, 64 2月 27 20:13 event0 crw-rw---- 1 root input 13, 65 2月 27 20:13 event1 crw-rw---- 1 root input 13, 66 2月 27 20:13 event2 crw-rw---- 1 root input 13, 67 2月 27 20:13 event3 crw-rw---- 1 root input 13, 68 2月 27 20:13 event4 crw-rw---- 1 root input 13, 69 2月 27 20:13 event5 crw-rw---- 1 root input 13, 63 2月 26 09:28 mice crw-rw---- 1 root input 13, 32 2月 27 20:13 mouse0 crw-rw---- 1 root input 13, 33 2月 27 20:13 mouse1 $ ls -alF /dev/input/by-id/ 合計 0 drwxr-xr-x 2 root root 180 2月 27 20:13 ./ drwxr-xr-x 4 root root 260 2月 27 20:13 ../ lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-JME_RF_Receiver-event-if02 -> ../event2 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-JME_RF_Receiver-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-JME_RF_Receiver-if01-event-mouse -> ../event1 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-JME_RF_Receiver-if01-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-Logitech_USB_Receiver-event-if01 -> ../event5 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-Logitech_USB_Receiver-event-mouse -> ../event4 lrwxrwxrwx 1 root root 9 2月 27 20:13 usb-Logitech_USB_Receiver-mouse -> ../mouse1 $ ls -alF /dev/input/by-path/ 合計 0 drwxr-xr-x 2 root root 180 2月 27 20:13 ./ drwxr-xr-x 4 root root 260 2月 27 20:13 ../ lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.1:1.0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.1:1.1-event-mouse -> ../event1 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.1:1.1-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.1:1.2-event -> ../event2 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.2:1.0-event-mouse -> ../event4 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.2:1.0-mouse -> ../mouse1 lrwxrwxrwx 1 root root 9 2月 27 20:13 platform-20980000.usb-usb-0:1.2:1.1-event -> ../event5 $ cat /proc/bus/input/devices I: Bus=0003 Vendor=05af Product=3063 Version=0110 N: Name="JME RF Receiver" 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:05AF:3063.0007/input/input20 U: Uniq= H: Handlers=sysrq kbd leds event0 B: PROP=0 B: EV=120013 B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=1f I: Bus=0003 Vendor=05af Product=3063 Version=0110 N: Name="JME RF Receiver" 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:05AF:3063.0008/input/input21 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=05af Product=3063 Version=0110 N: Name="JME RF Receiver Consumer Control" P: Phys=usb-20980000.usb-1.1/input2 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.2/0003:05AF:3063.0009/input/input23 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=05af Product=3063 Version=0110 N: Name="JME RF Receiver System Control" P: Phys=usb-20980000.usb-1.1/input2 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.2/0003:05AF:3063.0009/input/input24 U: Uniq= H: Handlers=kbd event3 B: PROP=0 B: EV=13 B: KEY=c000 100000 0 0 0 B: MSC=10 I: Bus=0003 Vendor=046d Product=c526 Version=0111 N: Name="Logitech USB Receiver" P: Phys=usb-20980000.usb-1.2/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C526.000A/input/input26 U: Uniq= H: Handlers=mouse1 event4 B: PROP=0 B: EV=17 B: KEY=ffff0000 0 0 0 0 0 0 0 0 B: REL=1943 B: MSC=10 I: Bus=0003 Vendor=046d Product=c526 Version=0111 N: Name="Logitech USB Receiver Consumer Control" P: Phys=usb-20980000.usb-1.2/input1 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C526.000B/input/input27 U: Uniq= H: Handlers=kbd event5 B: PROP=0 B: EV=1f B: KEY=300ff 0 0 0 0 483ffff 17aff32d bfd44446 0 0 1 130ff3 8b17c000 677bfa d9415fed 9ed680 4400 0 10000002 B: REL=1040 B: ABS=1 0 B: MSC=10 ``` ``` > 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=13 -> EV_SYN EV_KEY EV_MSC EV=17 -> EV_SYN EV_KEY EV_REL EV_MSC EV=1f -> EV_SYN EV_KEY EV_REL EV_ABS EV_MSC ``` ``` $ lsinput /dev/input/event0 bustype : BUS_USB vendor : 0x5af product : 0x3063 version : 272 name : "JME RF Receiver" phys : "usb-20980000.usb-1.1/input0" uniq : "" bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP /dev/input/event1 bustype : BUS_USB vendor : 0x5af product : 0x3063 version : 272 name : "JME RF Receiver" phys : "usb-20980000.usb-1.1/input1" uniq : "" bits ev : EV_SYN EV_KEY EV_REL EV_MSC /dev/input/event2 bustype : BUS_USB vendor : 0x5af product : 0x3063 version : 272 name : "JME RF Receiver Consumer Control" phys : "usb-20980000.usb-1.1/input2" uniq : "" bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC /dev/input/event3 bustype : BUS_USB vendor : 0x5af product : 0x3063 version : 272 name : "JME RF Receiver System Control" phys : "usb-20980000.usb-1.1/input2" uniq : "" bits ev : EV_SYN EV_KEY EV_MSC /dev/input/event4 bustype : BUS_USB vendor : 0x46d product : 0xc526 version : 273 name : "Logitech USB Receiver" phys : "usb-20980000.usb-1.2/input0" uniq : "" bits ev : EV_SYN EV_KEY EV_REL EV_MSC /dev/input/event5 bustype : BUS_USB vendor : 0x46d product : 0xc526 version : 273 name : "Logitech USB Receiver Consumer C" phys : "usb-20980000.usb-1.2/input1" uniq : "" bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC ```