EasyManua.ls Logo

Orange Pi PC Plus - Page 72

Orange Pi PC Plus
150 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 71 www.xunlong.tv
Set the csi camera used by the orangepipcplus as: ov5640
setsystem ov5640 The main things that the command does are
a. Configure the kernel modules that need to be loaded for ov5640
root@orangepi:~# cat /etc/modules-load.d/modules.conf
ov5640
vfe_v4l2
b. Configure vip_dev0_mname in /boot/script.bin as ov5640
3) After restarting and entering the system, first confirm whether the kernel module
related to the ov5640 camera is automatically loaded
root@orangepi:~# lsmod
Module Size Used by
vfe_v4l2 1018545 1
videobuf_dma_contig 3513 1 vfe_v4l2
videobuf_core 14871 2 vfe_v4l2,videobuf_dma_contig
ov5640 42317 0
vfe_subdev 4531 2 vfe_v4l2,ov5640
cci 22869 2 vfe_v4l2,ov5640
vfe_os 4269 3 cci,vfe_v4l2,vfe_subdev
4) Then use v4l2-ctl (note that l in v4l2 is a lowercase letter l, not a number 1) command
to view the device node of the CSI camera. From the output below, we can see that the
device node corresponding to the camera is /dev/video0
root@orangepi:~# apt update
root@orangepi:~# apt install -y v4l-utils
root@orangepi:~# v4l2-ctl --list-devices
sunxi-vfe (sunxi_vfe sunxi_vfe.0):
/dev/video0
5) Then start to install the camera test software motion
root@orangepi:~# apt update
root@orangepi:~# apt install -y motion
6) Modify the configuration of /etc/default/motion, change start_motion_daemon=no

Table of Contents

Related product manuals