使用的树莓派板子型号;compute module IO board V3
使用的树莓派核心板;BCM2837 compute module 3 lite 开发板
问题描述:
摄像头无法驱动。使用Linux命令 vagencmd get_camera 。显示
Supported=2,detected=0,意为只能检测到有输入,但是不能识别设备。
在网上排查了很多原因,以下网址中看似和问题接近,但是并不能解决问题。
https://www.raspberrypi.org/forums/viewtopic.php?t=185591
https://blog.csdn.net/Game_Builder/article/details/83756920
https://blog.alexellis.io/live-stream-with-docker/
https://askubuntu.com/questions/461657/integrated-webcam-not-detected-after-update-to-14-04
最后询问客服,经过沟通之后发现是新老版本板子之间的接线存在问题,按照师兄的接法在新板子上并不适用,根据客服发的文档进行接线即可正确驱动摄像头,Compute Module IO Board板子的板载资源如下网址,
http://www.waveshare.net/wiki/Compute_Module_IO_Board_Plus
接线的对接方式如下
GPIO0--CD1_SDA
GPIO1--CD1_SCL
GPIO4--CAM1_IO1
GPIO5--CAM1_IO0
GPIO28--CD0_SDA
GPIO29--CD0_SCL
GPIO30--CAM0_IO1
GPIO31--CAM0_IO0