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

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)
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-rockpis-latest
+
  root@rockpis:~# apt-get install -y linux-4.4-rock-pi-s-latest
  
 
Install tool fswebcam
 
Install tool fswebcam

Revision as of 10:56, 11 May 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 /dev/video0 ./test.png

Troubleshooting