USB image acquisition driver installation under Linux operating system

  
                  

The acquisition of USB camera images under ARMlinux is difficult and often prohibitive. Compared with the simple installation of the camera driver under the LINUX system, the following describes my installation process.

The Linux version I use is RedHat Enterprise linux AS 4, which is basically completely installed. The camera uses the zc0301 chip of Zhongxingwei. It needs spca5xx driver. Linux does not have this driver and needs to be installed by itself.

First download some driver code, download the address http://mxhaard.free.fr/spca50x/Download/oldrelease/, download spca5xx-20060501.tar.gz spcaview-20050501.tar.gz. When spcaview-20050501.tar.gz needs sdl-1.2.12.tar.gz, go to google and search for the following.

(1)Install spca5xx driver

#tar zxvf spca5xx-20060501.tar.gz

#cd spca5xx-20060501

#make

#make install

(2)Install sdl

#tar zxvf sdl-1.2.12.tar.gz

#cd sdl-1.2.12

#./configure

#make

#make install

(3) Install three spcaview

#tar zxvf spcaview-20050501. Tar.gz

#cd spcaview-20050501

#make

#make install

Executable tools installed under /usr/local/bin Open /etc/profile and add the /usr/local/bin path to the file. Restart the host.

The following image is captured by the spcaview application

#spcaview -f yun -o test.avi You can see the captured image, but you can't add the image here.

Copyright © Windows knowledge All Rights Reserved