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


    ROCK Pi E >  Hardware >  Camera module

USB Camera

Update kernel to version 4.4.194-11-rockchip or newer.

rock@rockpie:~$ sudo apt-get update
rock@rockpie:~$ sudo apt-get install -y linux-4.4-rockpie-latest

Install tool fswebcam

rock@rockpie:~$ sudo apt-get install -y fswebcam

Plug USB camera in, there shall be video devices.

rock@rockpie:~$ ls /dev/video*
/dev/video0  /dev/video1

Show USB Camera device.

rock@rockpie:~$ lsusb
Bus 004 Device 004: ID 046d:0825 Logitech, Inc. Webcam C270

Capture image

rock@rockpie:~$ fswebcam /dev/video0 ./test.png