最終更新:2017-03-01 (水) 11:53:55 (1223d)  

Linux/dev/input/event
Top / Linux / dev / input / event

eventX

udevadm

  • $ udevadm info -a -n /dev/input/event6
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/platform/i8042/serio1/input/input7/event6':
        KERNEL=="event6"
        SUBSYSTEM=="input"
        DRIVER==""
    
      looking at parent device '/devices/platform/i8042/serio1/input/input7':
        KERNELS=="input7"
        SUBSYSTEMS=="input"
        DRIVERS==""
        ATTRS{name}=="ImExPS/2 Generic Explorer Mouse"
        ATTRS{phys}=="isa0060/serio1/input0"
        ATTRS{uniq}==""
        ATTRS{properties}=="0"
    
      looking at parent device '/devices/platform/i8042/serio1':
        KERNELS=="serio1"
        SUBSYSTEMS=="serio"
        DRIVERS=="psmouse"
        ATTRS{resolution}=="200"
        ATTRS{rate}=="100"
        ATTRS{bind_mode}=="auto"
        ATTRS{resync_time}=="0"
        ATTRS{description}=="i8042 AUX port"
        ATTRS{resetafter}=="5"
        ATTRS{protocol}=="ImExPS/2"
    
      looking at parent device '/devices/platform/i8042':
        KERNELS=="i8042"
        SUBSYSTEMS=="platform"
        DRIVERS=="i8042"
    
      looking at parent device '/devices/platform':
        KERNELS=="platform"
        SUBSYSTEMS==""
        DRIVERS==""
    

関連

参考