Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

RockpiS/hardware/camera/

    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-rockpis-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 /dev/video0 ./test.png

Troubleshooting