- Udevinfo 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 '/class/video4linux/video3':
- KERNEL=="video3"
- SUBSYSTEM=="video4linux"
- DRIVER==""
- ATTR{name}=="Hauppauge HD PVR"
- ATTR{index}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0':
- KERNELS=="2-6:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="hdpvr"
- ATTRS{bInterfaceNumber}=="00"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bNumEndpoints}=="02"
- ATTRS{bInterfaceClass}=="ff"
- ATTRS{bInterfaceSubClass}=="02"
- ATTRS{bInterfaceProtocol}=="00"
- ATTRS{modalias}=="usb:v2040p4982d0000dc00dsc00dp00icFFisc02ip00"
- ATTRS{supports_autosuspend}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb2/2-6':
- KERNELS=="2-6"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="c0"
- ATTRS{bMaxPower}==" 4mA"
- ATTRS{urbnum}=="17519"
- ATTRS{idVendor}=="2040"
- ATTRS{idProduct}=="4982"
- ATTRS{bcdDevice}=="0000"
- ATTRS{bDeviceClass}=="00"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="2"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="AMBA"
- ATTRS{product}=="Hauppauge HD PVR"
- ATTRS{serial}=="00A3B191"
- looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb2':
- KERNELS=="usb2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{urbnum}=="32"
- ATTRS{idVendor}=="1d6b"
- ATTRS{idProduct}=="0002"
- ATTRS{bcdDevice}=="0206"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="1"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="6"
- ATTRS{quirks}=="0x0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Linux 2.6.28-LinHES ehci_hcd"
- ATTRS{product}=="EHCI Host Controller"
- ATTRS{serial}=="0000:00:1d.7"
- ATTRS{authorized_default}=="1"
- looking at parent device '/devices/pci0000:00/0000:00:1d.7':
- KERNELS=="0000:00:1d.7"
- SUBSYSTEMS=="pci"
- DRIVERS=="ehci_hcd"
- ATTRS{vendor}=="0x8086"
- ATTRS{device}=="0x293a"
- ATTRS{subsystem_vendor}=="0x1458"
- ATTRS{subsystem_device}=="0x5006"
- ATTRS{class}=="0x0c0320"
- ATTRS{irq}=="23"
- ATTRS{local_cpus}=="ffff"
- ATTRS{local_cpulist}=="0-15"
- ATTRS{modalias}=="pci:v00008086d0000293Asv00001458sd00005006bc0Csc03i20"
- ATTRS{enable}=="1"
- ATTRS{broken_parity_status}=="0"
- ATTRS{msi_bus}==""
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
