Skip to content

Linux Support for USB Cameras

Jonathan Maron edited this page Feb 27, 2014 · 9 revisions

The Imaging Source USB cameras are UVC compatible. You can interact with them via the v4l2 driver. This should already be part of your distribution/kernel.

Please note, however, that due to an error in the uvc driver, bayer 8-bit patterns are not correctly interpreted. For a work around, please see below.

USB 3.0 Cameras

The Imaging Source USB 3.0 cameras run out of the box on Linux.

No further software or configuration is required.

USB 2.0 Cameras

To use The Imaging Source USB 2.0 cameras on Linux, you first need to upload a modified firmware to your camera.

Please follow the steps in the [Getting Started with USB Cameras](Getting Started with USB cameras) guide.

This sections assumes you only have one camera connected. If you have more than one camera (e.g. because you are working on a laptop with integrated webcam) you may have to change the number of your video device.

  1. Connect your camera.

  2. Run ls /dev/video0 If the device exists your camera is identified correctly.

  3. Start a video application of your choice.

We recommend installing guvcview to display a live image on your screen. This is a standards compliant application and is the easiest way to get a live video stream on your screen. Install it by browsing through your package manager.

Alternatively, you can display a live video stream on your screen, using the following command:

mplayer tv:// -tv driver=v4l2:device=/dev/video0

You can’t perform that action at this time.