UVC规范USB摄像头扩展单元XU的初始化分析 – USB中文网
USB摄像头UVC扩展单元调试工具使用图解 – USB中文网
UVC Windows下UVC摄像头数据分析 – USB中文网
Bus Hound破解版|Bus Hound(USB抓包工具) v6.0.1破解版 下载 附使用教程 – 多多软件站
Linux Kernel: include/uapi/linux/uvcvideo.h Source File
app层可以通过
ioctl(fd, UVCIOC_CTRL_QUERY, struct uvc_xu_control_query *)
来调用拓展单元,具体调用可参考
V4L2访问摄像头扩展单元命令_老吕丶的博客-CSDN博客_v4l2 发送扩展指令
UVCIOC_CTRL_MAP – Map a UVC control to a V4L2 control
参考:
28. The Linux USB Video Class (UVC) driver — The Linux Kernel documentation
UVC驱动程序为用户空间应用程序提供了一个API,以在运行时定义所谓的控制映射。 这些允许单独的XU控件或其字节范围映射到新的V4L2控件。
翻译内核uvcvideo.txt:
github相关参考代码:
https://github.com/LI01/linux_camera_tool/blob/master/src/uvc_extension_unit_ctrl.cpp
https://github.com/econsysQtCAM/QtCAM
https://github.com/analogdevicesinc/aditof_sdk/blob/master/apps/uvc-app/uvc-gadget.cpp
相关PDF文档:
How to build up UVC Driver on Linux Ver.1.1.PDF
https://www.ipassion.com.tw/datasheet/How%20to%20build%20up%20UVC%20Driver%20on%20Linux_1.1_E.pdf