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:14.0/usb1/1-9/1-9:1.0/bluetooth/hci0/hci0:256/0005:2820:0009.0013/input/input26/js0':
- KERNEL=="js0"
- SUBSYSTEM=="input"
- DRIVER==""
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/bluetooth/hci0/hci0:256/0005:2820:0009.0013/input/input26':
- KERNELS=="input26"
- SUBSYSTEMS=="input"
- DRIVERS==""
- ATTRS{name}=="8Bitdo NES30 GamePad Joystick"
- ATTRS{phys}=="28:b2:bd:78:cb:42"
- ATTRS{uniq}=="9e:fb:f1:65:8e:fe"
- ATTRS{properties}=="0"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/bluetooth/hci0/hci0:256/0005:2820:0009.0013':
- KERNELS=="0005:2820:0009.0013"
- SUBSYSTEMS=="hid"
- DRIVERS=="hid-generic"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/bluetooth/hci0/hci0:256':
- KERNELS=="hci0:256"
- SUBSYSTEMS=="bluetooth"
- DRIVERS==""
- ATTRS{type}=="ACL"
- ATTRS{address}=="9e:fb:f1:65:8e:fe"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/bluetooth/hci0':
- KERNELS=="hci0"
- SUBSYSTEMS=="bluetooth"
- DRIVERS==""
- ATTRS{name}=="ubuntu-0"
- ATTRS{type}=="BR/EDR"
- ATTRS{address}=="28:b2:bd:78:cb:42"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0':
- KERNELS=="1-9: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:14.0/usb1/1-9':
- KERNELS=="1-9"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="01"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{devpath}=="9"
- ATTRS{idVendor}=="8087"
- ATTRS{speed}=="12"
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="6"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="100mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="0"
- ATTRS{bcdDevice}=="0001"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="401"
- ATTRS{ltm_capable}=="no"
- ATTRS{removable}=="unknown"
- ATTRS{idProduct}=="07dc"
- ATTRS{bDeviceClass}=="e0"
- looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1':
- KERNELS=="usb1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="01"
- ATTRS{devpath}=="0"
- ATTRS{idVendor}=="1d6b"
- ATTRS{speed}=="480"
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{authorized_default}=="1"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="1"
- ATTRS{configuration}==""
- ATTRS{bMaxPower}=="0mA"
- ATTRS{authorized}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{maxchild}=="14"
- ATTRS{bcdDevice}=="0319"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{serial}=="0000:00:14.0"
- ATTRS{version}==" 2.00"
- ATTRS{urbnum}=="562"
- ATTRS{ltm_capable}=="no"
- ATTRS{manufacturer}=="Linux 3.19.0-21-generic xhci-hcd"
- ATTRS{removable}=="unknown"
- ATTRS{idProduct}=="0002"
- ATTRS{bDeviceClass}=="09"
- ATTRS{product}=="xHCI Host Controller"
- looking at parent device '/devices/pci0000:00/0000:00:14.0':
- KERNELS=="0000:00:14.0"
- SUBSYSTEMS=="pci"
- DRIVERS=="xhci_hcd"
- ATTRS{irq}=="30"
- ATTRS{subsystem_vendor}=="0x1028"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x0c0330"
- ATTRS{driver_override}=="(null)"
- ATTRS{consistent_dma_mask_bits}=="64"
- ATTRS{dma_mask_bits}=="64"
- ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff"
- ATTRS{device}=="0x8c31"
- ATTRS{enable}=="1"
- ATTRS{msi_bus}=="1"
- ATTRS{local_cpulist}=="0-7"
- ATTRS{vendor}=="0x8086"
- ATTRS{subsystem_device}=="0x05fe"
- ATTRS{numa_node}=="-1"
- ATTRS{d3cold_allowed}=="1"
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement