1 What: /config/usb-gadget/gadget/functions/uvc.name
4 Description: UVC function directory
6 =================== =============================
7 streaming_maxburst 0..15 (ss only)
8 streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
9 streaming_interval 1..16
10 =================== =============================
12 What: /config/usb-gadget/gadget/functions/uvc.name/control
15 Description: Control descriptors
17 All attributes read only:
19 ================ =============================
20 bInterfaceNumber USB interface number for this
22 ================ =============================
24 What: /config/usb-gadget/gadget/functions/uvc.name/control/class
27 Description: Class descriptors
29 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
32 Description: Super speed control class descriptors
34 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
37 Description: Full speed control class descriptors
39 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
42 Description: Terminal descriptors
44 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
47 Description: Output terminal descriptors
49 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
52 Description: Default output terminal descriptors
54 All attributes read only:
56 ============== =============================================
57 iTerminal index of string descriptor
58 bSourceID id of the terminal to which this terminal
60 bAssocTerminal id of the input terminal to which this output
61 terminal is associated
62 wTerminalType terminal type
63 bTerminalID a non-zero id of this terminal
64 ============== =============================================
66 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
69 Description: Camera terminal descriptors
71 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
74 Description: Default camera terminal descriptors
76 All attributes read only:
78 ======================== ====================================
79 bmControls bitmap specifying which controls are
80 supported for the video stream
81 wOcularFocalLength the value of Locular
82 wObjectiveFocalLengthMax the value of Lmin
83 wObjectiveFocalLengthMin the value of Lmax
84 iTerminal index of string descriptor
85 bAssocTerminal id of the output terminal to which
86 this terminal is connected
87 wTerminalType terminal type
88 bTerminalID a non-zero id of this terminal
89 ======================== ====================================
91 What: /config/usb-gadget/gadget/functions/uvc.name/control/processing
94 Description: Processing unit descriptors
96 What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
99 Description: Default processing unit descriptors
101 All attributes read only:
103 =============== ========================================
104 iProcessing index of string descriptor
105 bmControls bitmap specifying which controls are
106 supported for the video stream
107 wMaxMultiplier maximum digital magnification x100
108 bSourceID id of the terminal to which this unit is
110 bUnitID a non-zero id of this unit
111 =============== ========================================
113 What: /config/usb-gadget/gadget/functions/uvc.name/control/header
116 Description: Control header descriptors
118 What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name
121 Description: Specific control header descriptors
125 What: /config/usb-gadget/gadget/functions/uvc.name/streaming
128 Description: Streaming descriptors
130 All attributes read only:
132 ================ =============================
133 bInterfaceNumber USB interface number for this
135 ================ =============================
137 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
140 Description: Streaming class descriptors
142 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
145 Description: Super speed streaming class descriptors
147 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
150 Description: High speed streaming class descriptors
152 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
155 Description: Full speed streaming class descriptors
157 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
160 Description: Color matching descriptors
162 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
165 Description: Default color matching descriptors
167 All attributes read only:
169 ======================== ======================================
170 bMatrixCoefficients matrix used to compute luma and
171 chroma values from the color primaries
172 bTransferCharacteristics optoelectronic transfer
173 characteristic of the source picutre,
174 also called the gamma function
175 bColorPrimaries color primaries and the reference
177 ======================== ======================================
179 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
182 Description: MJPEG format descriptors
184 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
187 Description: Specific MJPEG format descriptors
189 All attributes read only,
190 except bmaControls and bDefaultFrameIndex:
192 =================== =====================================
193 bFormatIndex unique id for this format descriptor;
194 only defined after parent header is
195 linked into the streaming class;
197 bmaControls this format's data for bmaControls in
199 bmInterfaceFlags specifies interlace information,
201 bAspectRatioY the X dimension of the picture aspect
203 bAspectRatioX the Y dimension of the picture aspect
205 bmFlags characteristics of this format,
207 bDefaultFrameIndex optimum frame index for this stream
208 =================== =====================================
210 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
213 Description: Specific MJPEG frame descriptors
215 ========================= =====================================
216 bFrameIndex unique id for this framedescriptor;
217 only defined after parent format is
218 linked into the streaming header;
220 dwFrameInterval indicates how frame interval can be
221 programmed; a number of values
222 separated by newline can be specified
223 dwDefaultFrameInterval the frame interval the device would
224 like to use as default
225 dwMaxVideoFrameBufferSize the maximum number of bytes the
226 compressor will produce for a video
228 dwMaxBitRate the maximum bit rate at the shortest
229 frame interval in bps
230 dwMinBitRate the minimum bit rate at the longest
231 frame interval in bps
232 wHeight height of decoded bitmap frame in px
233 wWidth width of decoded bitmam frame in px
234 bmCapabilities still image support, fixed frame-rate
236 ========================= =====================================
238 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
241 Description: Uncompressed format descriptors
243 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
246 Description: Specific uncompressed format descriptors
248 ================== =======================================
249 bFormatIndex unique id for this format descriptor;
250 only defined after parent header is
251 linked into the streaming class;
253 bmaControls this format's data for bmaControls in
255 bmInterfaceFlags specifies interlace information,
257 bAspectRatioY the X dimension of the picture aspect
259 bAspectRatioX the Y dimension of the picture aspect
261 bDefaultFrameIndex optimum frame index for this stream
262 bBitsPerPixel number of bits per pixel used to
263 specify color in the decoded video
265 guidFormat globally unique id used to identify
266 stream-encoding format
267 ================== =======================================
269 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
272 Description: Specific uncompressed frame descriptors
274 ========================= =====================================
275 bFrameIndex unique id for this framedescriptor;
276 only defined after parent format is
277 linked into the streaming header;
279 dwFrameInterval indicates how frame interval can be
280 programmed; a number of values
281 separated by newline can be specified
282 dwDefaultFrameInterval the frame interval the device would
283 like to use as default
284 dwMaxVideoFrameBufferSize the maximum number of bytes the
285 compressor will produce for a video
287 dwMaxBitRate the maximum bit rate at the shortest
288 frame interval in bps
289 dwMinBitRate the minimum bit rate at the longest
290 frame interval in bps
291 wHeight height of decoded bitmap frame in px
292 wWidth width of decoded bitmam frame in px
293 bmCapabilities still image support, fixed frame-rate
295 ========================= =====================================
297 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header
300 Description: Streaming header descriptors
302 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
305 Description: Specific streaming header descriptors
307 All attributes read only:
309 ==================== =====================================
310 bTriggerUsage how the host software will respond to
311 a hardware trigger interrupt event
312 bTriggerSupport flag specifying if hardware
313 triggering is supported
314 bStillCaptureMethod method of still image caputre
316 bTerminalLink id of the output terminal to which
317 the video endpoint of this interface
319 bmInfo capabilities of this video streaming
321 ==================== =====================================
323 What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
326 Description: UVC configfs function instance name