Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ udevadm info -an /dev/input/js0
- 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:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:70/0005:2820:0009.0006/input/input12/js0':
- KERNEL=="js0"
- SUBSYSTEM=="input"
- DRIVER==""
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:70/0005:2820:0009.0006/input/input12':
- KERNELS=="input12"
- SUBSYSTEMS=="input"
- DRIVERS==""
- ATTRS{name}=="8Bitdo NES30 GamePad Joystick"
- ATTRS{phys}=="00:1a:7d:da:71:0b"
- ATTRS{uniq}=="9e:fb:f1:65:8e:fe"
- ATTRS{properties}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:70/0005:2820:0009.0006':
- KERNELS=="0005:2820:0009.0006"
- SUBSYSTEMS=="hid"
- DRIVERS=="hid-generic"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:70':
- KERNELS=="hci0:70"
- SUBSYSTEMS=="bluetooth"
- DRIVERS==""
- ATTRS{type}=="ACL"
- ATTRS{address}=="9e:fb:f1:65:8e:fe"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0':
- KERNELS=="hci0"
- SUBSYSTEMS=="bluetooth"
- DRIVERS==""
- ATTRS{name}=="ubuntu-0"
- ATTRS{type}=="BR/EDR"
- ATTRS{address}=="00:1a:7d:da:71:0b"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0':
- KERNELS=="3-1:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="btusb"
- ATTRS{bInterfaceClass}=="e0"
- ATTRS{bInterfaceSubClass}=="01"
- ATTRS{bInterfaceProtocol}=="01"
- ATTRS{bNumEndpoints}=="03"
- ATTRS{supports_autosuspend}=="1"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bInterfaceNumber}=="00"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1':
- KERNELS=="3-1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="01"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{devpath}=="1"
- ATTRS{idVendor}=="0a12"
- ATTRS{speed}=="12"
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{busnum}=="3"
- ATTRS{devnum}=="2"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="100mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="0"
- ATTRS{bcdDevice}=="8891"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="3506"
- ATTRS{ltm_capable}=="no"
- ATTRS{removable}=="unknown"
- ATTRS{idProduct}=="0001"
- ATTRS{bDeviceClass}=="e0"
- ATTRS{product}=="CSR8510 A10"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3':
- KERNELS=="usb3"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{devpath}=="0"
- ATTRS{idVendor}=="1d6b"
- ATTRS{speed}=="12"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{authorized_default}=="1"
- ATTRS{busnum}=="3"
- ATTRS{devnum}=="1"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="0mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="2"
- ATTRS{bcdDevice}=="0316"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{serial}=="0000:00:1a.0"
- ATTRS{version}==" 1.10"
- ATTRS{urbnum}=="32"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Linux 3.16.0-30-generic uhci_hcd"
- ATTRS{removable}=="unknown"
- ATTRS{idProduct}=="0001"
- ATTRS{bDeviceClass}=="09"
- ATTRS{product}=="UHCI Host Controller"
- looking at parent device '/devices/pci0000:00/0000:00:1a.0':
- KERNELS=="0000:00:1a.0"
- SUBSYSTEMS=="pci"
- DRIVERS=="uhci_hcd"
- ATTRS{irq}=="16"
- ATTRS{subsystem_vendor}=="0x1028"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x0c0300"
- ATTRS{driver_override}=="(null)"
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
- ATTRS{device}=="0x3a67"
- ATTRS{enable}=="1"
- ATTRS{msi_bus}==""
- ATTRS{local_cpulist}=="0-1"
- ATTRS{vendor}=="0x8086"
- ATTRS{subsystem_device}=="0x0420"
- ATTRS{numa_node}=="-1"
- ATTRS{d3cold_allowed}=="0"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement