Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- udevadm info -a -p /sys/class/sound/card0/
- 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-2/2-2:1.0/sound/card0':
- KERNEL=="card0"
- SUBSYSTEM=="sound"
- DRIVER==""
- ATTR{id}=="PCM2702"
- ATTR{number}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0':
- KERNELS=="2-2:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="snd-usb-audio"
- ATTRS{bInterfaceNumber}=="00"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bNumEndpoints}=="00"
- ATTRS{bInterfaceClass}=="01"
- ATTRS{bInterfaceSubClass}=="01"
- ATTRS{bInterfaceProtocol}=="00"
- ATTRS{modalias}=="usb:v08BBp2702d0100dc00dsc00dp00ic01isc01ip00"
- ATTRS{supports_autosuspend}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-2':
- KERNELS=="2-2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="40"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{urbnum}=="34"
- ATTRS{idVendor}=="08bb"
- ATTRS{idProduct}=="2702"
- ATTRS{bcdDevice}=="0100"
- ATTRS{bDeviceClass}=="00"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="8"
- ATTRS{speed}=="12"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="10"
- ATTRS{devpath}=="2"
- ATTRS{version}==" 1.00"
- ATTRS{maxchild}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Burr-Brown Japan"
- ATTRS{product}=="Burr-Brown Japan PCM2702"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
- KERNELS=="usb2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{urbnum}=="206"
- ATTRS{idVendor}=="1d6b"
- ATTRS{idProduct}=="0001"
- ATTRS{bcdDevice}=="0206"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="12"
- ATTRS{busnum}=="2"
- ATTRS{devnum}=="1"
- ATTRS{devpath}=="0"
- ATTRS{version}==" 1.10"
- ATTRS{maxchild}=="2"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Linux 2.6.37-ARCH uhci_hcd"
- ATTRS{product}=="UHCI Host Controller"
- ATTRS{serial}=="0000:00:1d.0"
- ATTRS{authorized_default}=="1"
- looking at parent device '/devices/pci0000:00/0000:00:1d.0':
- KERNELS=="0000:00:1d.0"
- SUBSYSTEMS=="pci"
- DRIVERS=="uhci_hcd"
- ATTRS{vendor}=="0x8086"
- ATTRS{device}=="0x27c8"
- ATTRS{subsystem_vendor}=="0x8086"
- ATTRS{subsystem_device}=="0xd605"
- ATTRS{class}=="0x0c0300"
- ATTRS{irq}=="23"
- ATTRS{local_cpus}=="ff"
- ATTRS{local_cpulist}=="0-7"
- ATTRS{modalias}=="pci:v00008086d000027C8sv00008086sd0000D605bc0Csc03i00"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{enable}=="1"
- ATTRS{broken_parity_status}=="0"
- ATTRS{msi_bus}==""
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement