1 What: /config/usb-gadget/gadget/functions/uvc.name
4 Description: UVC function directory
6 streaming_maxburst - 0..15 (ss only)
7 streaming_maxpacket - 1..1023 (fs), 1..3072 (hs/ss)
8 streaming_interval - 1..16
10 What: /config/usb-gadget/gadget/functions/uvc.name/control
13 Description: Control descriptors
15 All attributes read only:
16 bInterfaceNumber - USB interface number for this
19 What: /config/usb-gadget/gadget/functions/uvc.name/control/class
22 Description: Class descriptors
24 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
27 Description: Super speed control class descriptors
29 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
32 Description: Full speed control class descriptors
34 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
37 Description: Terminal descriptors
39 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
42 Description: Output terminal descriptors
44 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
47 Description: Default output terminal descriptors
49 All attributes read only:
50 iTerminal - index of string descriptor
51 bSourceID - id of the terminal to which this terminal
53 bAssocTerminal - id of the input terminal to which this output
54 terminal is associated
55 wTerminalType - terminal type
56 bTerminalID - a non-zero id of this terminal
58 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
61 Description: Camera terminal descriptors
63 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
66 Description: Default camera terminal descriptors
68 All attributes read only:
69 bmControls - bitmap specifying which controls are
70 supported for the video stream
71 wOcularFocalLength - the value of Locular
72 wObjectiveFocalLengthMax- the value of Lmin
73 wObjectiveFocalLengthMin- the value of Lmax
74 iTerminal - index of string descriptor
75 bAssocTerminal - id of the output terminal to which
76 this terminal is connected
77 wTerminalType - terminal type
78 bTerminalID - a non-zero id of this terminal
80 What: /config/usb-gadget/gadget/functions/uvc.name/control/processing
83 Description: Processing unit descriptors
85 What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
88 Description: Default processing unit descriptors
90 All attributes read only:
91 iProcessing - index of string descriptor
92 bmControls - bitmap specifying which controls are
93 supported for the video stream
94 wMaxMultiplier - maximum digital magnification x100
95 bSourceID - id of the terminal to which this unit is
97 bUnitID - a non-zero id of this unit
99 What: /config/usb-gadget/gadget/functions/uvc.name/control/header
102 Description: Control header descriptors
104 What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name
107 Description: Specific control header descriptors
111 What: /config/usb-gadget/gadget/functions/uvc.name/streaming
114 Description: Streaming descriptors
116 All attributes read only:
117 bInterfaceNumber - USB interface number for this
120 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
123 Description: Streaming class descriptors
125 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
128 Description: Super speed streaming class descriptors
130 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
133 Description: High speed streaming class descriptors
135 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
138 Description: Full speed streaming class descriptors
140 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
143 Description: Color matching descriptors
145 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
148 Description: Default color matching descriptors
150 All attributes read only:
151 bMatrixCoefficients - matrix used to compute luma and
152 chroma values from the color primaries
153 bTransferCharacteristics- optoelectronic transfer
154 characteristic of the source picutre,
155 also called the gamma function
156 bColorPrimaries - color primaries and the reference
159 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
162 Description: MJPEG format descriptors
164 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
167 Description: Specific MJPEG format descriptors
169 All attributes read only,
170 except bmaControls and bDefaultFrameIndex:
171 bFormatIndex - unique id for this format descriptor;
172 only defined after parent header is
173 linked into the streaming class;
175 bmaControls - this format's data for bmaControls in
177 bmInterfaceFlags - specifies interlace information,
179 bAspectRatioY - the X dimension of the picture aspect
181 bAspectRatioX - the Y dimension of the picture aspect
183 bmFlags - characteristics of this format,
185 bDefaultFrameIndex - optimum frame index for this stream
187 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
190 Description: Specific MJPEG frame descriptors
192 bFrameIndex - unique id for this framedescriptor;
193 only defined after parent format is
194 linked into the streaming header;
196 dwFrameInterval - indicates how frame interval can be
197 programmed; a number of values
198 separated by newline can be specified
199 dwDefaultFrameInterval - the frame interval the device would
200 like to use as default
201 dwMaxVideoFrameBufferSize- the maximum number of bytes the
202 compressor will produce for a video
204 dwMaxBitRate - the maximum bit rate at the shortest
205 frame interval in bps
206 dwMinBitRate - the minimum bit rate at the longest
207 frame interval in bps
208 wHeight - height of decoded bitmap frame in px
209 wWidth - width of decoded bitmam frame in px
210 bmCapabilities - still image support, fixed frame-rate
213 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
216 Description: Uncompressed format descriptors
218 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
221 Description: Specific uncompressed format descriptors
223 bFormatIndex - unique id for this format descriptor;
224 only defined after parent header is
225 linked into the streaming class;
227 bmaControls - this format's data for bmaControls in
229 bmInterfaceFlags - specifies interlace information,
231 bAspectRatioY - the X dimension of the picture aspect
233 bAspectRatioX - the Y dimension of the picture aspect
235 bDefaultFrameIndex - optimum frame index for this stream
236 bBitsPerPixel - number of bits per pixel used to
237 specify color in the decoded video
239 guidFormat - globally unique id used to identify
240 stream-encoding format
242 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
245 Description: Specific uncompressed frame descriptors
247 bFrameIndex - unique id for this framedescriptor;
248 only defined after parent format is
249 linked into the streaming header;
251 dwFrameInterval - indicates how frame interval can be
252 programmed; a number of values
253 separated by newline can be specified
254 dwDefaultFrameInterval - the frame interval the device would
255 like to use as default
256 dwMaxVideoFrameBufferSize- the maximum number of bytes the
257 compressor will produce for a video
259 dwMaxBitRate - the maximum bit rate at the shortest
260 frame interval in bps
261 dwMinBitRate - the minimum bit rate at the longest
262 frame interval in bps
263 wHeight - height of decoded bitmap frame in px
264 wWidth - width of decoded bitmam frame in px
265 bmCapabilities - still image support, fixed frame-rate
268 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header
271 Description: Streaming header descriptors
273 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
276 Description: Specific streaming header descriptors
278 All attributes read only:
279 bTriggerUsage - how the host software will respond to
280 a hardware trigger interrupt event
281 bTriggerSupport - flag specifying if hardware
282 triggering is supported
283 bStillCaptureMethod - method of still image caputre
285 bTerminalLink - id of the output terminal to which
286 the video endpoint of this interface
288 bmInfo - capabilities of this video streaming
291 What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
294 Description: UVC configfs function instance name