daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jul 6th, 2014 284 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. Udevadm info starts with the device specified by the devpath and then
  3. walks up the chain of parent devices. It prints for every device
  4. found, all possible attributes in the udev rules key format.
  5. A rule to match, can be composed by the attributes of the device
  6. and the attributes from one single parent device.
  7.  
  8.   looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2/input/input7/js0':
  9.     KERNEL=="js0"
  10.     SUBSYSTEM=="input"
  11.     DRIVER==""
  12.  
  13.   looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2/input/input7':
  14.     KERNELS=="input7"
  15.     SUBSYSTEMS=="input"
  16.     DRIVERS==""
  17.     ATTRS{phys}=="usb-0000:00:1d.0-1.5/input2"
  18.     ATTRS{uniq}==""
  19.     ATTRS{properties}=="0"
  20.  
  21.   looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2':
  22.     KERNELS=="2-1.5:1.2"
  23.     SUBSYSTEMS=="usb"
  24.     DRIVERS=="usbhid"
  25.     ATTRS{bInterfaceClass}=="03"
  26.     ATTRS{bInterfaceSubClass}=="00"
  27.     ATTRS{bInterfaceProtocol}=="00"
  28.     ATTRS{bNumEndpoints}=="01"
  29.     ATTRS{supports_autosuspend}=="1"
  30.     ATTRS{bAlternateSetting}==" 0"
  31.     ATTRS{bInterfaceNumber}=="02"
  32.  
  33.   looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
  34.     KERNELS=="2-1.5"
  35.     SUBSYSTEMS=="usb"
  36.     DRIVERS=="usb"
  37.     ATTRS{bDeviceSubClass}=="00"
  38.     ATTRS{bDeviceProtocol}=="00"
  39.     ATTRS{devpath}=="1.5"
  40.     ATTRS{idVendor}=="045e"
  41.     ATTRS{speed}=="12"
  42.     ATTRS{bNumInterfaces}==" 3"
  43.     ATTRS{bConfigurationValue}=="1"
  44.     ATTRS{bMaxPacketSize0}=="64"
  45.     ATTRS{busnum}=="2"
  46.     ATTRS{devnum}=="3"
  47.     ATTRS{configuration}==""
  48.     ATTRS{bMaxPower}=="100mA"
  49.     ATTRS{authorized}=="1"
  50.     ATTRS{bmAttributes}=="a0"
  51.     ATTRS{bNumConfigurations}=="1"
  52.     ATTRS{maxchild}=="0"
  53.     ATTRS{bcdDevice}=="0757"
  54.     ATTRS{avoid_reset_quirk}=="0"
  55.     ATTRS{quirks}=="0x0"
  56.     ATTRS{version}==" 2.00"
  57.     ATTRS{urbnum}=="85947"
  58.     ATTRS{ltm_capable}=="no"
  59.     ATTRS{manufacturer}=="Microsoft"
  60.     ATTRS{removable}=="removable"
  61.     ATTRS{idProduct}=="07a5"
  62.     ATTRS{bDeviceClass}=="00"
  63.  
  64.   looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
  65.     KERNELS=="2-1"
  66.     SUBSYSTEMS=="usb"
  67.     DRIVERS=="usb"
  68.     ATTRS{bDeviceSubClass}=="00"
  69.     ATTRS{bDeviceProtocol}=="01"
  70.     ATTRS{devpath}=="1"
  71.     ATTRS{idVendor}=="8087"
  72.     ATTRS{speed}=="480"
  73.     ATTRS{bNumInterfaces}==" 1"
  74.     ATTRS{bConfigurationValue}=="1"
  75.     ATTRS{bMaxPacketSize0}=="64"
  76.     ATTRS{busnum}=="2"
  77.     ATTRS{devnum}=="2"
  78.     ATTRS{configuration}==""
  79.     ATTRS{bMaxPower}=="0mA"
  80.     ATTRS{authorized}=="1"
  81.     ATTRS{bmAttributes}=="e0"
  82.     ATTRS{bNumConfigurations}=="1"
  83.     ATTRS{maxchild}=="8"
  84.     ATTRS{bcdDevice}=="0000"
  85.     ATTRS{avoid_reset_quirk}=="0"
  86.     ATTRS{quirks}=="0x0"
  87.     ATTRS{version}==" 2.00"
  88.     ATTRS{urbnum}=="34"
  89.     ATTRS{ltm_capable}=="no"
  90.     ATTRS{removable}=="fixed"
  91.     ATTRS{idProduct}=="0024"
  92.     ATTRS{bDeviceClass}=="09"
  93.  
  94.   looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
  95.     KERNELS=="usb2"
  96.     SUBSYSTEMS=="usb"
  97.     DRIVERS=="usb"
  98.     ATTRS{bDeviceSubClass}=="00"
  99.     ATTRS{bDeviceProtocol}=="00"
  100.     ATTRS{devpath}=="0"
  101.     ATTRS{idVendor}=="1d6b"
  102.     ATTRS{speed}=="480"
  103.     ATTRS{bNumInterfaces}==" 1"
  104.     ATTRS{bConfigurationValue}=="1"
  105.     ATTRS{bMaxPacketSize0}=="64"
  106.     ATTRS{authorized_default}=="1"
  107.     ATTRS{busnum}=="2"
  108.     ATTRS{devnum}=="1"
  109.     ATTRS{configuration}==""
  110.     ATTRS{bMaxPower}=="0mA"
  111.     ATTRS{authorized}=="1"
  112.     ATTRS{bmAttributes}=="e0"
  113.     ATTRS{bNumConfigurations}=="1"
  114.     ATTRS{maxchild}=="2"
  115.     ATTRS{bcdDevice}=="0313"
  116.     ATTRS{avoid_reset_quirk}=="0"
  117.     ATTRS{quirks}=="0x0"
  118.     ATTRS{serial}=="0000:00:1d.0"
  119.     ATTRS{version}==" 2.00"
  120.     ATTRS{urbnum}=="24"
  121.     ATTRS{ltm_capable}=="no"
  122.     ATTRS{manufacturer}=="Linux 3.13.0-30-generic ehci_hcd"
  123.     ATTRS{removable}=="unknown"
  124.     ATTRS{idProduct}=="0002"
  125.     ATTRS{bDeviceClass}=="09"
  126.     ATTRS{product}=="EHCI Host Controller"
  127.  
  128.   looking at parent device '/devices/pci0000:00/0000:00:1d.0':
  129.     KERNELS=="0000:00:1d.0"
  130.     SUBSYSTEMS=="pci"
  131.     DRIVERS=="ehci-pci"
  132.     ATTRS{irq}=="23"
  133.     ATTRS{subsystem_vendor}=="0x1458"
  134.     ATTRS{broken_parity_status}=="0"
  135.     ATTRS{class}=="0x0c0320"
  136.     ATTRS{companion}==""
  137.     ATTRS{enabled}=="1"
  138.     ATTRS{consistent_dma_mask_bits}=="32"
  139.     ATTRS{dma_mask_bits}=="32"
  140.     ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  141.     ATTRS{device}=="0x1e26"
  142.     ATTRS{uframe_periodic_max}=="100"
  143.     ATTRS{msi_bus}==""
  144.     ATTRS{local_cpulist}=="0-3"
  145.     ATTRS{vendor}=="0x8086"
  146.     ATTRS{subsystem_device}=="0x5006"
  147.     ATTRS{numa_node}=="-1"
  148.     ATTRS{d3cold_allowed}=="1"
  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