最終更新:2017-03-09 (木) 16:11:53 (2597d)
Linux/入力デバイス
ツール
usbutils
- lsusb
- usb-devices
- usbhid-dump
- update-usbids?
input-utils
- input-events - print input events
- input-kbd - print or modify keyboard maps for input devices
- lsinput - list input devices
その他
関連ファイル
Linux/dev/input
$ tree /dev/input /dev/input ├── by-id │ ├── usb-QUANTA_OpticalTouchScreen-event-if00 -> ../event7 │ ├── usb-VirtualBox_USB_Tablet-event-mouse -> ../event5 │ └── usb-VirtualBox_USB_Tablet-mouse -> ../js0 ├── by-path │ ├── pci-0000:00:04.0-event-mouse -> ../event6 │ ├── pci-0000:00:04.0-mouse -> ../js1 │ ├── pci-0000:00:06.0-usb-0:1:1.0-event-mouse -> ../event5 │ ├── pci-0000:00:06.0-usb-0:1:1.0-mouse -> ../js0 │ ├── pci-0000:00:06.0-usb-0:2:1.0-event -> ../event7 │ ├── platform-i8042-serio-0-event-kbd -> ../event2 │ ├── platform-i8042-serio-1-event-mouse -> ../event4 │ └── platform-i8042-serio-1-mouse -> ../mouse0 ├── event0 ├── event1 ├── event2 ├── event3 ├── event4 ├── event5 ├── event6 ├── event7 ├── js0 ├── js1 ├── mice ├── mouse0 ├── mouse1 └── mouse2
Linux/proc/bus/input/devices
user@user-VirtualBox:~$ cat /proc/bus/input/devices I: Bus=0019 Vendor=0000 Product=0001 Version=0000 N: Name="Power Button" P: Phys=LNXPWRBN/button/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 U: Uniq= H: Handlers=kbd event0 B: PROP=0 B: EV=3 B: KEY=10000000000000 0 I: Bus=0019 Vendor=0000 Product=0003 Version=0000 N: Name="Sleep Button" P: Phys=LNXSLPBN/button/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 U: Uniq= H: Handlers=kbd event1 B: PROP=0 B: EV=3 B: KEY=4000 0 0 I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 S: Sysfs=/devices/platform/i8042/serio0/input/input2 U: Uniq= H: Handlers=sysrq kbd event2 leds B: PROP=0 B: EV=120013 B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe B: MSC=10 B: LED=7 I: Bus=0019 Vendor=0000 Product=0006 Version=0000 N: Name="Video Bus" P: Phys=LNXVIDEO/video/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input4 U: Uniq= H: Handlers=kbd event3 B: PROP=0 B: EV=3 B: KEY=3e000b00000000 0 0 0 I: Bus=0011 Vendor=0002 Product=0006 Version=0000 N: Name="ImExPS/2 Generic Explorer Mouse" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input5 U: Uniq= H: Handlers=mouse0 event4 B: PROP=1 B: EV=7 B: KEY=1f0000 0 0 0 0 B: REL=143 I: Bus=0003 Vendor=80ee Product=0021 Version=0110 N: Name="VirtualBox USB Tablet" P: Phys=usb-0000:00:06.0-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb2/2-1/2-1:1.0/0003:80EE:0021.0001/input/input6 U: Uniq= H: Handlers=mouse1 event5 js0 B: PROP=0 B: EV=1f B: KEY=1f0000 0 0 0 0 B: REL=140 B: ABS=3 B: MSC=10 I: Bus=0001 Vendor=80ee Product=cafe Version=0501 N: Name="VirtualBox mouse integration" P: Phys= S: Sysfs=/devices/pci0000:00/0000:00:04.0/input/input7 U: Uniq= H: Handlers=event6 js1 B: PROP=0 B: EV=b B: KEY=10000 0 0 0 0 B: ABS=3 I: Bus=0003 Vendor=0408 Product=3001 Version=0110 N: Name="QUANTA OpticalTouchScreen" P: Phys=usb-0000:00:06.0-2/input0 S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.0/0003:0408:3001.0002/input/input8 U: Uniq= H: Handlers=mouse2 event7 B: PROP=2 B: EV=b B: KEY=400 0 0 0 0 0 B: ABS=260800000000003