375 lines · plain
1What: /config/usb-gadget/gadget/functions/uvc.name2Date: Dec 20143KernelVersion: 4.04Description: UVC function directory5 6 =================== =============================7 streaming_maxburst 0..15 (ss only)8 streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)9 streaming_interval 1..1610 function_name string [32]11 =================== =============================12 13What: /config/usb-gadget/gadget/functions/uvc.name/control14Date: Dec 201415KernelVersion: 4.016Description: Control descriptors17 18 All attributes read only except enable_interrupt_ep:19 20 =================== =============================21 bInterfaceNumber USB interface number for this22 streaming interface23 enable_interrupt_ep flag to enable the interrupt24 endpoint for the VC interface25 =================== =============================26 27What: /config/usb-gadget/gadget/functions/uvc.name/control/class28Date: Dec 201429KernelVersion: 4.030Description: Class descriptors31 32What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss33Date: Dec 201434KernelVersion: 4.035Description: Super speed control class descriptors36 37What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs38Date: Dec 201439KernelVersion: 4.040Description: Full speed control class descriptors41 42What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal43Date: Dec 201444KernelVersion: 4.045Description: Terminal descriptors46 47What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output48Date: Dec 201449KernelVersion: 4.050Description: Output terminal descriptors51 52What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default53Date: Dec 201454KernelVersion: 4.055Description: Default output terminal descriptors56 57 All attributes read only except bSourceID:58 59 ============== =============================================60 iTerminal index of string descriptor61 bSourceID id of the terminal to which this terminal62 is connected63 bAssocTerminal id of the input terminal to which this output64 terminal is associated65 wTerminalType terminal type66 bTerminalID a non-zero id of this terminal67 ============== =============================================68 69What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera70Date: Dec 201471KernelVersion: 4.072Description: Camera terminal descriptors73 74What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default75Date: Dec 201476KernelVersion: 4.077Description: Default camera terminal descriptors78 79 All attributes read only except bmControls, which is read/write:80 81 ======================== ====================================82 bmControls bitmap specifying which controls are83 supported for the video stream84 wOcularFocalLength the value of Locular85 wObjectiveFocalLengthMax the value of Lmin86 wObjectiveFocalLengthMin the value of Lmax87 iTerminal index of string descriptor88 bAssocTerminal id of the output terminal to which89 this terminal is connected90 wTerminalType terminal type91 bTerminalID a non-zero id of this terminal92 ======================== ====================================93 94What: /config/usb-gadget/gadget/functions/uvc.name/control/processing95Date: Dec 201496KernelVersion: 4.097Description: Processing unit descriptors98 99What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default100Date: Dec 2014101KernelVersion: 4.0102Description: Default processing unit descriptors103 104 All attributes read only except bmControls, which is read/write:105 106 =============== ========================================107 iProcessing index of string descriptor108 bmControls bitmap specifying which controls are109 supported for the video stream110 wMaxMultiplier maximum digital magnification x100111 bSourceID id of the terminal to which this unit is112 connected113 bUnitID a non-zero id of this unit114 =============== ========================================115 116What: /config/usb-gadget/gadget/functions/uvc.name/control/extensions117Date: Nov 2022118KernelVersion: 6.1119Description: Extension unit descriptors120 121What: /config/usb-gadget/gadget/functions/uvc.name/control/extensions/name122Date: Nov 2022123KernelVersion: 6.1124Description: Extension Unit (XU) Descriptor125 126 bLength, bUnitID and iExtension are read-only. All others are127 read-write.128 129 ================= ========================================130 bLength size of the descriptor in bytes131 bUnitID non-zero ID of this unit132 guidExtensionCode Vendor-specific code identifying the XU133 bNumControls number of controls in this XU134 bNrInPins number of input pins for this unit135 baSourceID list of the IDs of the units or terminals136 to which this XU is connected137 bControlSize size of the bmControls field in bytes138 bmControls list of bitmaps detailing which vendor139 specific controls are supported140 iExtension index of a string descriptor that describes141 this extension unit142 ================= ========================================143 144What: /config/usb-gadget/gadget/functions/uvc.name/control/header145Date: Dec 2014146KernelVersion: 4.0147Description: Control header descriptors148 149What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name150Date: Dec 2014151KernelVersion: 4.0152Description: Specific control header descriptors153 154dwClockFrequency155bcdUVC156What: /config/usb-gadget/gadget/functions/uvc.name/streaming157Date: Dec 2014158KernelVersion: 4.0159Description: Streaming descriptors160 161 All attributes read only:162 163 ================ =============================164 bInterfaceNumber USB interface number for this165 streaming interface166 ================ =============================167 168What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class169Date: Dec 2014170KernelVersion: 4.0171Description: Streaming class descriptors172 173What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss174Date: Dec 2014175KernelVersion: 4.0176Description: Super speed streaming class descriptors177 178What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs179Date: Dec 2014180KernelVersion: 4.0181Description: High speed streaming class descriptors182 183What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs184Date: Dec 2014185KernelVersion: 4.0186Description: Full speed streaming class descriptors187 188What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching189Date: Dec 2014190KernelVersion: 4.0191Description: Color matching descriptors192 193What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default194Date: Dec 2014195KernelVersion: 4.0196Description: Default color matching descriptors197 198 All attributes read/write:199 200 ======================== ======================================201 bMatrixCoefficients matrix used to compute luma and202 chroma values from the color primaries203 bTransferCharacteristics optoelectronic transfer204 characteristic of the source picture,205 also called the gamma function206 bColorPrimaries color primaries and the reference207 white208 ======================== ======================================209 210What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/name211Date: Dec 2022212KernelVersion: 6.3213Description: Additional color matching descriptors214 215 All attributes read/write:216 217 ======================== ======================================218 bMatrixCoefficients matrix used to compute luma and219 chroma values from the color primaries220 bTransferCharacteristics optoelectronic transfer221 characteristic of the source picture,222 also called the gamma function223 bColorPrimaries color primaries and the reference224 white225 ======================== ======================================226 227What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg228Date: Dec 2014229KernelVersion: 4.0230Description: MJPEG format descriptors231 232What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name233Date: Dec 2014234KernelVersion: 4.0235Description: Specific MJPEG format descriptors236 237 All attributes read only,238 except bmaControls and bDefaultFrameIndex:239 240 =================== =====================================241 bFormatIndex unique id for this format descriptor;242 only defined after parent header is243 linked into the streaming class;244 read-only245 bmaControls this format's data for bmaControls in246 the streaming header247 bmInterlaceFlags specifies interlace information,248 read-only249 bAspectRatioY the X dimension of the picture aspect250 ratio, read-only251 bAspectRatioX the Y dimension of the picture aspect252 ratio, read-only253 bmFlags characteristics of this format,254 read-only255 bDefaultFrameIndex optimum frame index for this stream256 =================== =====================================257 258What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name259Date: Dec 2014260KernelVersion: 4.0261Description: Specific MJPEG frame descriptors262 263 ========================= =====================================264 bFrameIndex unique id for this framedescriptor;265 only defined after parent format is266 linked into the streaming header;267 read-only268 dwFrameInterval indicates how frame interval can be269 programmed; a number of values270 separated by newline can be specified271 dwDefaultFrameInterval the frame interval the device would272 like to use as default273 dwMaxVideoFrameBufferSize the maximum number of bytes the274 compressor will produce for a video275 frame or still image276 dwMaxBitRate the maximum bit rate at the shortest277 frame interval in bps278 dwMinBitRate the minimum bit rate at the longest279 frame interval in bps280 wHeight height of decoded bitmap frame in px281 wWidth width of decoded bitmam frame in px282 bmCapabilities still image support, fixed frame-rate283 support284 ========================= =====================================285 286What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed287Date: Dec 2014288KernelVersion: 4.0289Description: Uncompressed format descriptors290 291What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name292Date: Dec 2014293KernelVersion: 4.0294Description: Specific uncompressed format descriptors295 296 ================== =======================================297 bFormatIndex unique id for this format descriptor;298 only defined after parent header is299 linked into the streaming class;300 read-only301 bmaControls this format's data for bmaControls in302 the streaming header303 bmInterlaceFlags specifies interlace information,304 read-only305 bAspectRatioY the X dimension of the picture aspect306 ratio, read-only307 bAspectRatioX the Y dimension of the picture aspect308 ratio, read-only309 bDefaultFrameIndex optimum frame index for this stream310 bBitsPerPixel number of bits per pixel used to311 specify color in the decoded video312 frame313 guidFormat globally unique id used to identify314 stream-encoding format315 ================== =======================================316 317What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name318Date: Dec 2014319KernelVersion: 4.0320Description: Specific uncompressed frame descriptors321 322 ========================= =====================================323 bFrameIndex unique id for this framedescriptor;324 only defined after parent format is325 linked into the streaming header;326 read-only327 dwFrameInterval indicates how frame interval can be328 programmed; a number of values329 separated by newline can be specified330 dwDefaultFrameInterval the frame interval the device would331 like to use as default332 dwMaxVideoFrameBufferSize the maximum number of bytes the333 compressor will produce for a video334 frame or still image335 dwMaxBitRate the maximum bit rate at the shortest336 frame interval in bps337 dwMinBitRate the minimum bit rate at the longest338 frame interval in bps339 wHeight height of decoded bitmap frame in px340 wWidth width of decoded bitmam frame in px341 bmCapabilities still image support, fixed frame-rate342 support343 ========================= =====================================344 345What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header346Date: Dec 2014347KernelVersion: 4.0348Description: Streaming header descriptors349 350What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name351Date: Dec 2014352KernelVersion: 4.0353Description: Specific streaming header descriptors354 355 All attributes read only:356 357 ==================== =====================================358 bTriggerUsage how the host software will respond to359 a hardware trigger interrupt event360 bTriggerSupport flag specifying if hardware361 triggering is supported362 bStillCaptureMethod method of still image capture363 supported364 bTerminalLink id of the output terminal to which365 the video endpoint of this interface366 is connected367 bmInfo capabilities of this video streaming368 interface369 ==================== =====================================370 371What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name372Date: May 2018373KernelVersion: 4.19374Description: UVC configfs function instance name375