View camera device - linux

foreword

This article describes how to check whether there is a camera peripheral on the linux platform.

Operation process

1. Open a shell and enter the following command:

ls / dev / video *

You can check whether there is a camera peripheral;

2. If the camera peripheral is indeed connected, but it is not queried, it may be a problem with the camera driver installation;

You need to install and compile the camera driver. The current driver installation is as follows:

#change to camera driver folder
cd driver_folder
make clean
make 
sudo make insert

Of course, different camera peripherals and systems may have different drivers;

3. After installing and compiling the driver, you can view the camera peripherals and use them normally, but there may be similar problems after shutdown and restart.

It is necessary to reinstall and compile the camera driver after each shutdown and restart. Professionals are required to solve this problem;

over

Guess you like

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