Raspberry Pi CSI camera module cannot find /dev/video0 problem

After the Raspberry Pi CSI camera is installed, use the raspivid and raspistill commands to take pictures, and the video is all right, but when ls /dev/ video0 shows that there is no such device
Solution:
At the end of /etc/modules, add:

bcm2835-v4l2

Among them, the l of v4l2 is the lowercase of L, not 1, please pay attention.
ps: Some articles mentioned that the file /etc/modules-load.d/rpi-camera.conf was modified, and the same content was added at the end. I haven't tried this method.

Restart, ls -l /dev/video0, you should be able to see it.

Principle:
https://wiki.archlinux.org/index.php/Raspberry_Pi , here are a lot of questions about startup, the Raspberry Pi camera module chapter is about how to start the camera.
The camera module in the Raspberry Pi is loaded in the form of firmware in the /boot/ directory, not a standard v4l2 camera driver, so the device node of /dev/video0 will not be found after loading, this is because This driver is at the bottom, and the v4l2 driver framework has not been loaded, so add a line of bcm2835-v4l2 to /etc/modules

 

refer to:

http://blog.csdn.net/cient007/article/details/52022406

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324393664&siteId=291194637