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.5/2-1.5:1.2/input/input7/js0':
- KERNEL=="js0"
- SUBSYSTEM=="input"
- DRIVER==""
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2/input/input7':
- KERNELS=="input7"
- SUBSYSTEMS=="input"
- DRIVERS==""
- ATTRS{phys}=="usb-0000:00:1d.0-1.5/input2"
- ATTRS{uniq}==""
- ATTRS{properties}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2':
- KERNELS=="2-1.5:1.2"
- 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}=="02"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
- KERNELS=="2-1.5"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{devpath}=="1.5"
- ATTRS{idVendor}=="045e"
- ATTRS{speed}=="12"
- ATTRS{bNumInterfaces}==" 3"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="3"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="100mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="a0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="0"
- ATTRS{bcdDevice}=="0757"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="85947"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Microsoft"
- ATTRS{removable}=="removable"
- ATTRS{idProduct}=="07a5"
- ATTRS{bDeviceClass}=="00"
- 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}=="0000"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="34"
- ATTRS{ltm_capable}=="no"
- ATTRS{removable}=="fixed"
- ATTRS{idProduct}=="0024"
- 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}=="0313"
- 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.13.0-30-generic 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{enabled}=="1"
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
- ATTRS{device}=="0x1e26"
- ATTRS{uframe_periodic_max}=="100"
- ATTRS{msi_bus}==""
- ATTRS{local_cpulist}=="0-3"
- 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