Notice: Radxa Wiki is no longer maintained and content is for reference only. Please visit the latest Radxa Documentation site:
docs.radxa.com
Difference between revisions of "Rock3/hardware/camera/"
| Line 1: | Line 1: | ||
| + | {{rock3_header}} | ||
| + | {{Languages|rockpiS/hardware/camera}} | ||
| + | |||
| + | [[rock3 | ROCK 3]] > [[rock3/hardware | Hardware]] > [[rock3/hardware/camera/ | Camera module]] | ||
| + | |||
=== USB Camera === | === USB Camera === | ||
| − | + | Update kernel to version 4.19.193-2-rockchip or newer. | |
| − | root@ | + | root@rock3a:~# apt-get install -y linux-4.19-rock-3-latest |
| + | Install tool fswebcam | ||
| + | |||
| + | root@rock3a:~# apt-get install -y fswebcam | ||
Plug USB camera in, there shall be video devices. | Plug USB camera in, there shall be video devices. | ||
| − | root@ | + | root@rock3a:~# ls /dev/video* |
/dev/video0 /dev/video1 | /dev/video0 /dev/video1 | ||
| − | |||
Capture image | Capture image | ||
fswebcam /dev/video0 ./test.png | fswebcam /dev/video0 ./test.png | ||
| + | |||
| + | === Troubleshooting === | ||
| + | |||
| + | * Post your issue on the forum: https://forum.radxa.com/c/rock3 | ||
Revision as of 11:44, 24 August 2021
ROCK 3 > Hardware > Camera module
USB Camera
Update kernel to version 4.19.193-2-rockchip or newer.
root@rock3a:~# apt-get install -y linux-4.19-rock-3-latest
Install tool fswebcam
root@rock3a:~# apt-get install -y fswebcam
Plug USB camera in, there shall be video devices.
root@rock3a:~# ls /dev/video* /dev/video0 /dev/video1
Capture image
fswebcam /dev/video0 ./test.png
Troubleshooting
- Post your issue on the forum: https://forum.radxa.com/c/rock3
