Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input23/js0':
- KERNEL=="js0"
- SUBSYSTEM=="input"
- DRIVER==""
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input23':
- KERNELS=="input23"
- SUBSYSTEMS=="input"
- DRIVERS==""
- ATTRS{name}=="Microsoft Wired Keyboard 600"
- ATTRS{phys}=="usb-0000:00:1d.0-1.6/input1"
- ATTRS{uniq}==""
- ATTRS{properties}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1':
- KERNELS=="2-1.6:1.1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usbhid"
- ATTRS{bInterfaceClass}=="03"
- ATTRS{bInterfaceSubClass}=="00"
- ATTRS{bInterfaceProtocol}=="00"
- ATTRS{bNumEndpoints}=="01"
- ATTRS{supports_autosuspend}=="1"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bInterfaceNumber}=="01"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6':
- KERNELS=="2-1.6"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{devpath}=="1.6"
- ATTRS{idVendor}=="045e"
- ATTRS{speed}=="1.5"
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="8"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="10"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="100mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="a0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="0"
- ATTRS{bcdDevice}=="0110"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 1.10"
- ATTRS{urbnum}=="896"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Microsoft"
- ATTRS{removable}=="removable"
- ATTRS{idProduct}=="0750"
- ATTRS{bDeviceClass}=="00"
- ATTRS{product}=="Wired Keyboard 600"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
- KERNELS=="2-1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{devpath}=="1"
- ATTRS{idVendor}=="8087"
- ATTRS{speed}=="480"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="2"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="0mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="8"
- ATTRS{bcdDevice}=="0005"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="121"
- ATTRS{ltm_capable}=="no"
- ATTRS{removable}=="fixed"
- ATTRS{idProduct}=="8000"
- ATTRS{bDeviceClass}=="09"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
- KERNELS=="usb2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{devpath}=="0"
- ATTRS{idVendor}=="1d6b"
- ATTRS{speed}=="480"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{authorized_default}=="1"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="1"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="0mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="2"
- ATTRS{bcdDevice}=="0310"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{serial}=="0000:00:1d.0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="24"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Linux 3.10.46-1-MANJARO ehci_hcd"
- ATTRS{removable}=="unknown"
- ATTRS{idProduct}=="0002"
- ATTRS{bDeviceClass}=="09"
- ATTRS{product}=="EHCI Host Controller"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0':
- KERNELS=="0000:00:1d.0"
- SUBSYSTEMS=="pci"
- DRIVERS=="ehci-pci"
- ATTRS{irq}=="23"
- ATTRS{subsystem_vendor}=="0x1458"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x0c0320"
- ATTRS{companion}==""
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{local_cpus}=="00000000,00000000,00000000,000000ff"
- ATTRS{device}=="0x8c26"
- ATTRS{uframe_periodic_max}=="100"
- ATTRS{msi_bus}==""
- ATTRS{local_cpulist}=="0-7"
- ATTRS{vendor}=="0x8086"
- ATTRS{subsystem_device}=="0x5006"
- ATTRS{numa_node}=="-1"
- ATTRS{d3cold_allowed}=="1"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement