Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.1/0003:046A:0023.0023/input/input56 --attribute-walk
- 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/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:046A:0023.0023/input/input56':
- KERNEL=="input56"
- SUBSYSTEM=="input"
- DRIVER==""
- ATTR{name}=="HID 046a:0023"
- ATTR{phys}=="usb-0000:00:14.0-2/input1"
- ATTR{properties}=="0"
- ATTR{uniq}==""
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:046A:0023.0023':
- KERNELS=="0003:046A:0023.0023"
- SUBSYSTEMS=="hid"
- DRIVERS=="cherry"
- ATTRS{country}=="00"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1':
- KERNELS=="3-2:1.1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usbhid"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bInterfaceClass}=="03"
- ATTRS{bInterfaceNumber}=="01"
- ATTRS{bInterfaceProtocol}=="00"
- ATTRS{bInterfaceSubClass}=="00"
- ATTRS{bNumEndpoints}=="01"
- ATTRS{supports_autosuspend}=="1"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-2':
- KERNELS=="3-2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{authorized}=="1"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bDeviceClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bMaxPacketSize0}=="8"
- ATTRS{bMaxPower}=="100mA"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bcdDevice}=="0220"
- ATTRS{bmAttributes}=="a0"
- ATTRS{busnum}=="3"
- ATTRS{configuration}==""
- ATTRS{devnum}=="19"
- ATTRS{devpath}=="2"
- ATTRS{idProduct}=="0023"
- ATTRS{idVendor}=="046a"
- ATTRS{ltm_capable}=="no"
- ATTRS{maxchild}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{removable}=="removable"
- ATTRS{speed}=="1.5"
- ATTRS{urbnum}=="3139"
- ATTRS{version}==" 2.00"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3':
- KERNELS=="usb3"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{authorized}=="1"
- ATTRS{authorized_default}=="1"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{bMaxPower}=="0mA"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bcdDevice}=="0402"
- ATTRS{bmAttributes}=="e0"
- ATTRS{busnum}=="3"
- ATTRS{configuration}==""
- ATTRS{devnum}=="1"
- ATTRS{devpath}=="0"
- ATTRS{idProduct}=="0002"
- ATTRS{idVendor}=="1d6b"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Linux 4.2.0-rc3-leo-00017-gd725e66 xhci-hcd"
- ATTRS{maxchild}=="14"
- ATTRS{product}=="xHCI Host Controller"
- ATTRS{quirks}=="0x0"
- ATTRS{removable}=="unknown"
- ATTRS{serial}=="0000:00:14.0"
- ATTRS{speed}=="480"
- ATTRS{urbnum}=="488"
- ATTRS{version}==" 2.00"
- looking at parent device '/devices/pci0000:00/0000:00:14.0':
- KERNELS=="0000:00:14.0"
- SUBSYSTEMS=="pci"
- DRIVERS=="xhci_hcd"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x0c0330"
- ATTRS{consistent_dma_mask_bits}=="64"
- ATTRS{d3cold_allowed}=="1"
- ATTRS{device}=="0x8cb1"
- ATTRS{dma_mask_bits}=="64"
- ATTRS{driver_override}=="(null)"
- ATTRS{enable}=="1"
- ATTRS{irq}=="29"
- ATTRS{local_cpulist}=="0-3"
- ATTRS{local_cpus}=="f"
- ATTRS{msi_bus}=="1"
- ATTRS{numa_node}=="-1"
- ATTRS{subsystem_device}=="0x5007"
- ATTRS{subsystem_vendor}=="0x1458"
- ATTRS{vendor}=="0x8086"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement