Very often I need to identify the camera attached to Ubuntu (Linux in general), so here are some useful commands.

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 13d3:5a11 IMC Networks USB2.0 VGA UVC WebCam
Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 005: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

To get the ID of the camera, which is useful for computer vision applilcation.
sudo lsusb -v -d 0ac8:3420 | grep -i serial

iSerial 0

To quickly the camera

ffplay /dev/video0

Also very useful

ls -l /dev/video*

v4l2-ctl –list-devices

How to identify the web cameras attached to Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *