range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
69
www.xunlong.tv
[CHG] Device DC:72:9B:4C:F4:CF Paired: yes
Pairing successful
[bluetooth]# paired-devices
Device 44:F2:1B:B8:76:7B Roy
5.13.
USB camera test
1) First insert the USB camera into the USB port of the Orange Pi development board
2) Then through the lsmod command, you can see that the kernel has automatically
loaded the following modules
root@orangepir1plus:~# lsmod | grep "uvc"
uvcvideo 110592 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_v4l2 36864 1 uvcvideo
videobuf2_common 65536 2 videobuf2_v4l2,uvcvideo
videodev 311296 3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 65536 4
videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
3) Through the v4l2-ctl (note that the l in v4l2 is a lowercase letter l, not a number 1)
command, you can see that the device node information of the USB camera is
/dev/video0
root@orangepir1plus:~# apt update
root@orangepir1plus:~# apt install v4l-utils
root@orangepir1plus:~# v4l2-ctl --list-devices
USB 2.0 Camera: HD USB Camera (usb-ff5d0000.usb-1):
/dev/video0
/dev/video1
4) Use fswebcam to test the USB camera
a. Install fswebcam
root@orangepir1plus:~# apt update
root@orangepir1plus:~# apt-get install fswebcam