Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2012
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. root@R2D2:/home/roberth # usbconfig -d 0.5 dump_curr_config_desc dump_device_desc
  2. ugen0.5: <M2Tech USB Audio 2.0 M2Tech> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
  3.  
  4. bLength = 0x0012
  5. bDescriptorType = 0x0001
  6. bcdUSB = 0x0200
  7. bDeviceClass = 0x00ef
  8. bDeviceSubClass = 0x0002
  9. bDeviceProtocol = 0x0001
  10. bMaxPacketSize0 = 0x0040
  11. idVendor = 0x249c
  12. idProduct = 0x930b
  13. bcdDevice = 0x0210
  14. iManufacturer = 0x0001 <M2Tech >
  15. iProduct = 0x0002 <M2Tech USB Audio 2.0>
  16. iSerialNumber = 0x0003 <0000>
  17. bNumConfigurations = 0x0002
  18.  
  19.  
  20. Configuration index 0
  21.  
  22. bLength = 0x0009
  23. bDescriptorType = 0x0002
  24. wTotalLength = 0x00b9
  25. bNumInterfaces = 0x0003
  26. bConfigurationValue = 0x0001
  27. iConfiguration = 0x0000 <no string>
  28. bmAttributes = 0x0080
  29. bMaxPower = 0x00fa
  30.  
  31. Additional Descriptor
  32.  
  33. bLength = 0x08
  34. bDescriptorType = 0x0b
  35. bDescriptorSubType = 0x00
  36. RAW dump:
  37. 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x20, 0x00
  38.  
  39.  
  40. Interface 0
  41. bLength = 0x0009
  42. bDescriptorType = 0x0004
  43. bInterfaceNumber = 0x0000
  44. bAlternateSetting = 0x0000
  45. bNumEndpoints = 0x0001
  46. bInterfaceClass = 0x0001
  47. bInterfaceSubClass = 0x0001
  48. bInterfaceProtocol = 0x0020
  49. iInterface = 0x0002 <M2Tech USB Audio 2.0>
  50.  
  51. Additional Descriptor
  52.  
  53. bLength = 0x09
  54. bDescriptorType = 0x24
  55. bDescriptorSubType = 0x01
  56. RAW dump:
  57. 0x00 | 0x09, 0x24, 0x01, 0x00, 0x02, 0x08, 0x48, 0x00,
  58. 0x08 | 0x00
  59.  
  60. Additional Descriptor
  61.  
  62. bLength = 0x08
  63. bDescriptorType = 0x24
  64. bDescriptorSubType = 0x0a
  65. RAW dump:
  66. 0x00 | 0x08, 0x24, 0x0a, 0x29, 0x03, 0x07, 0x00, 0x09
  67.  
  68.  
  69. Additional Descriptor
  70.  
  71. bLength = 0x08
  72. bDescriptorType = 0x24
  73. bDescriptorSubType = 0x0b
  74. RAW dump:
  75. 0x00 | 0x08, 0x24, 0x0b, 0x28, 0x01, 0x29, 0x03, 0x08
  76.  
  77.  
  78. Additional Descriptor
  79.  
  80. bLength = 0x11
  81. bDescriptorType = 0x24
  82. bDescriptorSubType = 0x02
  83. RAW dump:
  84. 0x00 | 0x11, 0x24, 0x02, 0x02, 0x01, 0x01, 0x00, 0x28,
  85. 0x08 | 0x02, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00,
  86. 0x10 | 0x06
  87.  
  88. Additional Descriptor
  89.  
  90. bLength = 0x12
  91. bDescriptorType = 0x24
  92. bDescriptorSubType = 0x06
  93. RAW dump:
  94. 0x00 | 0x12, 0x24, 0x06, 0x0a, 0x02, 0x0f, 0x00, 0x00,
  95. 0x08 | 0x00, 0x0f, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00,
  96. 0x10 | 0x00, 0x00
  97.  
  98.  
  99. Additional Descriptor
  100.  
  101. bLength = 0x0c
  102. bDescriptorType = 0x24
  103. bDescriptorSubType = 0x03
  104. RAW dump:
  105. 0x00 | 0x0c, 0x24, 0x03, 0x14, 0x01, 0x03, 0x00, 0x0a,
  106. 0x08 | 0x28, 0x00, 0x00, 0x00
  107.  
  108.  
  109. Endpoint 0
  110. bLength = 0x0007
  111. bDescriptorType = 0x0005
  112. bEndpointAddress = 0x0084 <IN>
  113. bmAttributes = 0x0003 <INTERRUPT>
  114. wMaxPacketSize = 0x0006
  115. bInterval = 0x0008
  116. bRefresh = 0x0000
  117. bSynchAddress = 0x0000
  118.  
  119.  
  120. Interface 1
  121. bLength = 0x0009
  122. bDescriptorType = 0x0004
  123. bInterfaceNumber = 0x0001
  124. bAlternateSetting = 0x0000
  125. bNumEndpoints = 0x0000
  126. bInterfaceClass = 0x0001
  127. bInterfaceSubClass = 0x0002
  128. bInterfaceProtocol = 0x0020
  129. iInterface = 0x0004 <M2Tech USB 2.0 Audio Out>
  130.  
  131.  
  132. Interface 1 Alt 1
  133. bLength = 0x0009
  134. bDescriptorType = 0x0004
  135. bInterfaceNumber = 0x0001
  136. bAlternateSetting = 0x0001
  137. bNumEndpoints = 0x0002
  138. bInterfaceClass = 0x0001
  139. bInterfaceSubClass = 0x0002
  140. bInterfaceProtocol = 0x0020
  141. iInterface = 0x0004 <M2Tech USB 2.0 Audio Out>
  142.  
  143. Additional Descriptor
  144.  
  145. bLength = 0x10
  146. bDescriptorType = 0x24
  147. bDescriptorSubType = 0x01
  148. RAW dump:
  149. 0x00 | 0x10, 0x24, 0x01, 0x02, 0x00, 0x01, 0x01, 0x00,
  150. 0x08 | 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x0f
  151.  
  152.  
  153. Additional Descriptor
  154.  
  155. bLength = 0x06
  156. bDescriptorType = 0x24
  157. bDescriptorSubType = 0x02
  158. RAW dump:
  159. 0x00 | 0x06, 0x24, 0x02, 0x01, 0x04, 0x18
  160.  
  161.  
  162. Endpoint 0
  163. bLength = 0x0007
  164. bDescriptorType = 0x0005
  165. bEndpointAddress = 0x0001 <OUT>
  166. bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
  167. wMaxPacketSize = 0x0400
  168. bInterval = 0x0001
  169. bRefresh = 0x0000
  170. bSynchAddress = 0x0000
  171.  
  172. Additional Descriptor
  173.  
  174. bLength = 0x08
  175. bDescriptorType = 0x25
  176. bDescriptorSubType = 0x01
  177. RAW dump:
  178. 0x00 | 0x08, 0x25, 0x01, 0x00, 0x00, 0x02, 0x08, 0x00
  179.  
  180.  
  181. Endpoint 1
  182. bLength = 0x0007
  183. bDescriptorType = 0x0005
  184. bEndpointAddress = 0x0081 <IN>
  185. bmAttributes = 0x0011 <ISOCHRONOUS>
  186. wMaxPacketSize = 0x0004
  187. bInterval = 0x0004
  188. bRefresh = 0x0000
  189. bSynchAddress = 0x0000
  190.  
  191.  
  192. Interface 2
  193. bLength = 0x0009
  194. bDescriptorType = 0x0004
  195. bInterfaceNumber = 0x0002
  196. bAlternateSetting = 0x0000
  197. bNumEndpoints = 0x0000
  198. bInterfaceClass = 0x00fe
  199. bInterfaceSubClass = 0x0001
  200. bInterfaceProtocol = 0x0001
  201. iInterface = 0x000c <M2Tech DFU>
  202.  
  203. Additional Descriptor
  204.  
  205. bLength = 0x09
  206. bDescriptorType = 0x21
  207. bDescriptorSubType = 0x07
  208. RAW dump:
  209. 0x00 | 0x09, 0x21, 0x07, 0xfa, 0x00, 0x40, 0x00, 0x10,
  210. 0x08 | 0x01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement