Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that the CSI camera module of raspberry pie cannot find / dev/video0

2025-02-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to solve the problem that the CSI camera module of raspberry pie can not be found / dev/video0. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Without saying much, let's take a look.

After the installation of the raspberry pie CSI camera, use the raspivid and raspistill instructions to take pictures, and the video recording is no problem, but the ls / dev/video0 shows that there is no such device.

Solution:

At the end of / etc/modules, add:

Bcm2835-v4l2

Where the l of v4l2 is the lowercase of L, not 1, please note.

Ps: some articles also mentioned that the file / etc/modules-load.d/rpi-camera.conf was modified and the same content was added at the end. I didn't try this method.

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

Principle:

Https://wiki.archlinux.org/index.php/Raspberry_Pi, there are a lot of questions about startup here, among which the chapter Raspberry Pi camera module is about how to start camera.

The camera module in the raspberry pie is loaded in the form of firmware in the / boot/ directory, not a standard v4l2 camera driver, so the device node of / dev/video0 cannot be found after loading. This is because the driver is at the bottom, and the driver framework v4l2 has not yet been loaded, so add a line of bcm2835-v4l2 in / etc/modules.

The above is how to solve the problem that the raspberry pie CSI camera module can not find / dev/video0. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report