最終更新:2017-03-01 (水) 11:51:11 (1229d)  

Linux/proc/bus/input/devices
Top / Linux / proc / bus / input / devices

cat

  • $cat /proc/bus/input/devices
    I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
    N: Name="SynPS/2 Synaptics TouchPad"
    P: Phys=isa0060/serio2/input0
    S: Sysfs=/devices/platform/i8042/serio2/input/input8
    U: Uniq=
    H: Handlers=mouse2 event8
    B: EV=b   B: KEY=420 0 70000 0 0 0 0 0 0 0 0
    B: ABS=11000003 
  • VirtualBox
    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

QUANTA OpticalTouchScreen

  • 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

sysfs

Linux/dev

  • Linux/dev/input/event8 - Handlerのところにどのデバイスにアタッチされているか表示される
  • evtest

Android

関連