这里是我qt程序界面点击启动摄像头按钮后的结果显示:
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
Capture Device ID 16343368 cannot be opened.
HIGHGUI ERROR: V4L: index 0 is not correct!
root@myimx6ek200:~# lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 005: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 006: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
USB UVC摄像头为Bus 001 Device 006: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
可看以下驱动
root@myimx6ek200:~# dmesg | grep UVC
[ 221.485271] uvcvideo: Found UVC 1.00 device Deasy USB2.0 Camera (0ac8:3420)
我相机插入板子的usb后,下述命令并没有显示camera的信息
root@myimx6ek314:~# lsusb
Bus 001 Device 006: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 10c4:8105 Cygnal Integrated Products, Inc.
Bus 001 Device 004: ID 500c:9015
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我相机插入板子的时候,串口自动显示如下信息:
usb 1-1.2: new high-speed USB device number 7 using ci_hdrc
uvcvideo: Found UVC 1.00 device SKT-MS500C-125A (500c:9015)
input: SKT-MS500C-125A as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.0/input/input7