Last active
November 8, 2016 05:36
-
-
Save supirman/f18be1576d24149e4624e32b63a1b084 to your computer and use it in GitHub Desktop.
`udevadm info -q all -a /dev/input/js0` without steam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/usb3/3-3/3-3:1.0/0003:054C:05C4.000D/input/input35/js0': | |
KERNEL=="js0" | |
SUBSYSTEM=="input" | |
DRIVER=="" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:054C:05C4.000D/input/input35': | |
KERNELS=="input35" | |
SUBSYSTEMS=="input" | |
DRIVERS=="" | |
ATTRS{name}=="Sony Computer Entertainment Wireless Controller" | |
ATTRS{phys}=="usb-0000:00:14.0-3/input0" | |
ATTRS{properties}=="0" | |
ATTRS{uniq}=="" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:054C:05C4.000D': | |
KERNELS=="0003:054C:05C4.000D" | |
SUBSYSTEMS=="hid" | |
DRIVERS=="sony" | |
ATTRS{country}=="00" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0': | |
KERNELS=="3-3:1.0" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usbhid" | |
ATTRS{authorized}=="1" | |
ATTRS{bAlternateSetting}==" 0" | |
ATTRS{bInterfaceClass}=="03" | |
ATTRS{bInterfaceNumber}=="00" | |
ATTRS{bInterfaceProtocol}=="00" | |
ATTRS{bInterfaceSubClass}=="00" | |
ATTRS{bNumEndpoints}=="02" | |
ATTRS{supports_autosuspend}=="1" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-3': | |
KERNELS=="3-3" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usb" | |
ATTRS{authorized}=="1" | |
ATTRS{avoid_reset_quirk}=="0" | |
ATTRS{bConfigurationValue}=="1" | |
ATTRS{bDeviceClass}=="00" | |
ATTRS{bDeviceProtocol}=="00" | |
ATTRS{bDeviceSubClass}=="00" | |
ATTRS{bMaxPacketSize0}=="64" | |
ATTRS{bMaxPower}=="500mA" | |
ATTRS{bNumConfigurations}=="1" | |
ATTRS{bNumInterfaces}==" 1" | |
ATTRS{bcdDevice}=="0100" | |
ATTRS{bmAttributes}=="c0" | |
ATTRS{busnum}=="3" | |
ATTRS{configuration}=="" | |
ATTRS{devnum}=="9" | |
ATTRS{devpath}=="3" | |
ATTRS{idProduct}=="05c4" | |
ATTRS{idVendor}=="054c" | |
ATTRS{ltm_capable}=="no" | |
ATTRS{manufacturer}=="Sony Computer Entertainment" | |
ATTRS{maxchild}=="0" | |
ATTRS{product}=="Wireless Controller" | |
ATTRS{quirks}=="0x0" | |
ATTRS{removable}=="unknown" | |
ATTRS{speed}=="12" | |
ATTRS{urbnum}=="14800" | |
ATTRS{version}==" 2.00" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3': | |
KERNELS=="usb3" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usb" | |
ATTRS{authorized}=="1" | |
ATTRS{authorized_default}=="1" | |
ATTRS{avoid_reset_quirk}=="0" | |
ATTRS{bConfigurationValue}=="1" | |
ATTRS{bDeviceClass}=="09" | |
ATTRS{bDeviceProtocol}=="01" | |
ATTRS{bDeviceSubClass}=="00" | |
ATTRS{bMaxPacketSize0}=="64" | |
ATTRS{bMaxPower}=="0mA" | |
ATTRS{bNumConfigurations}=="1" | |
ATTRS{bNumInterfaces}==" 1" | |
ATTRS{bcdDevice}=="0404" | |
ATTRS{bmAttributes}=="e0" | |
ATTRS{busnum}=="3" | |
ATTRS{configuration}=="" | |
ATTRS{devnum}=="1" | |
ATTRS{devpath}=="0" | |
ATTRS{idProduct}=="0002" | |
ATTRS{idVendor}=="1d6b" | |
ATTRS{interface_authorized_default}=="1" | |
ATTRS{ltm_capable}=="no" | |
ATTRS{manufacturer}=="Linux 4.4.0-45-generic xhci-hcd" | |
ATTRS{maxchild}=="4" | |
ATTRS{product}=="xHCI Host Controller" | |
ATTRS{quirks}=="0x0" | |
ATTRS{removable}=="unknown" | |
ATTRS{serial}=="0000:00:14.0" | |
ATTRS{speed}=="480" | |
ATTRS{urbnum}=="161" | |
ATTRS{version}==" 2.00" | |
looking at parent device '/devices/pci0000:00/0000:00:14.0': | |
KERNELS=="0000:00:14.0" | |
SUBSYSTEMS=="pci" | |
DRIVERS=="xhci_hcd" | |
ATTRS{broken_parity_status}=="0" | |
ATTRS{class}=="0x0c0330" | |
ATTRS{consistent_dma_mask_bits}=="64" | |
ATTRS{d3cold_allowed}=="1" | |
ATTRS{device}=="0x1e31" | |
ATTRS{dma_mask_bits}=="64" | |
ATTRS{driver_override}=="(null)" | |
ATTRS{enable}=="1" | |
ATTRS{irq}=="27" | |
ATTRS{local_cpulist}=="0-3" | |
ATTRS{local_cpus}=="f" | |
ATTRS{msi_bus}=="1" | |
ATTRS{numa_node}=="-1" | |
ATTRS{subsystem_device}=="0x100d" | |
ATTRS{subsystem_vendor}=="0x1043" | |
ATTRS{vendor}=="0x8086" | |
looking at parent device '/devices/pci0000:00': | |
KERNELS=="pci0000:00" | |
SUBSYSTEMS=="" | |
DRIVERS=="" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/usb1/1-1/1-1.1/1-1.1:1.0/bluetooth/hci0/hci0:21/0005:054C:05C4.000C/input/input34/js0': | |
KERNEL=="js0" | |
SUBSYSTEM=="input" | |
DRIVER=="" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/bluetooth/hci0/hci0:21/0005:054C:05C4.000C/input/input34': | |
KERNELS=="input34" | |
SUBSYSTEMS=="input" | |
DRIVERS=="" | |
ATTRS{name}=="Wireless Controller" | |
ATTRS{phys}=="dc:85:de:3f:da:4a" | |
ATTRS{properties}=="0" | |
ATTRS{uniq}=="d0:27:88:43:65:9a" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/bluetooth/hci0/hci0:21/0005:054C:05C4.000C': | |
KERNELS=="0005:054C:05C4.000C" | |
SUBSYSTEMS=="hid" | |
DRIVERS=="sony" | |
ATTRS{country}=="00" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/bluetooth/hci0/hci0:21': | |
KERNELS=="hci0:21" | |
SUBSYSTEMS=="bluetooth" | |
DRIVERS=="" | |
ATTRS{address}=="d0:27:88:43:65:9a" | |
ATTRS{type}=="ACL" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/bluetooth/hci0': | |
KERNELS=="hci0" | |
SUBSYSTEMS=="bluetooth" | |
DRIVERS=="" | |
ATTRS{address}=="dc:85:de:3f:da:4a" | |
ATTRS{name}=="ChromeLinux_30AE" | |
ATTRS{type}=="BR/EDR" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0': | |
KERNELS=="1-1.1:1.0" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="btusb" | |
ATTRS{authorized}=="1" | |
ATTRS{bAlternateSetting}==" 0" | |
ATTRS{bInterfaceClass}=="e0" | |
ATTRS{bInterfaceNumber}=="00" | |
ATTRS{bInterfaceProtocol}=="01" | |
ATTRS{bInterfaceSubClass}=="01" | |
ATTRS{bNumEndpoints}=="03" | |
ATTRS{supports_autosuspend}=="1" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1': | |
KERNELS=="1-1.1" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usb" | |
ATTRS{authorized}=="1" | |
ATTRS{avoid_reset_quirk}=="0" | |
ATTRS{bConfigurationValue}=="1" | |
ATTRS{bDeviceClass}=="e0" | |
ATTRS{bDeviceProtocol}=="01" | |
ATTRS{bDeviceSubClass}=="01" | |
ATTRS{bMaxPacketSize0}=="64" | |
ATTRS{bMaxPower}=="100mA" | |
ATTRS{bNumConfigurations}=="1" | |
ATTRS{bNumInterfaces}==" 2" | |
ATTRS{bcdDevice}=="0002" | |
ATTRS{bmAttributes}=="e0" | |
ATTRS{busnum}=="1" | |
ATTRS{configuration}=="BT HCI" | |
ATTRS{devnum}=="7" | |
ATTRS{devpath}=="1.1" | |
ATTRS{idProduct}=="3362" | |
ATTRS{idVendor}=="13d3" | |
ATTRS{ltm_capable}=="no" | |
ATTRS{manufacturer}=="Atheros Communications" | |
ATTRS{maxchild}=="0" | |
ATTRS{product}=="Bluetooth USB Host Controller" | |
ATTRS{quirks}=="0x0" | |
ATTRS{removable}=="fixed" | |
ATTRS{serial}=="Alaska Day 2006" | |
ATTRS{speed}=="12" | |
ATTRS{urbnum}=="6979060" | |
ATTRS{version}==" 1.10" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1': | |
KERNELS=="1-1" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usb" | |
ATTRS{authorized}=="1" | |
ATTRS{avoid_reset_quirk}=="0" | |
ATTRS{bConfigurationValue}=="1" | |
ATTRS{bDeviceClass}=="09" | |
ATTRS{bDeviceProtocol}=="01" | |
ATTRS{bDeviceSubClass}=="00" | |
ATTRS{bMaxPacketSize0}=="64" | |
ATTRS{bMaxPower}=="0mA" | |
ATTRS{bNumConfigurations}=="1" | |
ATTRS{bNumInterfaces}==" 1" | |
ATTRS{bcdDevice}=="0000" | |
ATTRS{bmAttributes}=="e0" | |
ATTRS{busnum}=="1" | |
ATTRS{configuration}=="" | |
ATTRS{devnum}=="2" | |
ATTRS{devpath}=="1" | |
ATTRS{idProduct}=="0024" | |
ATTRS{idVendor}=="8087" | |
ATTRS{ltm_capable}=="no" | |
ATTRS{maxchild}=="6" | |
ATTRS{quirks}=="0x0" | |
ATTRS{removable}=="unknown" | |
ATTRS{speed}=="480" | |
ATTRS{urbnum}=="118" | |
ATTRS{version}==" 2.00" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1': | |
KERNELS=="usb1" | |
SUBSYSTEMS=="usb" | |
DRIVERS=="usb" | |
ATTRS{authorized}=="1" | |
ATTRS{authorized_default}=="1" | |
ATTRS{avoid_reset_quirk}=="0" | |
ATTRS{bConfigurationValue}=="1" | |
ATTRS{bDeviceClass}=="09" | |
ATTRS{bDeviceProtocol}=="00" | |
ATTRS{bDeviceSubClass}=="00" | |
ATTRS{bMaxPacketSize0}=="64" | |
ATTRS{bMaxPower}=="0mA" | |
ATTRS{bNumConfigurations}=="1" | |
ATTRS{bNumInterfaces}==" 1" | |
ATTRS{bcdDevice}=="0404" | |
ATTRS{bmAttributes}=="e0" | |
ATTRS{busnum}=="1" | |
ATTRS{configuration}=="" | |
ATTRS{devnum}=="1" | |
ATTRS{devpath}=="0" | |
ATTRS{idProduct}=="0002" | |
ATTRS{idVendor}=="1d6b" | |
ATTRS{interface_authorized_default}=="1" | |
ATTRS{ltm_capable}=="no" | |
ATTRS{manufacturer}=="Linux 4.4.0-45-generic ehci_hcd" | |
ATTRS{maxchild}=="2" | |
ATTRS{product}=="EHCI Host Controller" | |
ATTRS{quirks}=="0x0" | |
ATTRS{removable}=="unknown" | |
ATTRS{serial}=="0000:00:1a.0" | |
ATTRS{speed}=="480" | |
ATTRS{urbnum}=="49" | |
ATTRS{version}==" 2.00" | |
looking at parent device '/devices/pci0000:00/0000:00:1a.0': | |
KERNELS=="0000:00:1a.0" | |
SUBSYSTEMS=="pci" | |
DRIVERS=="ehci-pci" | |
ATTRS{broken_parity_status}=="0" | |
ATTRS{class}=="0x0c0320" | |
ATTRS{companion}=="" | |
ATTRS{consistent_dma_mask_bits}=="32" | |
ATTRS{d3cold_allowed}=="1" | |
ATTRS{device}=="0x1e2d" | |
ATTRS{dma_mask_bits}=="32" | |
ATTRS{driver_override}=="(null)" | |
ATTRS{enable}=="1" | |
ATTRS{irq}=="16" | |
ATTRS{local_cpulist}=="0-3" | |
ATTRS{local_cpus}=="f" | |
ATTRS{msi_bus}=="1" | |
ATTRS{numa_node}=="-1" | |
ATTRS{subsystem_device}=="0x100d" | |
ATTRS{subsystem_vendor}=="0x1043" | |
ATTRS{uframe_periodic_max}=="100" | |
ATTRS{vendor}=="0x8086" | |
looking at parent device '/devices/pci0000:00': | |
KERNELS=="pci0000:00" | |
SUBSYSTEMS=="" | |
DRIVERS=="" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment