bkerby

udevadm info

Jan 29th, 2012
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #> udevadm info -a -n /dev/sdc
  2.  
  3. Udevadm info starts with the device specified by the devpath and then
  4. walks up the chain of parent devices. It prints for every device
  5. found, all possible attributes in the udev rules key format.
  6. A rule to match, can be composed by the attributes of the device
  7. and the attributes from one single parent device.
  8.  
  9. looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/host10/target10:0:0/10:0:0:0/block/sdc':
  10. KERNEL=="sdc"
  11. SUBSYSTEM=="block"
  12. DRIVER==""
  13. ATTR{range}=="16"
  14. ATTR{ext_range}=="256"
  15. ATTR{removable}=="1"
  16. ATTR{ro}=="0"
  17. ATTR{size}=="15462400"
  18. ATTR{alignment_offset}=="0"
  19. ATTR{discard_alignment}=="0"
  20. ATTR{capability}=="51"
  21. ATTR{stat}==" 86 0 688 160 0 0 0 0 0 160 160"
  22. ATTR{inflight}==" 0 0"
  23. ATTR{events}=="media_change"
  24. ATTR{events_async}==""
  25. ATTR{events_poll_msecs}=="-1"
  26.  
  27. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/host10/target10:0:0/10:0:0:0':
  28. KERNELS=="10:0:0:0"
  29. SUBSYSTEMS=="scsi"
  30. DRIVERS=="sd"
  31. ATTRS{device_blocked}=="0"
  32. ATTRS{type}=="0"
  33. ATTRS{scsi_level}=="0"
  34. ATTRS{vendor}=="SanDisk "
  35. ATTRS{model}=="Sansa Clip+ 8GB "
  36. ATTRS{rev}=="v01."
  37. ATTRS{state}=="running"
  38. ATTRS{timeout}=="30"
  39. ATTRS{iocounterbits}=="32"
  40. ATTRS{iorequest_cnt}=="0x78"
  41. ATTRS{iodone_cnt}=="0x78"
  42. ATTRS{ioerr_cnt}=="0x0"
  43. ATTRS{evt_media_change}=="0"
  44. ATTRS{queue_depth}=="1"
  45. ATTRS{queue_type}=="none"
  46. ATTRS{max_sectors}=="240"
  47.  
  48. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/host10/target10:0:0':
  49. KERNELS=="target10:0:0"
  50. SUBSYSTEMS=="scsi"
  51. DRIVERS==""
  52.  
  53. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/host10':
  54. KERNELS=="host10"
  55. SUBSYSTEMS=="scsi"
  56. DRIVERS==""
  57.  
  58. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0':
  59. KERNELS=="1-4:1.0"
  60. SUBSYSTEMS=="usb"
  61. DRIVERS=="usb-storage"
  62. ATTRS{bInterfaceNumber}=="00"
  63. ATTRS{bAlternateSetting}==" 0"
  64. ATTRS{bNumEndpoints}=="02"
  65. ATTRS{bInterfaceClass}=="08"
  66. ATTRS{bInterfaceSubClass}=="06"
  67. ATTRS{bInterfaceProtocol}=="50"
  68. ATTRS{supports_autosuspend}=="1"
  69. ATTRS{interface}=="ms ifac 1 (SCSI::BULK_ONLY)"
  70.  
  71. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4':
  72. KERNELS=="1-4"
  73. SUBSYSTEMS=="usb"
  74. DRIVERS=="usb"
  75. ATTRS{configuration}=="config1: Mass Storage only"
  76. ATTRS{bNumInterfaces}==" 1"
  77. ATTRS{bConfigurationValue}=="1"
  78. ATTRS{bmAttributes}=="80"
  79. ATTRS{bMaxPower}=="500mA"
  80. ATTRS{urbnum}=="418"
  81. ATTRS{idVendor}=="0781"
  82. ATTRS{idProduct}=="74d1"
  83. ATTRS{bcdDevice}=="aa8c"
  84. ATTRS{bDeviceClass}=="00"
  85. ATTRS{bDeviceSubClass}=="00"
  86. ATTRS{bDeviceProtocol}=="00"
  87. ATTRS{bNumConfigurations}=="1"
  88. ATTRS{bMaxPacketSize0}=="64"
  89. ATTRS{speed}=="480"
  90. ATTRS{busnum}=="1"
  91. ATTRS{devnum}=="16"
  92. ATTRS{devpath}=="4"
  93. ATTRS{version}==" 2.00"
  94. ATTRS{maxchild}=="0"
  95. ATTRS{quirks}=="0x0"
  96. ATTRS{avoid_reset_quirk}=="0"
  97. ATTRS{authorized}=="1"
  98. ATTRS{manufacturer}=="SanDisk"
  99. ATTRS{product}=="SanDisk Sansa Clip+"
  100. ATTRS{serial}=="3026FC126627B8A80000000000000000"
  101.  
  102. looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
  103. KERNELS=="usb1"
  104. SUBSYSTEMS=="usb"
  105. DRIVERS=="usb"
  106. ATTRS{configuration}==""
  107. ATTRS{bNumInterfaces}==" 1"
  108. ATTRS{bConfigurationValue}=="1"
  109. ATTRS{bmAttributes}=="e0"
  110. ATTRS{bMaxPower}==" 0mA"
  111. ATTRS{urbnum}=="353"
  112. ATTRS{idVendor}=="1d6b"
  113. ATTRS{idProduct}=="0002"
  114. ATTRS{bcdDevice}=="0206"
  115. ATTRS{bDeviceClass}=="09"
  116. ATTRS{bDeviceSubClass}=="00"
  117. ATTRS{bDeviceProtocol}=="00"
  118. ATTRS{bNumConfigurations}=="1"
  119. ATTRS{bMaxPacketSize0}=="64"
  120. ATTRS{speed}=="480"
  121. ATTRS{busnum}=="1"
  122. ATTRS{devnum}=="1"
  123. ATTRS{devpath}=="0"
  124. ATTRS{version}==" 2.00"
  125. ATTRS{maxchild}=="10"
  126. ATTRS{quirks}=="0x0"
  127. ATTRS{avoid_reset_quirk}=="0"
  128. ATTRS{authorized}=="1"
  129. ATTRS{manufacturer}=="Linux 2.6.38-gentoo-r2 ehci_hcd"
  130. ATTRS{product}=="EHCI Host Controller"
  131. ATTRS{serial}=="0000:00:02.1"
  132. ATTRS{authorized_default}=="1"
  133.  
  134. looking at parent device '/devices/pci0000:00/0000:00:02.1':
  135. KERNELS=="0000:00:02.1"
  136. SUBSYSTEMS=="pci"
  137. DRIVERS=="ehci_hcd"
  138. ATTRS{vendor}=="0x10de"
  139. ATTRS{device}=="0x03f2"
  140. ATTRS{subsystem_vendor}=="0x1462"
  141. ATTRS{subsystem_device}=="0x7309"
  142. ATTRS{class}=="0x0c0320"
  143. ATTRS{irq}=="21"
  144. ATTRS{local_cpus}=="ffffffff"
  145. ATTRS{local_cpulist}=="0-31"
  146. ATTRS{dma_mask_bits}=="32"
  147. ATTRS{consistent_dma_mask_bits}=="32"
  148. ATTRS{enable}=="1"
  149. ATTRS{broken_parity_status}=="0"
  150. ATTRS{msi_bus}==""
  151. ATTRS{companion}==""
  152.  
  153. looking at parent device '/devices/pci0000:00':
  154. KERNELS=="pci0000:00"
  155. SUBSYSTEMS==""
  156. DRIVERS==""
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×