Difference between revisions of "RockpiE/hardware/camera/"
(Created page with "{{rockpiE_header}} {{Languages|rockpiS/hardware/camera}} ROCK Pi E > Hardware > Camera module === USB...") |
(→USB Camera) |
||
Line 19: | Line 19: | ||
rock@rockpie:~$ ls /dev/video* | rock@rockpie:~$ ls /dev/video* | ||
/dev/video0 /dev/video1 | /dev/video0 /dev/video1 | ||
+ | |||
+ | Show USB Camera device. | ||
+ | |||
+ | <pre> | ||
+ | rock@rockpie:~$ lsusb | ||
+ | ... | ||
+ | Bus 004 Device 004: ID 046d:0825 Logitech, Inc. Webcam C270 | ||
+ | ... | ||
+ | </pre> | ||
Capture image | Capture image |
Latest revision as of 06:31, 29 April 2020
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
Troubleshooting
- Post your issue on the forum: https://forum.radxa.com/c/rockpie