Advertisement
vrangan

USBView of the NXP UVC demo

Feb 22nd, 2021
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.99 KB | None | 0 0
  1. [Port2] : USB Composite Device
  2.  
  3.  
  4. Is Port User Connectable: yes
  5. Is Port Debug Capable: no
  6. Companion Port Number: 0
  7. Companion Hub Symbolic Link Name:
  8. Protocols Supported:
  9. USB 1.1: yes
  10. USB 2.0: yes
  11. USB 3.0: no
  12.  
  13. Device Power State: PowerDeviceD3
  14.  
  15. ---===>Device Information<===---
  16. English product name: "VIDEO DEMO"
  17.  
  18. ConnectionStatus:
  19. Current Config Value: 0x01 -> Device Bus Speed: High (is not SuperSpeed or higher capable)
  20. Device Address: 0x13
  21. Open Pipes: 1
  22.  
  23. ===>Device Descriptor<===
  24. bLength: 0x12
  25. bDescriptorType: 0x01
  26. bcdUSB: 0x0200
  27. bDeviceClass: 0xEF -> This is a Multi-interface Function Code Device
  28. bDeviceSubClass: 0x02 -> This is the Common Class Sub Class
  29. bDeviceProtocol: 0x01 -> This is the Interface Association Descriptor protocol
  30. bMaxPacketSize0: 0x40 = (64) Bytes
  31. idVendor: 0x1FC9 = NXP Semiconductors
  32. idProduct: 0x0099
  33. bcdDevice: 0x0101
  34. iManufacturer: 0x01
  35. English (United States) "NXP SEMICONDUCTORS"
  36. iProduct: 0x02
  37. English (United States) "VIDEO DEMO"
  38. iSerialNumber: 0x00
  39. bNumConfigurations: 0x01
  40.  
  41. ---===>Open Pipes<===---
  42.  
  43. ===>Endpoint Descriptor<===
  44. bLength: 0x07
  45. bDescriptorType: 0x05
  46. bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1
  47. bmAttributes: 0x03 -> Interrupt Transfer Type
  48. wMaxPacketSize: 0x0008 = 1 transactions per microframe, 0x08 max bytes
  49. bInterval: 0x07
  50.  
  51. ---===>Full Configuration Descriptor<===---
  52.  
  53. ===>Configuration Descriptor<===
  54. bLength: 0x09
  55. bDescriptorType: 0x02
  56. wTotalLength: 0x00C2 -> Validated
  57. bNumInterfaces: 0x02
  58. bConfigurationValue: 0x01
  59. iConfiguration: 0x00
  60. bmAttributes: 0xC0 -> Self Powered
  61. MaxPower: 0x32 = 100 mA
  62.  
  63. ===>IAD Descriptor<===
  64. bLength: 0x08
  65. bDescriptorType: 0x0B
  66. bFirstInterface: 0x00
  67. bInterfaceCount: 0x02
  68. bFunctionClass: 0x0E -> Video Interface Class
  69. bFunctionSubClass: 0x03 -> Video Interface Collection
  70. bFunctionProtocol: 0x00 -> PC_PROTOCOL_UNDEFINED protocol
  71. iFunction: 0x03
  72. English (United States) "Virtual Camera Device"
  73.  
  74. ===>Interface Descriptor<===
  75. bLength: 0x09
  76. bDescriptorType: 0x04
  77. bInterfaceNumber: 0x00
  78. bAlternateSetting: 0x00
  79. bNumEndpoints: 0x01
  80. bInterfaceClass: 0x0E -> Video Interface Class
  81. bInterfaceSubClass: 0x01 -> Video Control Interface SubClass
  82. bInterfaceProtocol: 0x00
  83. iInterface: 0x00
  84.  
  85. ===>Class-Specific Video Control Interface Header Descriptor<===
  86. bLength: 0x0D
  87. bDescriptorType: 0x24
  88. bDescriptorSubtype: 0x01
  89. bcdVDC: 0x0100
  90. wTotalLength: 0x0033 -> Validated
  91. dwClockFreq: 0x005B8D80 = (6000000) Hz
  92. bInCollection: 0x01
  93. baInterfaceNr[1]: 0x01
  94. USB Video Class device: spec version 1.0
  95.  
  96. ===>Video Control Input Terminal Descriptor<===
  97. bLength: 0x12
  98. bDescriptorType: 0x24
  99. bDescriptorSubtype: 0x02
  100. bTerminalID: 0x01
  101. wTerminalType: 0x0201 = (ITT_CAMERA)
  102. bAssocTerminal: 0x00
  103. iTerminal: 0x00
  104. ===>Camera Input Terminal Data
  105. wObjectiveFocalLengthMin: 0x0000
  106. wObjectiveFocalLengthMax: 0x0000
  107. wOcularFocalLength: 0x0000
  108. bControlSize: 0x03
  109. bmControls : 0x00 0x00 0x00
  110. D00 = 0 no - Scanning Mode
  111. D01 = 0 no - Auto-Exposure Mode
  112. D02 = 0 no - Auto-Exposure Priority
  113. D03 = 0 no - Exposure Time (Absolute)
  114. D04 = 0 no - Exposure Time (Relative)
  115. D05 = 0 no - Focus (Absolute)
  116. D06 = 0 no - Focus (Relative)
  117. D07 = 0 no - Iris (Absolute)
  118. D08 = 0 no - Iris (Relative)
  119. D09 = 0 no - Zoom (Absolute)
  120. D10 = 0 no - Zoom (Relative)
  121. D11 = 0 no - PanTilt (Absolute)
  122. D12 = 0 no - PanTilt (Relative)
  123. D13 = 0 no - Roll (Absolute)
  124. D14 = 0 no - Roll (Relative)
  125. D15 = 0 no - Reserved
  126. D16 = 0 no - Reserved
  127. D17 = 0 no - Focus, Auto
  128. D18 = 0 no - Privacy
  129. D19 = 0 no - Focus, Simple
  130. D20 = 0 no - Window
  131. D21 = 0 no - Region of Interest
  132. D22 = 0 no - Reserved
  133. D23 = 0 no - Reserved
  134.  
  135. ===>Video Control Output Terminal Descriptor<===
  136. bLength: 0x09
  137. bDescriptorType: 0x24
  138. bDescriptorSubtype: 0x03
  139. bTerminalID: 0x02
  140. wTerminalType: 0x0101 = (TT_STREAMING)
  141. bAssocTerminal: 0x00
  142. bSourceID: 0x01
  143. iTerminal: 0x00
  144.  
  145. ===>Video Control Processing Unit Descriptor<===
  146. bLength: 0x0B
  147. bDescriptorType: 0x24
  148. bDescriptorSubtype: 0x05
  149. bUnitID: 0x03
  150. bSourceID: 0x01
  151. wMaxMultiplier: 0x0000
  152. bControlSize: 0x02
  153. bmControls : 0x00 0x00
  154. D00 = 0 no - Brightness
  155. D01 = 0 no - Contrast
  156. D02 = 0 no - Hue
  157. D03 = 0 no - Saturation
  158. D04 = 0 no - Sharpness
  159. D05 = 0 no - Gamma
  160. D06 = 0 no - White Balance Temperature
  161. D07 = 0 no - White Balance Component
  162. D08 = 0 no - Backlight Compensation
  163. D09 = 0 no - Gain
  164. D10 = 0 no - Power Line Frequency
  165. D11 = 0 no - Hue, Auto
  166. D12 = 0 no - White Balance Temperature, Auto
  167. D13 = 0 no - White Balance Component, Auto
  168. D14 = 0 no - Digital Multiplier
  169. D15 = 0 no - Digital Multiplier Limit
  170. iProcessing : 0x00
  171.  
  172. ===>Endpoint Descriptor<===
  173. bLength: 0x07
  174. bDescriptorType: 0x05
  175. bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1
  176. bmAttributes: 0x03 -> Interrupt Transfer Type
  177. wMaxPacketSize: 0x0008 = 1 transactions per microframe, 0x08 max bytes
  178. bInterval: 0x07
  179.  
  180. ===>Interface Descriptor<===
  181. bLength: 0x09
  182. bDescriptorType: 0x04
  183. bInterfaceNumber: 0x01
  184. bAlternateSetting: 0x00
  185. bNumEndpoints: 0x00
  186. bInterfaceClass: 0x0E -> Video Interface Class
  187. bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass
  188. bInterfaceProtocol: 0x00
  189. iInterface: 0x00
  190.  
  191. ===>Video Class-Specific VS Video Input Header Descriptor<===
  192. bLength: 0x0E
  193. bDescriptorType: 0x24
  194. bDescriptorSubtype: 0x01
  195. bNumFormats: 0x01
  196. wTotalLength: 0x0055 -> Validated
  197. bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2
  198. bmInfo: 0x00 -> Dynamic Format Change not Supported
  199. bTerminalLink: 0x02
  200. bStillCaptureMethod: 0x02 -> Still Capture Method 2
  201. bTriggerSupport: 0x00 -> No Hardware Triggering Support
  202. bTriggerUsage: 0x00
  203. bControlSize: 0x01
  204. Video Payload Format 1 0x00
  205. D00 = 0 no - Key Frame Rate
  206. D01 = 0 no - P Frame Rate
  207. D02 = 0 no - Compression Quality
  208. D03 = 0 no - Compression Window Size
  209. D04 = 0 no - Generate Key Frame
  210. D05 = 0 no - Update Frame Segment
  211. D06 = 0 no - Reserved
  212. D07 = 0 no - Reserved
  213.  
  214. ===>Video Streaming MJPEG Format Type Descriptor<===
  215. bLength: 0x0B
  216. bDescriptorType: 0x24
  217. bDescriptorSubtype: 0x06
  218. bFormatIndex: 0x01
  219. bNumFrameDescriptors: 0x01
  220. bmFlags: 0x01 -> Sample Size is Fixed
  221. bDefaultFrameIndex: 0x01
  222. bAspectRatioX: 0x00
  223. bAspectRatioY: 0x00
  224. bmInterlaceFlags: 0x00
  225. D00 = 0 non-Interlaced stream or variable
  226. D01 = 0 2 fields per frame
  227. D02 = 0 Field 1 not first
  228. D03 = 0 Reserved
  229. D4..5 = 0 Field patterns -> Field 1 only
  230. D6..7 = 0 Display Mode -> Bob only
  231. bCopyProtect: 0x00 -> Duplication Unrestricted
  232. *!*ERROR: no Color Matching Descriptor for this format
  233.  
  234. ===>Video Streaming MJPEG Frame Type Descriptor<===
  235. --->This is the Default (optimum) Frame index
  236. bLength: 0x32
  237. bDescriptorType: 0x24
  238. bDescriptorSubtype: 0x07
  239. bFrameIndex: 0x01
  240. bmCapabilities: 0x00
  241. wWidth: 0x00B0 = 176
  242. wHeight: 0x0090 = 144
  243. dwMinBitRate: 0x001EF000
  244. dwMaxBitRate: 0x00B9A000
  245. dwMaxVideoFrameBufferSize: 0x0000C600
  246. dwDefaultFrameInterval: 0x000A2C2A = 66.666600 mSec (15.00 Hz)
  247. bFrameIntervalType: 0x06
  248. ===>Additional Discrete Frame TypeData
  249. dwFrameInterval[1]: 0x00051615 = 33.333300 mSec (30.00 Hz)
  250. dwFrameInterval[2]: 0x00061A80 = 40.000000 mSec (25.00 Hz)
  251. dwFrameInterval[3]: 0x0007A120 = 50.000000 mSec (20.00 Hz)
  252. dwFrameInterval[4]: 0x000A2C2A = 66.666600 mSec (15.00 Hz)
  253. dwFrameInterval[5]: 0x000F4240 = 100.000000 mSec (10.00 Hz)
  254. dwFrameInterval[6]: 0x001E8480 = 200.000000 mSec (5.00 Hz)
  255.  
  256. ===>Still Image Frame Type Descriptor<===
  257. bLength: 0x0A
  258. bDescriptorType: 0x24
  259. bDescriptorSubtype: 0x03
  260. bEndpointAddress: 0x00
  261. bNumImageSizePatterns: 0x01
  262. wWidth[1]: 0x00B0
  263. wHeight[1]: 0x0090
  264. bNumCompressionPattern: 0x00
  265.  
  266.  
  267. ===>Interface Descriptor<===
  268. bLength: 0x09
  269. bDescriptorType: 0x04
  270. bInterfaceNumber: 0x01
  271. bAlternateSetting: 0x01
  272. bNumEndpoints: 0x01
  273. bInterfaceClass: 0x0E -> Video Interface Class
  274. bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass
  275. bInterfaceProtocol: 0x00
  276. iInterface: 0x00
  277.  
  278. ===>Endpoint Descriptor<===
  279. bLength: 0x07
  280. bDescriptorType: 0x05
  281. bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2
  282. bmAttributes: 0x05 -> Isochronous Transfer Type, Synchronization Type = Asynchronous, Usage Type = Data Endpoint
  283. wMaxPacketSize: 0x0200 = 1 transactions per microframe, 0x200 max bytes
  284. bInterval: 0x04
  285.  
  286. ===>Additional Error Checking<===
  287. PASS: number of MJPEG frame descriptors (1) == number of frame descriptors (1) specified in MJPEG format descriptor(s)
  288.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement