User`s guide

16 Troubleshooting
16-40
on the Image Acquisition Toolbox product page at the MathWorks Web site
(www.mathworks.com/products/imaq).
4
The Linux Video adaptor only supports Video 4 Linux 2 compatible devices.
However, there is a library that might make Video 4 Linux 1 devices work with the
toolbox. The libv4l package provides a library that provides compatibility between
the different versions of Video 4 Linux. To try this, start MATLAB with the following
command:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so matlab
then the Linux Video adaptor may be able to detect your V4L1 hardware. The path
to the v4l1compat.so library might vary depending on the Linux distribution. If
the above command works, you can add a command similar to:
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
to /etc/profile or another persistent configuration file.
Note: The Linux Video driver is a generic interface and you should only use it if you
do not have a more specific driver to use with your device. If your device is a DCAM or
FireWire device, use the DCAM driver. Only use the Linux Video driver if there is no
more specific option for your device.