Webcam Test Ubuntu Focal 20210318

From wikidb
Jump to: navigation, search

For Ubuntu 20.04

Cheese

References

Test

Plug in a Logitech C270 camera

 $ dmesg | grep -i "Camera"
     [  245.857696] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/input/input12

 $ ls -ltrh /dev/video*
     crw-rw----+ 1 root video 81, 0 Mar 18 17:10 /dev/video0
     crw-rw----+ 1 root video 81, 1 Mar 18 17:10 /dev/video1

 $ cheese 

ScreenshotCheese20210507.png

 $ lsusb
     Bus 001 Device 002: ID 8087:8000 Intel Corp. 
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 003 Device 002: ID 05e3:0617 Genesys Logic, Inc. USB3.0 Hub
     Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 002 Device 008: ID 8087:07dc Intel Corp. 
     Bus 002 Device 007: ID 046d:0825 Logitech, Inc. Webcam C270
     Bus 002 Device 005: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
     Bus 002 Device 003: ID 0483:5740 STMicroelectronics Virtual COM Port
     Bus 002 Device 006: ID 413c:3200 Dell Computer Corp. Mouse
     Bus 002 Device 004: ID f617:0905 Silicon Labs CP2102 USB to UART Bridge Controller
     Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
     Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 $ lsusb -s 2:7 -v

     Bus 002 Device 007: ID 046d:0825 Logitech, Inc. Webcam C270
     Couldn't open device, some information will be missing
     Device Descriptor:
       bLength                18
       bDescriptorType         1
       bcdUSB               2.00
       bDeviceClass          239 Miscellaneous Device
       bDeviceSubClass         2 
       bDeviceProtocol         1 Interface Association
       bMaxPacketSize0        64
       idVendor           0x046d Logitech, Inc.
       idProduct          0x0825 Webcam C270
       bcdDevice            0.12
       iManufacturer           0 
       iProduct                0 
       iSerial                 2 
 ...
 ...

May be of interest

 $ guvcview

     Command 'guvcview' not found

Notes and Logs

ROS 1 Pages on Floor Hugger running Indigo