configfs-usb-gadget-uvc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. What: /config/usb-gadget/gadget/functions/uvc.name
  2. Date: Dec 2014
  3. KernelVersion: 4.0
  4. Description: UVC function directory
  5. =================== =============================
  6. streaming_maxburst 0..15 (ss only)
  7. streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
  8. streaming_interval 1..16
  9. function_name string [32]
  10. =================== =============================
  11. What: /config/usb-gadget/gadget/functions/uvc.name/control
  12. Date: Dec 2014
  13. KernelVersion: 4.0
  14. Description: Control descriptors
  15. All attributes read only:
  16. ================ =============================
  17. bInterfaceNumber USB interface number for this
  18. streaming interface
  19. ================ =============================
  20. What: /config/usb-gadget/gadget/functions/uvc.name/control/class
  21. Date: Dec 2014
  22. KernelVersion: 4.0
  23. Description: Class descriptors
  24. What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
  25. Date: Dec 2014
  26. KernelVersion: 4.0
  27. Description: Super speed control class descriptors
  28. What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
  29. Date: Dec 2014
  30. KernelVersion: 4.0
  31. Description: Full speed control class descriptors
  32. What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
  33. Date: Dec 2014
  34. KernelVersion: 4.0
  35. Description: Terminal descriptors
  36. What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
  37. Date: Dec 2014
  38. KernelVersion: 4.0
  39. Description: Output terminal descriptors
  40. What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
  41. Date: Dec 2014
  42. KernelVersion: 4.0
  43. Description: Default output terminal descriptors
  44. All attributes read only:
  45. ============== =============================================
  46. iTerminal index of string descriptor
  47. bSourceID id of the terminal to which this terminal
  48. is connected
  49. bAssocTerminal id of the input terminal to which this output
  50. terminal is associated
  51. wTerminalType terminal type
  52. bTerminalID a non-zero id of this terminal
  53. ============== =============================================
  54. What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
  55. Date: Dec 2014
  56. KernelVersion: 4.0
  57. Description: Camera terminal descriptors
  58. What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
  59. Date: Dec 2014
  60. KernelVersion: 4.0
  61. Description: Default camera terminal descriptors
  62. All attributes read only:
  63. ======================== ====================================
  64. bmControls bitmap specifying which controls are
  65. supported for the video stream
  66. wOcularFocalLength the value of Locular
  67. wObjectiveFocalLengthMax the value of Lmin
  68. wObjectiveFocalLengthMin the value of Lmax
  69. iTerminal index of string descriptor
  70. bAssocTerminal id of the output terminal to which
  71. this terminal is connected
  72. wTerminalType terminal type
  73. bTerminalID a non-zero id of this terminal
  74. ======================== ====================================
  75. What: /config/usb-gadget/gadget/functions/uvc.name/control/processing
  76. Date: Dec 2014
  77. KernelVersion: 4.0
  78. Description: Processing unit descriptors
  79. What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
  80. Date: Dec 2014
  81. KernelVersion: 4.0
  82. Description: Default processing unit descriptors
  83. All attributes read only:
  84. =============== ========================================
  85. iProcessing index of string descriptor
  86. bmControls bitmap specifying which controls are
  87. supported for the video stream
  88. wMaxMultiplier maximum digital magnification x100
  89. bSourceID id of the terminal to which this unit is
  90. connected
  91. bUnitID a non-zero id of this unit
  92. =============== ========================================
  93. What: /config/usb-gadget/gadget/functions/uvc.name/control/header
  94. Date: Dec 2014
  95. KernelVersion: 4.0
  96. Description: Control header descriptors
  97. What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name
  98. Date: Dec 2014
  99. KernelVersion: 4.0
  100. Description: Specific control header descriptors
  101. dwClockFrequency
  102. bcdUVC
  103. What: /config/usb-gadget/gadget/functions/uvc.name/streaming
  104. Date: Dec 2014
  105. KernelVersion: 4.0
  106. Description: Streaming descriptors
  107. All attributes read only:
  108. ================ =============================
  109. bInterfaceNumber USB interface number for this
  110. streaming interface
  111. ================ =============================
  112. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
  113. Date: Dec 2014
  114. KernelVersion: 4.0
  115. Description: Streaming class descriptors
  116. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
  117. Date: Dec 2014
  118. KernelVersion: 4.0
  119. Description: Super speed streaming class descriptors
  120. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
  121. Date: Dec 2014
  122. KernelVersion: 4.0
  123. Description: High speed streaming class descriptors
  124. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
  125. Date: Dec 2014
  126. KernelVersion: 4.0
  127. Description: Full speed streaming class descriptors
  128. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
  129. Date: Dec 2014
  130. KernelVersion: 4.0
  131. Description: Color matching descriptors
  132. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
  133. Date: Dec 2014
  134. KernelVersion: 4.0
  135. Description: Default color matching descriptors
  136. All attributes read only:
  137. ======================== ======================================
  138. bMatrixCoefficients matrix used to compute luma and
  139. chroma values from the color primaries
  140. bTransferCharacteristics optoelectronic transfer
  141. characteristic of the source picutre,
  142. also called the gamma function
  143. bColorPrimaries color primaries and the reference
  144. white
  145. ======================== ======================================
  146. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
  147. Date: Dec 2014
  148. KernelVersion: 4.0
  149. Description: MJPEG format descriptors
  150. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
  151. Date: Dec 2014
  152. KernelVersion: 4.0
  153. Description: Specific MJPEG format descriptors
  154. All attributes read only,
  155. except bmaControls and bDefaultFrameIndex:
  156. =================== =====================================
  157. bFormatIndex unique id for this format descriptor;
  158. only defined after parent header is
  159. linked into the streaming class;
  160. read-only
  161. bmaControls this format's data for bmaControls in
  162. the streaming header
  163. bmInterfaceFlags specifies interlace information,
  164. read-only
  165. bAspectRatioY the X dimension of the picture aspect
  166. ratio, read-only
  167. bAspectRatioX the Y dimension of the picture aspect
  168. ratio, read-only
  169. bmFlags characteristics of this format,
  170. read-only
  171. bDefaultFrameIndex optimum frame index for this stream
  172. =================== =====================================
  173. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
  174. Date: Dec 2014
  175. KernelVersion: 4.0
  176. Description: Specific MJPEG frame descriptors
  177. ========================= =====================================
  178. bFrameIndex unique id for this framedescriptor;
  179. only defined after parent format is
  180. linked into the streaming header;
  181. read-only
  182. dwFrameInterval indicates how frame interval can be
  183. programmed; a number of values
  184. separated by newline can be specified
  185. dwDefaultFrameInterval the frame interval the device would
  186. like to use as default
  187. dwMaxVideoFrameBufferSize the maximum number of bytes the
  188. compressor will produce for a video
  189. frame or still image
  190. dwMaxBitRate the maximum bit rate at the shortest
  191. frame interval in bps
  192. dwMinBitRate the minimum bit rate at the longest
  193. frame interval in bps
  194. wHeight height of decoded bitmap frame in px
  195. wWidth width of decoded bitmam frame in px
  196. bmCapabilities still image support, fixed frame-rate
  197. support
  198. ========================= =====================================
  199. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
  200. Date: Dec 2014
  201. KernelVersion: 4.0
  202. Description: Uncompressed format descriptors
  203. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
  204. Date: Dec 2014
  205. KernelVersion: 4.0
  206. Description: Specific uncompressed format descriptors
  207. ================== =======================================
  208. bFormatIndex unique id for this format descriptor;
  209. only defined after parent header is
  210. linked into the streaming class;
  211. read-only
  212. bmaControls this format's data for bmaControls in
  213. the streaming header
  214. bmInterfaceFlags specifies interlace information,
  215. read-only
  216. bAspectRatioY the X dimension of the picture aspect
  217. ratio, read-only
  218. bAspectRatioX the Y dimension of the picture aspect
  219. ratio, read-only
  220. bDefaultFrameIndex optimum frame index for this stream
  221. bBitsPerPixel number of bits per pixel used to
  222. specify color in the decoded video
  223. frame
  224. guidFormat globally unique id used to identify
  225. stream-encoding format
  226. ================== =======================================
  227. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
  228. Date: Dec 2014
  229. KernelVersion: 4.0
  230. Description: Specific uncompressed frame descriptors
  231. ========================= =====================================
  232. bFrameIndex unique id for this framedescriptor;
  233. only defined after parent format is
  234. linked into the streaming header;
  235. read-only
  236. dwFrameInterval indicates how frame interval can be
  237. programmed; a number of values
  238. separated by newline can be specified
  239. dwDefaultFrameInterval the frame interval the device would
  240. like to use as default
  241. dwMaxVideoFrameBufferSize the maximum number of bytes the
  242. compressor will produce for a video
  243. frame or still image
  244. dwMaxBitRate the maximum bit rate at the shortest
  245. frame interval in bps
  246. dwMinBitRate the minimum bit rate at the longest
  247. frame interval in bps
  248. wHeight height of decoded bitmap frame in px
  249. wWidth width of decoded bitmam frame in px
  250. bmCapabilities still image support, fixed frame-rate
  251. support
  252. ========================= =====================================
  253. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header
  254. Date: Dec 2014
  255. KernelVersion: 4.0
  256. Description: Streaming header descriptors
  257. What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
  258. Date: Dec 2014
  259. KernelVersion: 4.0
  260. Description: Specific streaming header descriptors
  261. All attributes read only:
  262. ==================== =====================================
  263. bTriggerUsage how the host software will respond to
  264. a hardware trigger interrupt event
  265. bTriggerSupport flag specifying if hardware
  266. triggering is supported
  267. bStillCaptureMethod method of still image caputre
  268. supported
  269. bTerminalLink id of the output terminal to which
  270. the video endpoint of this interface
  271. is connected
  272. bmInfo capabilities of this video streaming
  273. interface
  274. ==================== =====================================
  275. What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
  276. Date: May 2018
  277. KernelVersion: 4.19
  278. Description: UVC configfs function instance name