blob: 809765bd95730649f89030c4441831559da8da51 [file] [log] [blame]
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +01001What: /config/usb-gadget/gadget/functions/uvc.name
2Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +02003KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +01004Description: 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
10What: /config/usb-gadget/gadget/functions/uvc.name/control
11Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020012KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010013Description: Control descriptors
14
Laurent Pinchartbf715442018-05-23 18:47:56 +030015 All attributes read only:
16 bInterfaceNumber - USB interface number for this
17 streaming interface
18
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010019What: /config/usb-gadget/gadget/functions/uvc.name/control/class
20Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020021KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010022Description: Class descriptors
23
24What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
25Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020026KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010027Description: Super speed control class descriptors
28
29What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
30Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020031KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010032Description: Full speed control class descriptors
33
34What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
35Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020036KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010037Description: Terminal descriptors
38
39What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
40Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020041KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010042Description: Output terminal descriptors
43
44What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
45Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020046KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010047Description: Default output terminal descriptors
48
49 All attributes read only:
50 iTerminal - index of string descriptor
51 bSourceID - id of the terminal to which this terminal
52 is connected
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
57
58What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
59Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020060KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010061Description: Camera terminal descriptors
62
63What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
64Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020065KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010066Description: Default camera terminal descriptors
67
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
79
80What: /config/usb-gadget/gadget/functions/uvc.name/control/processing
81Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020082KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010083Description: Processing unit descriptors
84
85What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
86Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +020087KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +010088Description: Default processing unit descriptors
89
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
96 connected
97 bUnitID - a non-zero id of this unit
98
99What: /config/usb-gadget/gadget/functions/uvc.name/control/header
100Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200101KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100102Description: Control header descriptors
103
104What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name
105Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200106KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100107Description: Specific control header descriptors
108
109dwClockFrequency
110bcdUVC
111What: /config/usb-gadget/gadget/functions/uvc.name/streaming
112Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200113KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100114Description: Streaming descriptors
115
Laurent Pinchartbf715442018-05-23 18:47:56 +0300116 All attributes read only:
117 bInterfaceNumber - USB interface number for this
118 streaming interface
119
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100120What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
121Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200122KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100123Description: Streaming class descriptors
124
125What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
126Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200127KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100128Description: Super speed streaming class descriptors
129
130What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
131Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200132KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100133Description: High speed streaming class descriptors
134
135What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
136Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200137KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100138Description: Full speed streaming class descriptors
139
140What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
141Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200142KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100143Description: Color matching descriptors
144
145What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
146Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200147KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100148Description: Default color matching descriptors
149
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
157 white
158
159What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
160Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200161KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100162Description: MJPEG format descriptors
163
164What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
165Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200166KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100167Description: Specific MJPEG format descriptors
168
169 All attributes read only,
170 except bmaControls and bDefaultFrameIndex:
Laurent Pinchart61ff10e2018-05-27 00:51:57 +0300171 bFormatIndex - unique id for this format descriptor;
172 only defined after parent header is
173 linked into the streaming class;
174 read-only
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100175 bmaControls - this format's data for bmaControls in
176 the streaming header
177 bmInterfaceFlags - specifies interlace information,
178 read-only
179 bAspectRatioY - the X dimension of the picture aspect
180 ratio, read-only
181 bAspectRatioX - the Y dimension of the picture aspect
182 ratio, read-only
183 bmFlags - characteristics of this format,
184 read-only
185 bDefaultFrameIndex - optimum frame index for this stream
186
187What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
188Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200189KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100190Description: Specific MJPEG frame descriptors
191
Joel Pepperb2065482018-05-29 21:02:13 +0200192 bFrameIndex - unique id for this framedescriptor;
193 only defined after parent format is
194 linked into the streaming header;
195 read-only
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100196 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
203 frame or still image
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
211 support
212
213What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
214Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200215KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100216Description: Uncompressed format descriptors
217
218What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
219Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200220KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100221Description: Specific uncompressed format descriptors
222
Laurent Pinchart61ff10e2018-05-27 00:51:57 +0300223 bFormatIndex - unique id for this format descriptor;
224 only defined after parent header is
225 linked into the streaming class;
226 read-only
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100227 bmaControls - this format's data for bmaControls in
228 the streaming header
229 bmInterfaceFlags - specifies interlace information,
230 read-only
231 bAspectRatioY - the X dimension of the picture aspect
232 ratio, read-only
233 bAspectRatioX - the Y dimension of the picture aspect
234 ratio, read-only
235 bDefaultFrameIndex - optimum frame index for this stream
236 bBitsPerPixel - number of bits per pixel used to
237 specify color in the decoded video
238 frame
239 guidFormat - globally unique id used to identify
240 stream-encoding format
241
242What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
243Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200244KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100245Description: Specific uncompressed frame descriptors
246
Joel Pepperb2065482018-05-29 21:02:13 +0200247 bFrameIndex - unique id for this framedescriptor;
248 only defined after parent format is
249 linked into the streaming header;
250 read-only
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100251 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
258 frame or still image
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
266 support
267
268What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header
269Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200270KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100271Description: Streaming header descriptors
272
273What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
274Date: Dec 2014
Alexandre Belloni375f62e2016-05-22 15:35:13 +0200275KernelVersion: 4.0
Andrzej Pietrasiewicz46919a22014-12-10 12:34:02 +0100276Description: Specific streaming header descriptors
277
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
284 supported
285 bTerminalLink - id of the output terminal to which
286 the video endpoint of this interface
287 is connected
288 bmInfo - capabilities of this video streaming
289 interface
Kieran Binghamd7af78b2018-05-24 17:16:12 +0100290
291What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
292Date: May 2018
293KernelVersion: 4.19
294Description: UVC configfs function instance name