18c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name 28c2ecf20Sopenharmony_ciDate: Dec 2014 38c2ecf20Sopenharmony_ciKernelVersion: 4.0 48c2ecf20Sopenharmony_ciDescription: UVC function directory 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci =================== ============================= 78c2ecf20Sopenharmony_ci streaming_maxburst 0..15 (ss only) 88c2ecf20Sopenharmony_ci streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss) 98c2ecf20Sopenharmony_ci streaming_interval 1..16 108c2ecf20Sopenharmony_ci =================== ============================= 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control 138c2ecf20Sopenharmony_ciDate: Dec 2014 148c2ecf20Sopenharmony_ciKernelVersion: 4.0 158c2ecf20Sopenharmony_ciDescription: Control descriptors 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci All attributes read only: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci ================ ============================= 208c2ecf20Sopenharmony_ci bInterfaceNumber USB interface number for this 218c2ecf20Sopenharmony_ci streaming interface 228c2ecf20Sopenharmony_ci ================ ============================= 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class 258c2ecf20Sopenharmony_ciDate: Dec 2014 268c2ecf20Sopenharmony_ciKernelVersion: 4.0 278c2ecf20Sopenharmony_ciDescription: Class descriptors 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss 308c2ecf20Sopenharmony_ciDate: Dec 2014 318c2ecf20Sopenharmony_ciKernelVersion: 4.0 328c2ecf20Sopenharmony_ciDescription: Super speed control class descriptors 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs 358c2ecf20Sopenharmony_ciDate: Dec 2014 368c2ecf20Sopenharmony_ciKernelVersion: 4.0 378c2ecf20Sopenharmony_ciDescription: Full speed control class descriptors 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal 408c2ecf20Sopenharmony_ciDate: Dec 2014 418c2ecf20Sopenharmony_ciKernelVersion: 4.0 428c2ecf20Sopenharmony_ciDescription: Terminal descriptors 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output 458c2ecf20Sopenharmony_ciDate: Dec 2014 468c2ecf20Sopenharmony_ciKernelVersion: 4.0 478c2ecf20Sopenharmony_ciDescription: Output terminal descriptors 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default 508c2ecf20Sopenharmony_ciDate: Dec 2014 518c2ecf20Sopenharmony_ciKernelVersion: 4.0 528c2ecf20Sopenharmony_ciDescription: Default output terminal descriptors 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci All attributes read only except bSourceID: 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci ============== ============================================= 578c2ecf20Sopenharmony_ci iTerminal index of string descriptor 588c2ecf20Sopenharmony_ci bSourceID id of the terminal to which this terminal 598c2ecf20Sopenharmony_ci is connected 608c2ecf20Sopenharmony_ci bAssocTerminal id of the input terminal to which this output 618c2ecf20Sopenharmony_ci terminal is associated 628c2ecf20Sopenharmony_ci wTerminalType terminal type 638c2ecf20Sopenharmony_ci bTerminalID a non-zero id of this terminal 648c2ecf20Sopenharmony_ci ============== ============================================= 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera 678c2ecf20Sopenharmony_ciDate: Dec 2014 688c2ecf20Sopenharmony_ciKernelVersion: 4.0 698c2ecf20Sopenharmony_ciDescription: Camera terminal descriptors 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default 728c2ecf20Sopenharmony_ciDate: Dec 2014 738c2ecf20Sopenharmony_ciKernelVersion: 4.0 748c2ecf20Sopenharmony_ciDescription: Default camera terminal descriptors 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci All attributes read only: 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ci ======================== ==================================== 798c2ecf20Sopenharmony_ci bmControls bitmap specifying which controls are 808c2ecf20Sopenharmony_ci supported for the video stream 818c2ecf20Sopenharmony_ci wOcularFocalLength the value of Locular 828c2ecf20Sopenharmony_ci wObjectiveFocalLengthMax the value of Lmin 838c2ecf20Sopenharmony_ci wObjectiveFocalLengthMin the value of Lmax 848c2ecf20Sopenharmony_ci iTerminal index of string descriptor 858c2ecf20Sopenharmony_ci bAssocTerminal id of the output terminal to which 868c2ecf20Sopenharmony_ci this terminal is connected 878c2ecf20Sopenharmony_ci wTerminalType terminal type 888c2ecf20Sopenharmony_ci bTerminalID a non-zero id of this terminal 898c2ecf20Sopenharmony_ci ======================== ==================================== 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/processing 928c2ecf20Sopenharmony_ciDate: Dec 2014 938c2ecf20Sopenharmony_ciKernelVersion: 4.0 948c2ecf20Sopenharmony_ciDescription: Processing unit descriptors 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default 978c2ecf20Sopenharmony_ciDate: Dec 2014 988c2ecf20Sopenharmony_ciKernelVersion: 4.0 998c2ecf20Sopenharmony_ciDescription: Default processing unit descriptors 1008c2ecf20Sopenharmony_ci 1018c2ecf20Sopenharmony_ci All attributes read only: 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci =============== ======================================== 1048c2ecf20Sopenharmony_ci iProcessing index of string descriptor 1058c2ecf20Sopenharmony_ci bmControls bitmap specifying which controls are 1068c2ecf20Sopenharmony_ci supported for the video stream 1078c2ecf20Sopenharmony_ci wMaxMultiplier maximum digital magnification x100 1088c2ecf20Sopenharmony_ci bSourceID id of the terminal to which this unit is 1098c2ecf20Sopenharmony_ci connected 1108c2ecf20Sopenharmony_ci bUnitID a non-zero id of this unit 1118c2ecf20Sopenharmony_ci =============== ======================================== 1128c2ecf20Sopenharmony_ci 1138c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/header 1148c2ecf20Sopenharmony_ciDate: Dec 2014 1158c2ecf20Sopenharmony_ciKernelVersion: 4.0 1168c2ecf20Sopenharmony_ciDescription: Control header descriptors 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/control/header/name 1198c2ecf20Sopenharmony_ciDate: Dec 2014 1208c2ecf20Sopenharmony_ciKernelVersion: 4.0 1218c2ecf20Sopenharmony_ciDescription: Specific control header descriptors 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_cidwClockFrequency 1248c2ecf20Sopenharmony_cibcdUVC 1258c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming 1268c2ecf20Sopenharmony_ciDate: Dec 2014 1278c2ecf20Sopenharmony_ciKernelVersion: 4.0 1288c2ecf20Sopenharmony_ciDescription: Streaming descriptors 1298c2ecf20Sopenharmony_ci 1308c2ecf20Sopenharmony_ci All attributes read only: 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ci ================ ============================= 1338c2ecf20Sopenharmony_ci bInterfaceNumber USB interface number for this 1348c2ecf20Sopenharmony_ci streaming interface 1358c2ecf20Sopenharmony_ci ================ ============================= 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class 1388c2ecf20Sopenharmony_ciDate: Dec 2014 1398c2ecf20Sopenharmony_ciKernelVersion: 4.0 1408c2ecf20Sopenharmony_ciDescription: Streaming class descriptors 1418c2ecf20Sopenharmony_ci 1428c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss 1438c2ecf20Sopenharmony_ciDate: Dec 2014 1448c2ecf20Sopenharmony_ciKernelVersion: 4.0 1458c2ecf20Sopenharmony_ciDescription: Super speed streaming class descriptors 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs 1488c2ecf20Sopenharmony_ciDate: Dec 2014 1498c2ecf20Sopenharmony_ciKernelVersion: 4.0 1508c2ecf20Sopenharmony_ciDescription: High speed streaming class descriptors 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs 1538c2ecf20Sopenharmony_ciDate: Dec 2014 1548c2ecf20Sopenharmony_ciKernelVersion: 4.0 1558c2ecf20Sopenharmony_ciDescription: Full speed streaming class descriptors 1568c2ecf20Sopenharmony_ci 1578c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching 1588c2ecf20Sopenharmony_ciDate: Dec 2014 1598c2ecf20Sopenharmony_ciKernelVersion: 4.0 1608c2ecf20Sopenharmony_ciDescription: Color matching descriptors 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default 1638c2ecf20Sopenharmony_ciDate: Dec 2014 1648c2ecf20Sopenharmony_ciKernelVersion: 4.0 1658c2ecf20Sopenharmony_ciDescription: Default color matching descriptors 1668c2ecf20Sopenharmony_ci 1678c2ecf20Sopenharmony_ci All attributes read only: 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci ======================== ====================================== 1708c2ecf20Sopenharmony_ci bMatrixCoefficients matrix used to compute luma and 1718c2ecf20Sopenharmony_ci chroma values from the color primaries 1728c2ecf20Sopenharmony_ci bTransferCharacteristics optoelectronic transfer 1738c2ecf20Sopenharmony_ci characteristic of the source picutre, 1748c2ecf20Sopenharmony_ci also called the gamma function 1758c2ecf20Sopenharmony_ci bColorPrimaries color primaries and the reference 1768c2ecf20Sopenharmony_ci white 1778c2ecf20Sopenharmony_ci ======================== ====================================== 1788c2ecf20Sopenharmony_ci 1798c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg 1808c2ecf20Sopenharmony_ciDate: Dec 2014 1818c2ecf20Sopenharmony_ciKernelVersion: 4.0 1828c2ecf20Sopenharmony_ciDescription: MJPEG format descriptors 1838c2ecf20Sopenharmony_ci 1848c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name 1858c2ecf20Sopenharmony_ciDate: Dec 2014 1868c2ecf20Sopenharmony_ciKernelVersion: 4.0 1878c2ecf20Sopenharmony_ciDescription: Specific MJPEG format descriptors 1888c2ecf20Sopenharmony_ci 1898c2ecf20Sopenharmony_ci All attributes read only, 1908c2ecf20Sopenharmony_ci except bmaControls and bDefaultFrameIndex: 1918c2ecf20Sopenharmony_ci 1928c2ecf20Sopenharmony_ci =================== ===================================== 1938c2ecf20Sopenharmony_ci bFormatIndex unique id for this format descriptor; 1948c2ecf20Sopenharmony_ci only defined after parent header is 1958c2ecf20Sopenharmony_ci linked into the streaming class; 1968c2ecf20Sopenharmony_ci read-only 1978c2ecf20Sopenharmony_ci bmaControls this format's data for bmaControls in 1988c2ecf20Sopenharmony_ci the streaming header 1998c2ecf20Sopenharmony_ci bmInterfaceFlags specifies interlace information, 2008c2ecf20Sopenharmony_ci read-only 2018c2ecf20Sopenharmony_ci bAspectRatioY the X dimension of the picture aspect 2028c2ecf20Sopenharmony_ci ratio, read-only 2038c2ecf20Sopenharmony_ci bAspectRatioX the Y dimension of the picture aspect 2048c2ecf20Sopenharmony_ci ratio, read-only 2058c2ecf20Sopenharmony_ci bmFlags characteristics of this format, 2068c2ecf20Sopenharmony_ci read-only 2078c2ecf20Sopenharmony_ci bDefaultFrameIndex optimum frame index for this stream 2088c2ecf20Sopenharmony_ci =================== ===================================== 2098c2ecf20Sopenharmony_ci 2108c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name 2118c2ecf20Sopenharmony_ciDate: Dec 2014 2128c2ecf20Sopenharmony_ciKernelVersion: 4.0 2138c2ecf20Sopenharmony_ciDescription: Specific MJPEG frame descriptors 2148c2ecf20Sopenharmony_ci 2158c2ecf20Sopenharmony_ci ========================= ===================================== 2168c2ecf20Sopenharmony_ci bFrameIndex unique id for this framedescriptor; 2178c2ecf20Sopenharmony_ci only defined after parent format is 2188c2ecf20Sopenharmony_ci linked into the streaming header; 2198c2ecf20Sopenharmony_ci read-only 2208c2ecf20Sopenharmony_ci dwFrameInterval indicates how frame interval can be 2218c2ecf20Sopenharmony_ci programmed; a number of values 2228c2ecf20Sopenharmony_ci separated by newline can be specified 2238c2ecf20Sopenharmony_ci dwDefaultFrameInterval the frame interval the device would 2248c2ecf20Sopenharmony_ci like to use as default 2258c2ecf20Sopenharmony_ci dwMaxVideoFrameBufferSize the maximum number of bytes the 2268c2ecf20Sopenharmony_ci compressor will produce for a video 2278c2ecf20Sopenharmony_ci frame or still image 2288c2ecf20Sopenharmony_ci dwMaxBitRate the maximum bit rate at the shortest 2298c2ecf20Sopenharmony_ci frame interval in bps 2308c2ecf20Sopenharmony_ci dwMinBitRate the minimum bit rate at the longest 2318c2ecf20Sopenharmony_ci frame interval in bps 2328c2ecf20Sopenharmony_ci wHeight height of decoded bitmap frame in px 2338c2ecf20Sopenharmony_ci wWidth width of decoded bitmam frame in px 2348c2ecf20Sopenharmony_ci bmCapabilities still image support, fixed frame-rate 2358c2ecf20Sopenharmony_ci support 2368c2ecf20Sopenharmony_ci ========================= ===================================== 2378c2ecf20Sopenharmony_ci 2388c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed 2398c2ecf20Sopenharmony_ciDate: Dec 2014 2408c2ecf20Sopenharmony_ciKernelVersion: 4.0 2418c2ecf20Sopenharmony_ciDescription: Uncompressed format descriptors 2428c2ecf20Sopenharmony_ci 2438c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name 2448c2ecf20Sopenharmony_ciDate: Dec 2014 2458c2ecf20Sopenharmony_ciKernelVersion: 4.0 2468c2ecf20Sopenharmony_ciDescription: Specific uncompressed format descriptors 2478c2ecf20Sopenharmony_ci 2488c2ecf20Sopenharmony_ci ================== ======================================= 2498c2ecf20Sopenharmony_ci bFormatIndex unique id for this format descriptor; 2508c2ecf20Sopenharmony_ci only defined after parent header is 2518c2ecf20Sopenharmony_ci linked into the streaming class; 2528c2ecf20Sopenharmony_ci read-only 2538c2ecf20Sopenharmony_ci bmaControls this format's data for bmaControls in 2548c2ecf20Sopenharmony_ci the streaming header 2558c2ecf20Sopenharmony_ci bmInterfaceFlags specifies interlace information, 2568c2ecf20Sopenharmony_ci read-only 2578c2ecf20Sopenharmony_ci bAspectRatioY the X dimension of the picture aspect 2588c2ecf20Sopenharmony_ci ratio, read-only 2598c2ecf20Sopenharmony_ci bAspectRatioX the Y dimension of the picture aspect 2608c2ecf20Sopenharmony_ci ratio, read-only 2618c2ecf20Sopenharmony_ci bDefaultFrameIndex optimum frame index for this stream 2628c2ecf20Sopenharmony_ci bBitsPerPixel number of bits per pixel used to 2638c2ecf20Sopenharmony_ci specify color in the decoded video 2648c2ecf20Sopenharmony_ci frame 2658c2ecf20Sopenharmony_ci guidFormat globally unique id used to identify 2668c2ecf20Sopenharmony_ci stream-encoding format 2678c2ecf20Sopenharmony_ci ================== ======================================= 2688c2ecf20Sopenharmony_ci 2698c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name 2708c2ecf20Sopenharmony_ciDate: Dec 2014 2718c2ecf20Sopenharmony_ciKernelVersion: 4.0 2728c2ecf20Sopenharmony_ciDescription: Specific uncompressed frame descriptors 2738c2ecf20Sopenharmony_ci 2748c2ecf20Sopenharmony_ci ========================= ===================================== 2758c2ecf20Sopenharmony_ci bFrameIndex unique id for this framedescriptor; 2768c2ecf20Sopenharmony_ci only defined after parent format is 2778c2ecf20Sopenharmony_ci linked into the streaming header; 2788c2ecf20Sopenharmony_ci read-only 2798c2ecf20Sopenharmony_ci dwFrameInterval indicates how frame interval can be 2808c2ecf20Sopenharmony_ci programmed; a number of values 2818c2ecf20Sopenharmony_ci separated by newline can be specified 2828c2ecf20Sopenharmony_ci dwDefaultFrameInterval the frame interval the device would 2838c2ecf20Sopenharmony_ci like to use as default 2848c2ecf20Sopenharmony_ci dwMaxVideoFrameBufferSize the maximum number of bytes the 2858c2ecf20Sopenharmony_ci compressor will produce for a video 2868c2ecf20Sopenharmony_ci frame or still image 2878c2ecf20Sopenharmony_ci dwMaxBitRate the maximum bit rate at the shortest 2888c2ecf20Sopenharmony_ci frame interval in bps 2898c2ecf20Sopenharmony_ci dwMinBitRate the minimum bit rate at the longest 2908c2ecf20Sopenharmony_ci frame interval in bps 2918c2ecf20Sopenharmony_ci wHeight height of decoded bitmap frame in px 2928c2ecf20Sopenharmony_ci wWidth width of decoded bitmam frame in px 2938c2ecf20Sopenharmony_ci bmCapabilities still image support, fixed frame-rate 2948c2ecf20Sopenharmony_ci support 2958c2ecf20Sopenharmony_ci ========================= ===================================== 2968c2ecf20Sopenharmony_ci 2978c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/header 2988c2ecf20Sopenharmony_ciDate: Dec 2014 2998c2ecf20Sopenharmony_ciKernelVersion: 4.0 3008c2ecf20Sopenharmony_ciDescription: Streaming header descriptors 3018c2ecf20Sopenharmony_ci 3028c2ecf20Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name 3038c2ecf20Sopenharmony_ciDate: Dec 2014 3048c2ecf20Sopenharmony_ciKernelVersion: 4.0 3058c2ecf20Sopenharmony_ciDescription: Specific streaming header descriptors 3068c2ecf20Sopenharmony_ci 3078c2ecf20Sopenharmony_ci All attributes read only: 3088c2ecf20Sopenharmony_ci 3098c2ecf20Sopenharmony_ci ==================== ===================================== 3108c2ecf20Sopenharmony_ci bTriggerUsage how the host software will respond to 3118c2ecf20Sopenharmony_ci a hardware trigger interrupt event 3128c2ecf20Sopenharmony_ci bTriggerSupport flag specifying if hardware 3138c2ecf20Sopenharmony_ci triggering is supported 3148c2ecf20Sopenharmony_ci bStillCaptureMethod method of still image caputre 3158c2ecf20Sopenharmony_ci supported 3168c2ecf20Sopenharmony_ci bTerminalLink id of the output terminal to which 3178c2ecf20Sopenharmony_ci the video endpoint of this interface 3188c2ecf20Sopenharmony_ci is connected 3198c2ecf20Sopenharmony_ci bmInfo capabilities of this video streaming 3208c2ecf20Sopenharmony_ci interface 3218c2ecf20Sopenharmony_ci ==================== ===================================== 3228c2ecf20Sopenharmony_ci 3238c2ecf20Sopenharmony_ciWhat: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name 3248c2ecf20Sopenharmony_ciDate: May 2018 3258c2ecf20Sopenharmony_ciKernelVersion: 4.19 3268c2ecf20Sopenharmony_ciDescription: UVC configfs function instance name 327