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:12.2/usb6/6-4/6-4:1.0/video4linux/video5':
- KERNEL=="video5"
- SUBSYSTEM=="video4linux"
- DRIVER==""
- ATTR{dev_debug}=="0"
- ATTR{index}=="0"
- ATTR{name}=="usbtv"
- looking at parent device '/devices/pci0000:00/0000:00:12.2/usb6/6-4/6-4:1.0':
- KERNELS=="6-4:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="usbtv"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bInterfaceClass}=="ff"
- ATTRS{bInterfaceNumber}=="00"
- ATTRS{bInterfaceProtocol}=="ff"
- ATTRS{bInterfaceSubClass}=="00"
- ATTRS{bNumEndpoints}=="04"
- ATTRS{supports_autosuspend}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:12.2/usb6/6-4':
- KERNELS=="6-4"
- 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}=="64"
- ATTRS{bMaxPower}=="500mA"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bcdDevice}=="0100"
- ATTRS{bmAttributes}=="80"
- ATTRS{busnum}=="6"
- ATTRS{configuration}==""
- ATTRS{devnum}=="9"
- ATTRS{devpath}=="4"
- ATTRS{idProduct}=="3002"
- ATTRS{idVendor}=="1b71"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="fushicai"
- ATTRS{maxchild}=="0"
- ATTRS{product}=="usbtv007"
- ATTRS{quirks}=="0x0"
- ATTRS{removable}=="unknown"
- ATTRS{serial}=="300000000002"
- ATTRS{speed}=="480"
- ATTRS{urbnum}=="25"
- ATTRS{version}==" 2.00"
- looking at parent device '/devices/pci0000:00/0000:00:12.2/usb6':
- KERNELS=="usb6"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{authorized}=="1"
- ATTRS{authorized_default}=="1"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{bMaxPower}=="0mA"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bcdDevice}=="0402"
- ATTRS{bmAttributes}=="e0"
- ATTRS{busnum}=="6"
- ATTRS{configuration}==""
- ATTRS{devnum}=="1"
- ATTRS{devpath}=="0"
- ATTRS{idProduct}=="0002"
- ATTRS{idVendor}=="1d6b"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Linux 4.2.5-1-ARCH ehci_hcd"
- ATTRS{maxchild}=="5"
- ATTRS{product}=="EHCI Host Controller"
- ATTRS{quirks}=="0x0"
- ATTRS{removable}=="unknown"
- ATTRS{serial}=="0000:00:12.2"
- ATTRS{speed}=="480"
- ATTRS{urbnum}=="231"
- ATTRS{version}==" 2.00"
- looking at parent device '/devices/pci0000:00/0000:00:12.2':
- KERNELS=="0000:00:12.2"
- SUBSYSTEMS=="pci"
- DRIVERS=="ehci-pci"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x0c0320"
- ATTRS{companion}==""
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{d3cold_allowed}=="1"
- ATTRS{device}=="0x7808"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{driver_override}=="(null)"
- ATTRS{enable}=="1"
- ATTRS{irq}=="17"
- ATTRS{local_cpulist}=="0-1"
- ATTRS{local_cpus}=="3"
- ATTRS{msi_bus}=="1"
- ATTRS{numa_node}=="-1"
- ATTRS{subsystem_device}=="0x5004"
- ATTRS{subsystem_vendor}=="0x1458"
- ATTRS{uframe_periodic_max}=="100"
- ATTRS{vendor}=="0x1022"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement