146919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name
246919a23SAndrzej PietrasiewiczDate:		Dec 2014
3375f62e7SAlexandre BelloniKernelVersion:	4.0
446919a23SAndrzej PietrasiewiczDescription:	UVC function directory
546919a23SAndrzej Pietrasiewicz
646919a23SAndrzej Pietrasiewicz		streaming_maxburst	- 0..15 (ss only)
746919a23SAndrzej Pietrasiewicz		streaming_maxpacket	- 1..1023 (fs), 1..3072 (hs/ss)
846919a23SAndrzej Pietrasiewicz		streaming_interval	- 1..16
946919a23SAndrzej Pietrasiewicz
1046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control
1146919a23SAndrzej PietrasiewiczDate:		Dec 2014
12375f62e7SAlexandre BelloniKernelVersion:	4.0
1346919a23SAndrzej PietrasiewiczDescription:	Control descriptors
1446919a23SAndrzej Pietrasiewicz
15bf715448SLaurent Pinchart		All attributes read only:
16bf715448SLaurent Pinchart		bInterfaceNumber	- USB interface number for this
17bf715448SLaurent Pinchart					  streaming interface
18bf715448SLaurent Pinchart
1946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/class
2046919a23SAndrzej PietrasiewiczDate:		Dec 2014
21375f62e7SAlexandre BelloniKernelVersion:	4.0
2246919a23SAndrzej PietrasiewiczDescription:	Class descriptors
2346919a23SAndrzej Pietrasiewicz
2446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/class/ss
2546919a23SAndrzej PietrasiewiczDate:		Dec 2014
26375f62e7SAlexandre BelloniKernelVersion:	4.0
2746919a23SAndrzej PietrasiewiczDescription:	Super speed control class descriptors
2846919a23SAndrzej Pietrasiewicz
2946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/class/fs
3046919a23SAndrzej PietrasiewiczDate:		Dec 2014
31375f62e7SAlexandre BelloniKernelVersion:	4.0
3246919a23SAndrzej PietrasiewiczDescription:	Full speed control class descriptors
3346919a23SAndrzej Pietrasiewicz
3446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/terminal
3546919a23SAndrzej PietrasiewiczDate:		Dec 2014
36375f62e7SAlexandre BelloniKernelVersion:	4.0
3746919a23SAndrzej PietrasiewiczDescription:	Terminal descriptors
3846919a23SAndrzej Pietrasiewicz
3946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
4046919a23SAndrzej PietrasiewiczDate:		Dec 2014
41375f62e7SAlexandre BelloniKernelVersion:	4.0
4246919a23SAndrzej PietrasiewiczDescription:	Output terminal descriptors
4346919a23SAndrzej Pietrasiewicz
4446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
4546919a23SAndrzej PietrasiewiczDate:		Dec 2014
46375f62e7SAlexandre BelloniKernelVersion:	4.0
4746919a23SAndrzej PietrasiewiczDescription:	Default output terminal descriptors
4846919a23SAndrzej Pietrasiewicz
4946919a23SAndrzej Pietrasiewicz		All attributes read only:
5046919a23SAndrzej Pietrasiewicz		iTerminal	- index of string descriptor
5146919a23SAndrzej Pietrasiewicz		bSourceID 	- id of the terminal to which this terminal
5246919a23SAndrzej Pietrasiewicz				is connected
5346919a23SAndrzej Pietrasiewicz		bAssocTerminal	- id of the input terminal to which this output
5446919a23SAndrzej Pietrasiewicz				terminal is associated
5546919a23SAndrzej Pietrasiewicz		wTerminalType	- terminal type
5646919a23SAndrzej Pietrasiewicz		bTerminalID	- a non-zero id of this terminal
5746919a23SAndrzej Pietrasiewicz
5846919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
5946919a23SAndrzej PietrasiewiczDate:		Dec 2014
60375f62e7SAlexandre BelloniKernelVersion:	4.0
6146919a23SAndrzej PietrasiewiczDescription:	Camera terminal descriptors
6246919a23SAndrzej Pietrasiewicz
6346919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
6446919a23SAndrzej PietrasiewiczDate:		Dec 2014
65375f62e7SAlexandre BelloniKernelVersion:	4.0
6646919a23SAndrzej PietrasiewiczDescription:	Default camera terminal descriptors
6746919a23SAndrzej Pietrasiewicz
6846919a23SAndrzej Pietrasiewicz		All attributes read only:
6946919a23SAndrzej Pietrasiewicz		bmControls		- bitmap specifying which controls are
7046919a23SAndrzej Pietrasiewicz					supported for the video stream
7146919a23SAndrzej Pietrasiewicz		wOcularFocalLength	- the value of Locular
7246919a23SAndrzej Pietrasiewicz		wObjectiveFocalLengthMax- the value of Lmin
7346919a23SAndrzej Pietrasiewicz		wObjectiveFocalLengthMin- the value of Lmax
7446919a23SAndrzej Pietrasiewicz		iTerminal		- index of string descriptor
7546919a23SAndrzej Pietrasiewicz		bAssocTerminal		- id of the output terminal to which
7646919a23SAndrzej Pietrasiewicz					this terminal is connected
7746919a23SAndrzej Pietrasiewicz		wTerminalType		- terminal type
7846919a23SAndrzej Pietrasiewicz		bTerminalID		- a non-zero id of this terminal
7946919a23SAndrzej Pietrasiewicz
8046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/processing
8146919a23SAndrzej PietrasiewiczDate:		Dec 2014
82375f62e7SAlexandre BelloniKernelVersion:	4.0
8346919a23SAndrzej PietrasiewiczDescription:	Processing unit descriptors
8446919a23SAndrzej Pietrasiewicz
8546919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/processing/default
8646919a23SAndrzej PietrasiewiczDate:		Dec 2014
87375f62e7SAlexandre BelloniKernelVersion:	4.0
8846919a23SAndrzej PietrasiewiczDescription:	Default processing unit descriptors
8946919a23SAndrzej Pietrasiewicz
9046919a23SAndrzej Pietrasiewicz		All attributes read only:
9146919a23SAndrzej Pietrasiewicz		iProcessing	- index of string descriptor
9246919a23SAndrzej Pietrasiewicz		bmControls	- bitmap specifying which controls are
9346919a23SAndrzej Pietrasiewicz				supported for the video stream
9446919a23SAndrzej Pietrasiewicz		wMaxMultiplier	- maximum digital magnification x100
9546919a23SAndrzej Pietrasiewicz		bSourceID	- id of the terminal to which this unit is
9646919a23SAndrzej Pietrasiewicz				connected
9746919a23SAndrzej Pietrasiewicz		bUnitID		- a non-zero id of this unit
9846919a23SAndrzej Pietrasiewicz
9946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/header
10046919a23SAndrzej PietrasiewiczDate:		Dec 2014
101375f62e7SAlexandre BelloniKernelVersion:	4.0
10246919a23SAndrzej PietrasiewiczDescription:	Control header descriptors
10346919a23SAndrzej Pietrasiewicz
10446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/control/header/name
10546919a23SAndrzej PietrasiewiczDate:		Dec 2014
106375f62e7SAlexandre BelloniKernelVersion:	4.0
10746919a23SAndrzej PietrasiewiczDescription:	Specific control header descriptors
10846919a23SAndrzej Pietrasiewicz
10946919a23SAndrzej PietrasiewiczdwClockFrequency
11046919a23SAndrzej PietrasiewiczbcdUVC
11146919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming
11246919a23SAndrzej PietrasiewiczDate:		Dec 2014
113375f62e7SAlexandre BelloniKernelVersion:	4.0
11446919a23SAndrzej PietrasiewiczDescription:	Streaming descriptors
11546919a23SAndrzej Pietrasiewicz
116bf715448SLaurent Pinchart		All attributes read only:
117bf715448SLaurent Pinchart		bInterfaceNumber	- USB interface number for this
118bf715448SLaurent Pinchart					  streaming interface
119bf715448SLaurent Pinchart
12046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/class
12146919a23SAndrzej PietrasiewiczDate:		Dec 2014
122375f62e7SAlexandre BelloniKernelVersion:	4.0
12346919a23SAndrzej PietrasiewiczDescription:	Streaming class descriptors
12446919a23SAndrzej Pietrasiewicz
12546919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
12646919a23SAndrzej PietrasiewiczDate:		Dec 2014
127375f62e7SAlexandre BelloniKernelVersion:	4.0
12846919a23SAndrzej PietrasiewiczDescription:	Super speed streaming class descriptors
12946919a23SAndrzej Pietrasiewicz
13046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
13146919a23SAndrzej PietrasiewiczDate:		Dec 2014
132375f62e7SAlexandre BelloniKernelVersion:	4.0
13346919a23SAndrzej PietrasiewiczDescription:	High speed streaming class descriptors
13446919a23SAndrzej Pietrasiewicz
13546919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
13646919a23SAndrzej PietrasiewiczDate:		Dec 2014
137375f62e7SAlexandre BelloniKernelVersion:	4.0
13846919a23SAndrzej PietrasiewiczDescription:	Full speed streaming class descriptors
13946919a23SAndrzej Pietrasiewicz
14046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
14146919a23SAndrzej PietrasiewiczDate:		Dec 2014
142375f62e7SAlexandre BelloniKernelVersion:	4.0
14346919a23SAndrzej PietrasiewiczDescription:	Color matching descriptors
14446919a23SAndrzej Pietrasiewicz
14546919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
14646919a23SAndrzej PietrasiewiczDate:		Dec 2014
147375f62e7SAlexandre BelloniKernelVersion:	4.0
14846919a23SAndrzej PietrasiewiczDescription:	Default color matching descriptors
14946919a23SAndrzej Pietrasiewicz
15046919a23SAndrzej Pietrasiewicz		All attributes read only:
15146919a23SAndrzej Pietrasiewicz		bMatrixCoefficients	- matrix used to compute luma and
15246919a23SAndrzej Pietrasiewicz					chroma values from the color primaries
15346919a23SAndrzej Pietrasiewicz		bTransferCharacteristics- optoelectronic transfer
15446919a23SAndrzej Pietrasiewicz					characteristic of the source picutre,
15546919a23SAndrzej Pietrasiewicz					also called the gamma function
15646919a23SAndrzej Pietrasiewicz		bColorPrimaries		- color primaries and the reference
15746919a23SAndrzej Pietrasiewicz					white
15846919a23SAndrzej Pietrasiewicz
15946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
16046919a23SAndrzej PietrasiewiczDate:		Dec 2014
161375f62e7SAlexandre BelloniKernelVersion:	4.0
16246919a23SAndrzej PietrasiewiczDescription:	MJPEG format descriptors
16346919a23SAndrzej Pietrasiewicz
16446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
16546919a23SAndrzej PietrasiewiczDate:		Dec 2014
166375f62e7SAlexandre BelloniKernelVersion:	4.0
16746919a23SAndrzej PietrasiewiczDescription:	Specific MJPEG format descriptors
16846919a23SAndrzej Pietrasiewicz
16946919a23SAndrzej Pietrasiewicz		All attributes read only,
17046919a23SAndrzej Pietrasiewicz		except bmaControls and bDefaultFrameIndex:
17161ff10e0SLaurent Pinchart		bFormatIndex		- unique id for this format descriptor;
17261ff10e0SLaurent Pinchart					only defined after parent header is
17361ff10e0SLaurent Pinchart					linked into the streaming class;
17461ff10e0SLaurent Pinchart					read-only
17546919a23SAndrzej Pietrasiewicz		bmaControls		- this format's data for bmaControls in
17646919a23SAndrzej Pietrasiewicz					the streaming header
17746919a23SAndrzej Pietrasiewicz		bmInterfaceFlags	- specifies interlace information,
17846919a23SAndrzej Pietrasiewicz					read-only
17946919a23SAndrzej Pietrasiewicz		bAspectRatioY		- the X dimension of the picture aspect
18046919a23SAndrzej Pietrasiewicz					ratio, read-only
18146919a23SAndrzej Pietrasiewicz		bAspectRatioX		- the Y dimension of the picture aspect
18246919a23SAndrzej Pietrasiewicz					ratio, read-only
18346919a23SAndrzej Pietrasiewicz		bmFlags			- characteristics of this format,
18446919a23SAndrzej Pietrasiewicz					read-only
18546919a23SAndrzej Pietrasiewicz		bDefaultFrameIndex	- optimum frame index for this stream
18646919a23SAndrzej Pietrasiewicz
18746919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
18846919a23SAndrzej PietrasiewiczDate:		Dec 2014
189375f62e7SAlexandre BelloniKernelVersion:	4.0
19046919a23SAndrzej PietrasiewiczDescription:	Specific MJPEG frame descriptors
19146919a23SAndrzej Pietrasiewicz
19246919a23SAndrzej Pietrasiewicz		dwFrameInterval		- indicates how frame interval can be
19346919a23SAndrzej Pietrasiewicz					programmed; a number of values
19446919a23SAndrzej Pietrasiewicz					separated by newline can be specified
19546919a23SAndrzej Pietrasiewicz		dwDefaultFrameInterval	- the frame interval the device would
19646919a23SAndrzej Pietrasiewicz					like to use as default
19746919a23SAndrzej Pietrasiewicz		dwMaxVideoFrameBufferSize- the maximum number of bytes the
19846919a23SAndrzej Pietrasiewicz					compressor will produce for a video
19946919a23SAndrzej Pietrasiewicz					frame or still image
20046919a23SAndrzej Pietrasiewicz		dwMaxBitRate		- the maximum bit rate at the shortest
20146919a23SAndrzej Pietrasiewicz					frame interval in bps
20246919a23SAndrzej Pietrasiewicz		dwMinBitRate		- the minimum bit rate at the longest
20346919a23SAndrzej Pietrasiewicz					frame interval in bps
20446919a23SAndrzej Pietrasiewicz		wHeight			- height of decoded bitmap frame in px
20546919a23SAndrzej Pietrasiewicz		wWidth			- width of decoded bitmam frame in px
20646919a23SAndrzej Pietrasiewicz		bmCapabilities		- still image support, fixed frame-rate
20746919a23SAndrzej Pietrasiewicz					support
20846919a23SAndrzej Pietrasiewicz
20946919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
21046919a23SAndrzej PietrasiewiczDate:		Dec 2014
211375f62e7SAlexandre BelloniKernelVersion:	4.0
21246919a23SAndrzej PietrasiewiczDescription:	Uncompressed format descriptors
21346919a23SAndrzej Pietrasiewicz
21446919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
21546919a23SAndrzej PietrasiewiczDate:		Dec 2014
216375f62e7SAlexandre BelloniKernelVersion:	4.0
21746919a23SAndrzej PietrasiewiczDescription:	Specific uncompressed format descriptors
21846919a23SAndrzej Pietrasiewicz
21961ff10e0SLaurent Pinchart		bFormatIndex		- unique id for this format descriptor;
22061ff10e0SLaurent Pinchart					only defined after parent header is
22161ff10e0SLaurent Pinchart					linked into the streaming class;
22261ff10e0SLaurent Pinchart					read-only
22346919a23SAndrzej Pietrasiewicz		bmaControls		- this format's data for bmaControls in
22446919a23SAndrzej Pietrasiewicz					the streaming header
22546919a23SAndrzej Pietrasiewicz		bmInterfaceFlags	- specifies interlace information,
22646919a23SAndrzej Pietrasiewicz					read-only
22746919a23SAndrzej Pietrasiewicz		bAspectRatioY		- the X dimension of the picture aspect
22846919a23SAndrzej Pietrasiewicz					ratio, read-only
22946919a23SAndrzej Pietrasiewicz		bAspectRatioX		- the Y dimension of the picture aspect
23046919a23SAndrzej Pietrasiewicz					ratio, read-only
23146919a23SAndrzej Pietrasiewicz		bDefaultFrameIndex	- optimum frame index for this stream
23246919a23SAndrzej Pietrasiewicz		bBitsPerPixel		- number of bits per pixel used to
23346919a23SAndrzej Pietrasiewicz					specify color in the decoded video
23446919a23SAndrzej Pietrasiewicz					frame
23546919a23SAndrzej Pietrasiewicz		guidFormat		- globally unique id used to identify
23646919a23SAndrzej Pietrasiewicz					stream-encoding format
23746919a23SAndrzej Pietrasiewicz
23846919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
23946919a23SAndrzej PietrasiewiczDate:		Dec 2014
240375f62e7SAlexandre BelloniKernelVersion:	4.0
24146919a23SAndrzej PietrasiewiczDescription:	Specific uncompressed frame descriptors
24246919a23SAndrzej Pietrasiewicz
24346919a23SAndrzej Pietrasiewicz		dwFrameInterval		- indicates how frame interval can be
24446919a23SAndrzej Pietrasiewicz					programmed; a number of values
24546919a23SAndrzej Pietrasiewicz					separated by newline can be specified
24646919a23SAndrzej Pietrasiewicz		dwDefaultFrameInterval	- the frame interval the device would
24746919a23SAndrzej Pietrasiewicz					like to use as default
24846919a23SAndrzej Pietrasiewicz		dwMaxVideoFrameBufferSize- the maximum number of bytes the
24946919a23SAndrzej Pietrasiewicz					compressor will produce for a video
25046919a23SAndrzej Pietrasiewicz					frame or still image
25146919a23SAndrzej Pietrasiewicz		dwMaxBitRate		- the maximum bit rate at the shortest
25246919a23SAndrzej Pietrasiewicz					frame interval in bps
25346919a23SAndrzej Pietrasiewicz		dwMinBitRate		- the minimum bit rate at the longest
25446919a23SAndrzej Pietrasiewicz					frame interval in bps
25546919a23SAndrzej Pietrasiewicz		wHeight			- height of decoded bitmap frame in px
25646919a23SAndrzej Pietrasiewicz		wWidth			- width of decoded bitmam frame in px
25746919a23SAndrzej Pietrasiewicz		bmCapabilities		- still image support, fixed frame-rate
25846919a23SAndrzej Pietrasiewicz					support
25946919a23SAndrzej Pietrasiewicz
26046919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/header
26146919a23SAndrzej PietrasiewiczDate:		Dec 2014
262375f62e7SAlexandre BelloniKernelVersion:	4.0
26346919a23SAndrzej PietrasiewiczDescription:	Streaming header descriptors
26446919a23SAndrzej Pietrasiewicz
26546919a23SAndrzej PietrasiewiczWhat:		/config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
26646919a23SAndrzej PietrasiewiczDate:		Dec 2014
267375f62e7SAlexandre BelloniKernelVersion:	4.0
26846919a23SAndrzej PietrasiewiczDescription:	Specific streaming header descriptors
26946919a23SAndrzej Pietrasiewicz
27046919a23SAndrzej Pietrasiewicz		All attributes read only:
27146919a23SAndrzej Pietrasiewicz		bTriggerUsage		- how the host software will respond to
27246919a23SAndrzej Pietrasiewicz					a hardware trigger interrupt event
27346919a23SAndrzej Pietrasiewicz		bTriggerSupport		- flag specifying if hardware
27446919a23SAndrzej Pietrasiewicz					triggering is supported
27546919a23SAndrzej Pietrasiewicz		bStillCaptureMethod	- method of still image caputre
27646919a23SAndrzej Pietrasiewicz					supported
27746919a23SAndrzej Pietrasiewicz		bTerminalLink		- id of the output terminal to which
27846919a23SAndrzej Pietrasiewicz					the video endpoint of this interface
27946919a23SAndrzej Pietrasiewicz					is connected
28046919a23SAndrzej Pietrasiewicz		bmInfo			- capabilities of this video streaming
28146919a23SAndrzej Pietrasiewicz					interface
282d7af78b9SKieran Bingham
283d7af78b9SKieran BinghamWhat:		/sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
284d7af78b9SKieran BinghamDate:		May 2018
285d7af78b9SKieran BinghamKernelVersion:	4.19
286d7af78b9SKieran BinghamDescription:	UVC configfs function instance name
287