Difference between revisions of "RockpiS/hardware/camera/"
(Created page with "{{rockpiS_header}} {{Languages|rockpiS/hardware/camera}} ROCK Pi S > Hardware > Camera module === USB...") |
(→USB Camera) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
Update kernel to version 4.4.143-41-rockchip or newer. | Update kernel to version 4.4.143-41-rockchip or newer. | ||
− | root@rockpis:~# apt-get install -y linux-4.4- | + | root@rockpis:~# apt-get install -y linux-4.4-rock-pi-s-latest |
Install tool fswebcam | Install tool fswebcam | ||
Line 21: | Line 21: | ||
Capture image | Capture image | ||
− | fswebcam /dev/video0 ./test.png | + | fswebcam -d /dev/video0 ./test.png |
=== Troubleshooting === | === Troubleshooting === | ||
* Post your issue on the forum: https://forum.radxa.com/c/rockpiS | * Post your issue on the forum: https://forum.radxa.com/c/rockpiS |
Latest revision as of 09:12, 23 November 2021
ROCK Pi S > Hardware > Camera module
USB Camera
Update kernel to version 4.4.143-41-rockchip or newer.
root@rockpis:~# apt-get install -y linux-4.4-rock-pi-s-latest
Install tool fswebcam
root@rockpis:~# apt-get install -y fswebcam
Plug USB camera in, there shall be video devices.
root@rockpis:~# ls /dev/video* /dev/video0 /dev/video1
Capture image
fswebcam -d /dev/video0 ./test.png
Troubleshooting
- Post your issue on the forum: https://forum.radxa.com/c/rockpiS