Point Grey Research Knowledge Base

Article 17 - Using Point Grey Imaging Products under Linux.

Issue:
Using Point Grey Imaging Products under Linux.

Solution:

With the release of version 2.0 of the FlyCapture SDK, users can program and operate Point Grey FireWire and USB imaging cameras in a Linux environment. FlyCapture 2.0 is compatible with the Ubuntu 8.04 distribution. Support for Ubuntu 10.04, including the Juju FireWire kernel driver stack, was added to the FlyCapture 2.1 release. For more information about getting started with FlyCapture 2.0 and Linux, see Related Article 330 below. 

For users who seek an alternative to the FlyCapture SDK, Point Grey recommends using the libdc1394 package from SourceForge to develop Linux-compatible applications for FireWire or USB cameras. The libdc1394 package includes some sample programs that demonstrate basic image acquisition and camera control.

libdc1394 Support for USB Cameras

Point Grey USB 2.0 cameras are designed to implement the IIDC 1394-based Digital Camera Specification. Beginning with version 2.1.0, you can use the libdc1394 package to program applications against Point Grey USB cameras. To enable the libdc implementation of IIDC over USB, you must have libusb-1.0 or later installed on the machine on which you compile applications. In most cases, no other modifications are necessary.  

Note: The current libdc1394 release does not recognize the Firefly FMVU-13S2 camera model. To use the FMVU-13S2 with your application, you must perform the following modifications:

    • Edit the USB/control.c file, located in the libdc1394 source directory, by adding the camera vendor ID and camera ID to struct vendor_product_t as follows:

      { 0x1e10, 0x2002 }, // Point Grey High Res Firefly MV Color
      { 0x1e10, 0x2003 }, // Point Grey High Res Firefly MV Mono

    • Recompile the application and re-install libdc1394. The FMVU-13S2 camera should now be compatible with your libdc1394 installation.

Note: The libdc1394 implementation of IIDC over USB is not supported with other USB cameras. It is only supported on Point Grey USB cameras because of our implementation of the IIDC specification.

Related Articles:
1.) Which operating system will my PGR camera work with?
2.) Where can I find a copy of the IIDC 1394-based Digital Camera (DCAM) Specification?
3.) Grabbing color images under Linux using libdc1394 and Coriander.
4.) Imaging Products camera compatability with Windows CE .NET.
5.) Using Point Grey Stereo Vision Products under Linux.
6.) Setting up 1394 devices using the Linux "udev" device manager.
7.) Customizing applications to control USB cameras
8.) Getting Started with FlyCapture 2.0 and Linux
9.) Buffer size limitation in video1394 driver for Linux may prevent applications from starting.
10.) Low virtual memory may prevent Linux-based 1394 imaging applications from starting.

Related Links:
1.)  http://sourceforge.net/projects/coriander
Open source package that allows users to color process raw Bayer-tiled 8-bit images acquired from PGR IEEE-1394 digital cameras.
2.)  http://sourceforge.net/projects/libdc1394
Open source package that allows users to acquire images from and control PGR IEEE-1394 digital cameras.
3.)  http://www.ptgrey.com/support/kb/data/libdc-2_imaging.tgz
Advanced image grabbing and processing examples for Linux.
4.)  http://www.ptgrey.com/support/kb/data/libdc-2_imaging.tgz
Advanced image grabbing and processing examples for Linux.
5.)  http://sourceforge.net/projects/libusb/


Article ID:
17
Published:
12:00:00 AM
Last Modified:
2/3/2011 2:08:33 PM
Keywords:
Linux, SourceForge, Red Hat Linux, libdc, libdc1394, GPL, Juju, Ubuntu
Issue Type:
Installation

Copyright © 2004 Point Grey Research Inc.