SHARE
TWEET

udevadm info of ThinkPad USB Keyboard

chusiang May 20th, 2012 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ jonny@thinkpad-t410 ~ ]$ lsusb | grep -i keyboard
  2. Bus 001 Device 010: ID 17ef:6009 Lenovo ThinkPad Keyboard with TrackPoint
  3.  
  4. [ jonny@thinkpad-t410 ~ ]$ udevadm info -a -p $(udevadm info -q path -n /dev/bus/usb/001/010 )
  5.  
  6. Udevadm info starts with the device specified by the devpath and then
  7. walks up the chain of parent devices. It prints for every device
  8. found, all possible attributes in the udev rules key format.
  9. A rule to match, can be composed by the attributes of the device
  10. and the attributes from one single parent device.
  11.  
  12.   looking at device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.4':
  13.     KERNEL=="1-1.5.4"
  14.     SUBSYSTEM=="usb"
  15.     DRIVER=="usb"
  16.     ATTR{configuration}==""
  17.     ATTR{bNumInterfaces}==" 2"
  18.     ATTR{bConfigurationValue}=="1"
  19.     ATTR{bmAttributes}=="a0"
  20.     ATTR{bMaxPower}=="100mA"
  21.     ATTR{urbnum}=="2174"
  22.     ATTR{idVendor}=="17ef"
  23.     ATTR{idProduct}=="6009"
  24.     ATTR{bcdDevice}=="0127"
  25.     ATTR{bDeviceClass}=="00"
  26.     ATTR{bDeviceSubClass}=="00"
  27.     ATTR{bDeviceProtocol}=="00"
  28.     ATTR{bNumConfigurations}=="1"
  29.     ATTR{bMaxPacketSize0}=="8"
  30.     ATTR{speed}=="1.5"
  31.     ATTR{busnum}=="1"
  32.     ATTR{devnum}=="10"
  33.     ATTR{devpath}=="1.5.4"
  34.     ATTR{version}==" 1.10"
  35.     ATTR{maxchild}=="0"
  36.     ATTR{quirks}=="0x0"
  37.     ATTR{avoid_reset_quirk}=="0"
  38.     ATTR{authorized}=="1"
  39.     ATTR{manufacturer}=="Lite-On Technology Corp."
  40.     ATTR{product}=="ThinkPad USB Keyboard with TrackPoint"
  41.  
  42.   looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5':
  43.     KERNELS=="1-1.5"
  44.     SUBSYSTEMS=="usb"
  45.     DRIVERS=="usb"
  46.     ATTRS{configuration}==""
  47.     ATTRS{bNumInterfaces}==" 1"
  48.     ATTRS{bConfigurationValue}=="1"
  49.     ATTRS{bmAttributes}=="e0"
  50.     ATTRS{bMaxPower}=="  2mA"
  51.     ATTRS{urbnum}=="45"
  52.     ATTRS{idVendor}=="17ef"
  53.     ATTRS{idProduct}=="100a"
  54.     ATTRS{bcdDevice}=="0000"
  55.     ATTRS{bDeviceClass}=="09"
  56.     ATTRS{bDeviceSubClass}=="00"
  57.     ATTRS{bDeviceProtocol}=="02"
  58.     ATTRS{bNumConfigurations}=="1"
  59.     ATTRS{bMaxPacketSize0}=="64"
  60.     ATTRS{speed}=="480"
  61.     ATTRS{busnum}=="1"
  62.     ATTRS{devnum}=="9"
  63.     ATTRS{devpath}=="1.5"
  64.     ATTRS{version}==" 2.00"
  65.     ATTRS{maxchild}=="6"
  66.     ATTRS{quirks}=="0x0"
  67.     ATTRS{avoid_reset_quirk}=="0"
  68.     ATTRS{authorized}=="1"
  69.  
  70.   looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1':
  71.     KERNELS=="1-1"
  72.     SUBSYSTEMS=="usb"
  73.     DRIVERS=="usb"
  74.     ATTRS{configuration}==""
  75.     ATTRS{bNumInterfaces}==" 1"
  76.     ATTRS{bConfigurationValue}=="1"
  77.     ATTRS{bmAttributes}=="e0"
  78.     ATTRS{bMaxPower}=="  0mA"
  79.     ATTRS{urbnum}=="109"
  80.     ATTRS{idVendor}=="8087"
  81.     ATTRS{idProduct}=="0020"
  82.     ATTRS{bcdDevice}=="0000"
  83.     ATTRS{bDeviceClass}=="09"
  84.     ATTRS{bDeviceSubClass}=="00"
  85.     ATTRS{bDeviceProtocol}=="01"
  86.     ATTRS{bNumConfigurations}=="1"
  87.     ATTRS{bMaxPacketSize0}=="64"
  88.     ATTRS{speed}=="480"
  89.     ATTRS{busnum}=="1"
  90.     ATTRS{devnum}=="2"
  91.     ATTRS{devpath}=="1"
  92.     ATTRS{version}==" 2.00"
  93.     ATTRS{maxchild}=="6"
  94.     ATTRS{quirks}=="0x0"
  95.     ATTRS{avoid_reset_quirk}=="0"
  96.     ATTRS{authorized}=="1"
  97.  
  98.   looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1':
  99.     KERNELS=="usb1"
  100.     SUBSYSTEMS=="usb"
  101.     DRIVERS=="usb"
  102.     ATTRS{configuration}==""
  103.     ATTRS{bNumInterfaces}==" 1"
  104.     ATTRS{bConfigurationValue}=="1"
  105.     ATTRS{bmAttributes}=="e0"
  106.     ATTRS{bMaxPower}=="  0mA"
  107.     ATTRS{urbnum}=="26"
  108.     ATTRS{idVendor}=="1d6b"
  109.     ATTRS{idProduct}=="0002"
  110.     ATTRS{bcdDevice}=="0302"
  111.     ATTRS{bDeviceClass}=="09"
  112.     ATTRS{bDeviceSubClass}=="00"
  113.     ATTRS{bDeviceProtocol}=="00"
  114.     ATTRS{bNumConfigurations}=="1"
  115.     ATTRS{bMaxPacketSize0}=="64"
  116.     ATTRS{speed}=="480"
  117.     ATTRS{busnum}=="1"
  118.     ATTRS{devnum}=="1"
  119.     ATTRS{devpath}=="0"
  120.     ATTRS{version}==" 2.00"
  121.     ATTRS{maxchild}=="3"
  122.     ATTRS{quirks}=="0x0"
  123.     ATTRS{avoid_reset_quirk}=="0"
  124.     ATTRS{authorized}=="1"
  125.     ATTRS{manufacturer}=="Linux 3.2.0-24-generic-tp ehci_hcd"
  126.     ATTRS{product}=="EHCI Host Controller"
  127.     ATTRS{serial}=="0000:00:1a.0"
  128.     ATTRS{authorized_default}=="1"
  129.  
  130.   looking at parent device '/devices/pci0000:00/0000:00:1a.0':
  131.     KERNELS=="0000:00:1a.0"
  132.     SUBSYSTEMS=="pci"
  133.     DRIVERS=="ehci_hcd"
  134.     ATTRS{vendor}=="0x8086"
  135.     ATTRS{device}=="0x3b3c"
  136.     ATTRS{subsystem_vendor}=="0x17aa"
  137.     ATTRS{subsystem_device}=="0x2163"
  138.     ATTRS{class}=="0x0c0320"
  139.     ATTRS{irq}=="23"
  140.     ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  141.     ATTRS{local_cpulist}=="0-3"
  142.     ATTRS{numa_node}=="-1"
  143.     ATTRS{dma_mask_bits}=="32"
  144.     ATTRS{consistent_dma_mask_bits}=="32"
  145.     ATTRS{broken_parity_status}=="0"
  146.     ATTRS{msi_bus}==""
  147.     ATTRS{companion}==""
  148.     ATTRS{uframe_periodic_max}=="100"
  149.  
  150.   looking at parent device '/devices/pci0000:00':
  151.     KERNELS=="pci0000:00"
  152.     SUBSYSTEMS==""
  153.     DRIVERS==""
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top