Advertisement
Guest User

Untitled

a guest
Jul 10th, 2012
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.97 KB | None | 0 0
  1. # udevadm info --attribute-walk --name=/dev/ttyACM0
  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/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/tty/ttyACM0':
  10. KERNEL=="ttyACM0"
  11. SUBSYSTEM=="tty"
  12. DRIVER==""
  13.  
  14. looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0':
  15. KERNELS=="1-1.3:1.0"
  16. SUBSYSTEMS=="usb"
  17. DRIVERS=="cdc_acm"
  18. ATTRS{bInterfaceNumber}=="00"
  19. ATTRS{bAlternateSetting}==" 0"
  20. ATTRS{bNumEndpoints}=="01"
  21. ATTRS{bInterfaceClass}=="02"
  22. ATTRS{bInterfaceSubClass}=="02"
  23. ATTRS{bInterfaceProtocol}=="01"
  24. ATTRS{modalias}=="usb:v2341p0010d0000dc02dsc00dp00ic02isc02ip01"
  25. ATTRS{supports_autosuspend}=="1"
  26. ATTRS{bmCapabilities}=="6"
  27.  
  28. looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3':
  29. KERNELS=="1-1.3"
  30. SUBSYSTEMS=="usb"
  31. DRIVERS=="usb"
  32. ATTRS{configuration}==""
  33. ATTRS{bNumInterfaces}==" 2"
  34. ATTRS{bConfigurationValue}=="1"
  35. ATTRS{bmAttributes}=="c0"
  36. ATTRS{bMaxPower}=="100mA"
  37. ATTRS{urbnum}=="12"
  38. ATTRS{idVendor}=="2341"
  39. ATTRS{idProduct}=="0010"
  40. ATTRS{bcdDevice}=="0000"
  41. ATTRS{bDeviceClass}=="02"
  42. ATTRS{bDeviceSubClass}=="00"
  43. ATTRS{bDeviceProtocol}=="00"
  44. ATTRS{bNumConfigurations}=="1"
  45. ATTRS{bMaxPacketSize0}=="8"
  46. ATTRS{speed}=="12"
  47. ATTRS{busnum}=="1"
  48. ATTRS{devnum}=="5"
  49. ATTRS{devpath}=="1.3"
  50. ATTRS{version}==" 1.10"
  51. ATTRS{maxchild}=="0"
  52. ATTRS{quirks}=="0x0"
  53. ATTRS{avoid_reset_quirk}=="0"
  54. ATTRS{authorized}=="1"
  55. ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
  56. ATTRS{product}=="Arduino Mega 2560"
  57. ATTRS{serial}=="64932343738351C0A1C0"
  58.  
  59. looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1':
  60. KERNELS=="1-1"
  61. SUBSYSTEMS=="usb"
  62. DRIVERS=="usb"
  63. ATTRS{configuration}==""
  64. ATTRS{bNumInterfaces}==" 1"
  65. ATTRS{bConfigurationValue}=="1"
  66. ATTRS{bmAttributes}=="e0"
  67. ATTRS{bMaxPower}==" 2mA"
  68. ATTRS{urbnum}=="50"
  69. ATTRS{idVendor}=="0424"
  70. ATTRS{idProduct}=="9512"
  71. ATTRS{bcdDevice}=="0200"
  72. ATTRS{bDeviceClass}=="09"
  73. ATTRS{bDeviceSubClass}=="00"
  74. ATTRS{bDeviceProtocol}=="02"
  75. ATTRS{bNumConfigurations}=="1"
  76. ATTRS{bMaxPacketSize0}=="64"
  77. ATTRS{speed}=="480"
  78. ATTRS{busnum}=="1"
  79. ATTRS{devnum}=="2"
  80. ATTRS{devpath}=="1"
  81. ATTRS{version}==" 2.00"
  82. ATTRS{maxchild}=="3"
  83. ATTRS{quirks}=="0x0"
  84. ATTRS{avoid_reset_quirk}=="0"
  85. ATTRS{authorized}=="1"
  86.  
  87. looking at parent device '/devices/platform/bcm2708_usb/usb1':
  88. KERNELS=="usb1"
  89. SUBSYSTEMS=="usb"
  90. DRIVERS=="usb"
  91. ATTRS{configuration}==""
  92. ATTRS{bNumInterfaces}==" 1"
  93. ATTRS{bConfigurationValue}=="1"
  94. ATTRS{bmAttributes}=="e0"
  95. ATTRS{bMaxPower}==" 0mA"
  96. ATTRS{urbnum}=="25"
  97. ATTRS{idVendor}=="1d6b"
  98. ATTRS{idProduct}=="0002"
  99. ATTRS{bcdDevice}=="0301"
  100. ATTRS{bDeviceClass}=="09"
  101. ATTRS{bDeviceSubClass}=="00"
  102. ATTRS{bDeviceProtocol}=="00"
  103. ATTRS{bNumConfigurations}=="1"
  104. ATTRS{bMaxPacketSize0}=="64"
  105. ATTRS{speed}=="480"
  106. ATTRS{busnum}=="1"
  107. ATTRS{devnum}=="1"
  108. ATTRS{devpath}=="0"
  109. ATTRS{version}==" 2.00"
  110. ATTRS{maxchild}=="1"
  111. ATTRS{quirks}=="0x0"
  112. ATTRS{avoid_reset_quirk}=="0"
  113. ATTRS{authorized}=="1"
  114. ATTRS{manufacturer}=="Linux 3.1.9+ dwc_otg_hcd"
  115. ATTRS{product}=="DWC OTG Controller"
  116. ATTRS{serial}=="bcm2708_usb"
  117. ATTRS{authorized_default}=="1"
  118.  
  119. looking at parent device '/devices/platform/bcm2708_usb':
  120. KERNELS=="bcm2708_usb"
  121. SUBSYSTEMS=="platform"
  122. DRIVERS=="dwc_otg"
  123. ATTRS{modalias}=="platform:bcm2708_usb"
  124. ATTRS{regoffset}=="0xffffffff"
  125. ATTRS{regvalue}=="invalid offset"
  126. ATTRS{mode}=="Mode = 0x1"
  127. ATTRS{hnpcapable}=="HNPCapable = 0x1"
  128. ATTRS{srpcapable}=="Mode = 0x1"
  129. ATTRS{hsic_connect}=="HSIC Connect = 0x1"
  130. ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
  131. ATTRS{hnp}=="HstNegScs = 0x0"
  132. ATTRS{srp}=="SesReqScs = 0x1"
  133. ATTRS{buspower}=="Bus Power = 0x1"
  134. ATTRS{bussuspend}=="Bus Suspend = 0x0"
  135. ATTRS{busconnected}=="Bus Connected = 0x1"
  136. ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
  137. ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
  138. ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
  139. ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
  140. ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
  141. ATTRS{ggpio}=="GGPIO = 0x00000000"
  142. ATTRS{guid}=="GUID = 0x2708a000"
  143. ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
  144. ATTRS{devspeed}=="Device Speed = 0x0"
  145. ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
  146. ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
  147. ATTRS{hprt0}=="HPRT0 = 0x00001005"
  148. ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
  149. ATTRS{regdump}=="Register Dump"
  150. Segmentation fault
  151. [...]
  152. dwc_otg bcm2708_usb: Invalid offset (0xffffffff)
  153. mode_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  154. hnpcapable_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  155. srpcapable_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  156. hsic_connect_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  157. inv_sel_hsic_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  158. busconnected_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  159. gotgctl_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  160. gusbcfg_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  161. grxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  162. gnptxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  163. gpvndctl_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  164. ggpio_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  165. guid_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  166. gsnpsid_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  167. devspeed_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  168. WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
  169.  
  170. enumspeed_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  171. WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
  172.  
  173. hptxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  174. hprt0_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
  175. WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
  176.  
  177. Core Global Registers
  178. GOTGCTL @0xCC840000 : 0x001C0001
  179. GOTGINT @0xCC840004 : 0x00000000
  180. GAHBCFG @0xCC840008 : 0x00000031
  181. GUSBCFG @0xCC84000C : 0x20001700
  182. GRSTCTL @0xCC840010 : 0x80000000
  183. GINTSTS @0xCC840014 : 0x04600001
  184. GINTMSK @0xCC840018 : 0xF300080E
  185. GRXSTSR @0xCC84001C : 0x00050701
  186. GRXFSIZ @0xCC840024 : 0x00000306
  187. GNPTXFSIZ @0xCC840028 : 0x01000306
  188. GNPTXSTS @0xCC84002C : 0x10000100
  189. GI2CCTL @0xCC840030 : 0x00000000
  190. GPVNDCTL @0xCC840034 : 0x00000000
  191. GGPIO @0xCC840038 : 0x00000000
  192. GUID @0xCC84003C : 0x2708A000
  193. GSNPSID @0xCC840040 : 0x4F54280A
  194. GHWCFG1 @0xCC840044 : 0x00000000
  195. GHWCFG2 @0xCC840048 : 0x228DDD50
  196. GHWCFG3 @0xCC84004C : 0x0FF000E8
  197. GHWCFG4 @0xCC840050 : 0x1FF00020
  198. GLPMCFG @0xCC840054 : 0x75736230
  199. HPTXFSIZ @0xCC840100 : 0x02000406
  200. PCGCCTL @0xCC840E00 : 0x00000000
  201. Host Global Registers
  202. HCFG @0xCC840400 : 0x00000000
  203. HFIR @0xCC840404 : 0x0000EA60
  204. HFNUM @0xCC840408 : 0x04930598
  205. HPTXSTS @0xCC840410 : 0x31080200
  206. HAINT @0xCC840414 : 0x00000000
  207. HAINTMSK @0xCC840418 : 0x000000FF
  208. HPRT0 @0xCC840440 : 0x00001005
  209. Host Channel 0 Specific Registers
  210. HCCHAR @0xCC840500 : 0x01188A00
  211. HCSPLT @0xCC840504 : 0x00000000
  212. HCINT @0xCC840508 : 0x00000000
  213. HCINTMSK @0xCC84050C : 0x00000000
  214. HCTSIZ @0xCC840510 : 0x80380ECC
  215. HCDMA @0xCC840514 : 0x4B9E4CC0
  216. Host Channel 1 Specific Registers
  217. HCCHAR @0xCC840520 : 0x00DC9810
  218. HCSPLT @0xCC840524 : 0x00000000
  219. HCINT @0xCC840528 : 0x00000000
  220. HCINTMSK @0xCC84052C : 0x00000006
  221. HCTSIZ @0xCC840530 : 0x80080010
  222. HCDMA @0xCC840534 : 0x4B9E4CC0
  223. Host Channel 2 Specific Registers
  224. HCCHAR @0xCC840540 : 0x80D88A00
  225. HCSPLT @0xCC840544 : 0x00000000
  226. HCINT @0xCC840548 : 0x00000010
  227. HCINTMSK @0xCC84054C : 0x00000006
  228. HCTSIZ @0xCC840550 : 0x01284A00
  229. HCDMA @0xCC840554 : 0x4AA20000
  230. Host Channel 3 Specific Registers
  231. HCCHAR @0xCC840560 : 0x81188A00
  232. HCSPLT @0xCC840564 : 0x00000000
  233. HCINT @0xCC840568 : 0x00000000
  234. HCINTMSK @0xCC84056C : 0x00000000
  235. HCTSIZ @0xCC840570 : 0x80380F84
  236. HCDMA @0xCC840574 : 0x4ABF00A8
  237. Host Channel 4 Specific Registers
  238. HCCHAR @0xCC840580 : 0x81188A00
  239. HCSPLT @0xCC840584 : 0x00000000
  240. HCINT @0xCC840588 : 0x00000010
  241. HCINTMSK @0xCC84058C : 0x00000006
  242. HCTSIZ @0xCC840590 : 0x00401000
  243. HCDMA @0xCC840594 : 0x4AAC202C
  244. Host Channel 5 Specific Registers
  245. HCCHAR @0xCC8405A0 : 0x20DC9810
  246. HCSPLT @0xCC8405A4 : 0x00000000
  247. HCINT @0xCC8405A8 : 0x00000000
  248. HCINTMSK @0xCC8405AC : 0x00000000
  249. HCTSIZ @0xCC8405B0 : 0x80080010
  250. HCDMA @0xCC8405B4 : 0x4B9E4CC0
  251. Host Channel 6 Specific Registers
  252. HCCHAR @0xCC8405C0 : 0x20DC9810
  253. HCSPLT @0xCC8405C4 : 0x00000000
  254. HCINT @0xCC8405C8 : 0x00000000
  255. HCINTMSK @0xCC8405CC : 0x00000000
  256. HCTSIZ @0xCC8405D0 : 0x80080010
  257. HCDMA @0xCC8405D4 : 0x4B9E4CC0
  258. Host Channel 7 Specific Registers
  259. HCCHAR @0xCC8405E0 : 0x20DC9810
  260. HCSPLT @0xCC8405E4 : 0x00000000
  261. HCINT @0xCC8405E8 : 0x00000000
  262. HCINTMSK @0xCC8405EC : 0x00000000
  263. HCTSIZ @0xCC8405F0 : 0x80080010
  264. HCDMA @0xCC8405F4 : 0x4B9E4CC0
  265. SPRAM Data:
  266. Base Address: 0xCC840000
  267. Unable to handle kernel paging request at virtual address cc868000
  268. pgd = cabe4000
  269. [cc868000] *pgd=0b816811, *pte=00000000, *ppte=00000000
  270. Internal error: Oops: 7 [#7]
  271. Modules linked in: aes_generic fuse arc4 rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 cfg80211 cdc_acm
  272. CPU: 0 Tainted: G D (3.1.9+ #90)
  273. pc : [<c02150a4>] lr : [<c001f3bc>] psr: 80000013
  274. sp : cba45e50 ip : cba45d40 fp : cba45ed4
  275. r10: 00001000 r9 : c039e020 r8 : be86daf8
  276. r7 : cba45f70 r6 : cb9fda58 r5 : cb90fd40 r4 : cc868000
  277. r3 : cc8680e0 r2 : 60000013 r1 : 00000000 r0 : 0000001c
  278. Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
  279. Control: 00c5387d Table: 0abe4008 DAC: 00000015
  280. Process udevadm (pid: 22359, stack limit = 0xcba44268)
  281. Stack: (0xcba45e50 to 0xcba46000)
  282. 5e40: 00000000 00000041 c03b5660 00000000
  283. 5e60: cba45ec4 cba45e70 c008bc64 c008bb3c cba45e94 c03a2bf0 0000004b 00000000
  284. 5e80: cba45f44 ffffff9c cba45ea4 cc8680e0 c7b06cd8 00000000 00000000 00000000
  285. 5ea0: cba45ed0 00000001 ffffff9c cbb88000 ca8ab5f8 cb9fda58 cba45f70 be86daf8
  286. 5ec0: c039e020 00001000 cba45eec cba45ed8 c0211674 c0215068 c0211658 ca8ab5e0
  287. 5ee0: cba45efc cba45ef0 c01d1f78 c0211664 cba45f3c cba45f00 c00d1c30 c01d1f64
  288. 5f00: cba45f94 cba45f10 c000ddd4 c031b37c caa723c8 caa723c0 00001000 be86daf8
  289. 5f20: cba45f70 00001000 cba44000 00000000 cba45f6c cba45f40 c007f2b8 c00d1b94
  290. 5f40: c039e9f0 cb96b820 cba45f6c caa723c0 be86daf8 00000000 00000000 00001000
  291. 5f60: cba45fa4 cba45f70 c007f390 c007f20c 00000000 00000000 40091e08 00000000
  292. 5f80: 00000005 4028fbb3 be86daf8 40288fa0 00000003 c000e3c8 00000000 cba45fa8
  293. 5fa0: c000e220 c007f358 4028fbb3 be86daf8 00000004 be86daf8 00001000 00000004
  294. 5fc0: 4028fbb3 be86daf8 40288fa0 00000003 40288ff4 00000000 00000000 00000073
  295. 5fe0: 00000004 be86daf0 4007d86c 4020f0dc 60000010 00000004 00000000 00000000
  296. Backtrace:
  297. Function entered at [<c021505c>] from [<c0211674>]
  298. Function entered at [<c0211658>] from [<c01d1f78>]
  299. r4:ca8ab5e0 r3:c0211658
  300. Function entered at [<c01d1f58>] from [<c00d1c30>]
  301. Function entered at [<c00d1b88>] from [<c007f2b8>]
  302. Function entered at [<c007f200>] from [<c007f390>]
  303. r8:00001000 r7:00000000 r6:00000000 r5:be86daf8 r4:caa723c0
  304. Function entered at [<c007f34c>] from [<c000e220>]
  305. r8:c000e3c8 r7:00000003 r6:40288fa0 r5:be86daf8 r4:4028fbb3
  306. Code: e28330e0 e1540003 e50b3048 2a000030 (e5d42000)
  307. ---[ end trace 8c06a9daf65492cb ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement