Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ udevinfo -a -p $(udevinfo -q path -n /dev/ttyUSB0)
- 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/tty/ttyUSB0':
- KERNEL=="ttyUSB0"
- SUBSYSTEM=="tty"
- DRIVER==""
- ATTR{dev}=="188:0"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3.1/1-3.1:1.0/ttyUSB0':
- KERNELS=="ttyUSB0"
- SUBSYSTEMS=="usb-serial"
- DRIVERS=="pl2303"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3.1/1-3.1:1.0':
- KERNELS=="1-3.1:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="pl2303"
- ATTRS{modalias}=="usb:v067Bp2303d0300dc00dsc00dp00icFFisc00ip00"
- ATTRS{bInterfaceProtocol}=="00"
- ATTRS{bInterfaceSubClass}=="00"
- ATTRS{bInterfaceClass}=="ff"
- ATTRS{bNumEndpoints}=="03"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bInterfaceNumber}=="00"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3.1':
- KERNELS=="1-3.1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{product}=="USB-Serial Controller"
- ATTRS{manufacturer}=="Prolific Technology Inc."
- ATTRS{quirks}=="0x0"
- ATTRS{maxchild}=="0"
- ATTRS{version}==" 1.10"
- ATTRS{devnum}=="14"
- ATTRS{busnum}=="1"
- ATTRS{speed}=="12"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceClass}=="00"
- ATTRS{bcdDevice}=="0300"
- ATTRS{idProduct}=="2303"
- ATTRS{idVendor}=="067b"
- ATTRS{bMaxPower}=="100mA"
- ATTRS{bmAttributes}=="80"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{configuration}==""
- ATTRS{dev}=="189:13"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5/usb1/1-3':
- KERNELS=="1-3"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{product}=="USB2.0 Hub"
- ATTRS{quirks}=="0x0"
- ATTRS{maxchild}=="4"
- ATTRS{version}==" 2.00"
- ATTRS{devnum}=="3"
- ATTRS{busnum}=="1"
- ATTRS{speed}=="480"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bcdDevice}=="0901"
- ATTRS{idProduct}=="0608"
- ATTRS{idVendor}=="05e3"
- ATTRS{bMaxPower}=="500mA"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{configuration}==""
- ATTRS{dev}=="189:2"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5/usb1':
- KERNELS=="usb1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{serial}=="0000:00:0f.5"
- ATTRS{product}=="EHCI Host Controller"
- ATTRS{manufacturer}=="Linux 2.6.23 ehci_hcd"
- ATTRS{quirks}=="0x0"
- ATTRS{maxchild}=="4"
- ATTRS{version}==" 2.00"
- ATTRS{devnum}=="1"
- ATTRS{busnum}=="1"
- ATTRS{speed}=="480"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bcdDevice}=="0206"
- ATTRS{idProduct}=="0000"
- ATTRS{idVendor}=="0000"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{configuration}==""
- ATTRS{dev}=="189:0"
- looking at parent device '/devices/pci0000:00/0000:00:0f.5':
- KERNELS=="0000:00:0f.5"
- SUBSYSTEMS=="pci"
- DRIVERS=="ehci_hcd"
- ATTRS{msi_bus}==""
- ATTRS{broken_parity_status}=="0"
- ATTRS{modalias}=="pci:v00001022d00002095sv00001022sd00002095bc0Csc03i20"
- ATTRS{local_cpus}=="1"
- ATTRS{irq}=="11"
- ATTRS{class}=="0x0c0320"
- ATTRS{subsystem_device}=="0x2095"
- ATTRS{subsystem_vendor}=="0x1022"
- ATTRS{device}=="0x2095"
- ATTRS{vendor}=="0x1022"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
- ATTRS{uevent}==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement