Spca5xx 安装快速指南

简介:
Newer Logitech Quick Cam Express Webcams and a lot of other Webcams are supported by the spca5xx driver, a branch of the spca50x driver. The spca5xx driver supports a wider range of cameras, but classifies itselves as experimental. (This means it might crash your kernel in the worst case.) 
Spca5xx系统驱动程序能支持驱动更新的罗技Quick Cam Express摄像头和许多其他摄像头。Spac5xx驱动支持更大范围的摄像头,除了那些实验性产品(这意味着在最坏情况下它可以使你的内核崩溃)。 
The spca5xx is not (yet) in the ubuntu kernel. You can however compile it yourselves using the following steps: 
Spac5xx并没包含在Ubuntu的内核中。然而你可以按下面的步骤自己编译它: 
Step 1: Get a compiled Kernel 
第一步:得到一个编译好的内核 
See KernelBuildpackageHowto 
参见KernelBuildpackageHowto 
Note: You might not need to install the kernel, but you need to compile it so the spca5xx module can be compiled. If your currently installed kernel has been compiled with the same version of gcc as you are using now, you won't need to install your kernel package. Best is to not install it now and try insmod spca5xx.o after the last step. If you get some error about the module being invalid, try installing the kernel package. 
注意:你可能不需要安装内核,但你必须编译它,这样Spca5xx模块才能够被编译。如果你当前安装的内核已经是被你正在使用的gcc相同的版本编译的,你将不需要安装你的内核包。最好是不要现在去安装它,并试着在最后一步时insmod spca5xx。如果你得到了关于模块非法的错误,那么试着去安装内核包。 
Step 2: Get spca5xx sources 
第二步:得到spca5xx源文件 
Download the spca5xx driver from  http://mxhaard.free.fr/download.html  Unpack it into any directory: 
从http://mxhaard.free.fr/download.html下载Spca5xx驱动程序并随便在哪个目录下解包: 
tar -zxvf spca5xx-<version>.tar.gz 
Step 3: Preparing to compile spca5xx 
第三步:编译Spca5xx前的准备 
Link the kernel source directory from first step into the /lib/modules/ directory for that kernel (replace <arch> with your selected architecture, e.g. 386, 686 or k7): 
从第一步中的内核源文件所在目录链接到/lib/modules/内核目录(将你所要用的体系结构如386,686或k7来替换<arch>) 
ln -s /usr/src/linux-source-`uname -r`/debian/build/build-<arch> /lib/modules/`uname -r`/build 
Step 4: Build and install spca5xx 
第四步:构建和安装Spca5xx 
cd spca5xx-<version>; make; 
Now try if the module can be loaded: 
现在试试模块是否能被引导: 
insmod spca5xx.ko 
If you see no errors, your camera should work. You can try to launch xawtv for example. To make the module load at startup, use 
如果没有错误出现,你的摄像头将正常工作。你可以试着运行xawtv。为了能在启动时引导模块,使用 
make install 
modprobe spca5xx 
dmesg could give you something like 
dmesg 后可能出现象下面这样的信息: 
spca5xx-20050419/drivers/usb/spca5xx.c: USB SPCA5xx camera found. Type QC Express (unknown CCD) 
spca5xx-20050419/drivers/usb/spca5xx.c: [spca5xx_probe:8174] Camera type GBGR 
usbcore: registered new driver spca5xx 
spca5xx-20050419/drivers/usb/spca5xx.c: spca5xx driver 00.56.01 registered 
Problems 
问题 
If the kernel was compiled using an other version of gcc, you will get an error message complaining 
如果内核被使用其它版本的gcc编译,你将得到以下错误信息: 
FATAL: Error inserting spca5xx (spca5xx.ko): Invalid module format 
Try installing the kernel you built in Step 1. (And this is the one place even linux needs a reboot) 
试着在第一步安装你构建的内核。(这样你的Linux就需要重启了) 
If this does not help or you get other errors, get the last log entries typing 
如果这样还没用或得到其他错误,看看最近的日志并运行dmesg 
To use your spca5xx-supported webcam with GnomeMeeting? will require libpt-plugins-v4l. This can be installed by running: 
想通过GnomeMeeting来使用Spca5xx支持的摄像头?那将需要libpt-plugins-v4l。这可以通过运行下面命令来安装: 
sudo apt-get install libpt-plugins-v4l 
Once installed set up GnomeMeeting? with v4l (not v4l2). The video controls (brightness, contrast etc. in GnomeMeeting?) do not seem to work. 
曾经安装并配置过GnomeMeeting?用v4l (而不是v4l2)。视频控制(在GnomeMeeting中亮度、对比度等?)似乎不能正常工作。 
The above HowTo? is based on the blog entry 
以上HowTo来自以下博客 
http://dvlinux.blogspot.com/2005_03_13_dvlinux_archive.html#111101610927602822  
spca5xx supports the following cameras (as of version spca5xx-20050419) 
Spca5xx支持以下摄像头(版本:Spca5xx-20050419) 
{USB_DEVICE (0x0733, 0x0430)}, /* Intel PC Camera Pro */ 
{USB_DEVICE (0x0733, 0x0401)}, /* Intel Create and Share */ 
{USB_DEVICE (0x99FA, 0x8988)}, /* Grandtec V.cap */ 
{USB_DEVICE (0x0733, 0x0402)}, /* ViewQuest M318B */ 
{USB_DEVICE (0x0733, 0x0110)}, /* ViewQuest VQ110 */ 
{USB_DEVICE (0x040A, 0x0002)}, /* Kodak DVC-325 */ 
{USB_DEVICE (0x055f, 0xc420)}, /* Mustek gSmart Mini 2 */ 
{USB_DEVICE (0x055f, 0xc520)}, /* Mustek gSmart Mini 3 */ 
{USB_DEVICE (0x041E, 0x400A)}, /* Creative PC-CAM 300 */ 
{USB_DEVICE (0x084D, 0x0003)}, /* D-Link DSC-350 */ 
{USB_DEVICE (0x041E, 0x400B)}, /* Creative PC-CAM 600 */ 
{USB_DEVICE (0x8086, 0x0630)}, /* Intel Pocket PC Camera */ 
{USB_DEVICE (0x8086, 0x0110)}, /* Intel Easy PC Camera */ 
{USB_DEVICE (0x0506, 0x00df)}, /* 3Com HomeConnect Lite */ 
{USB_DEVICE (0x040a, 0x0300)}, /* Kodak EZ200 */ 
{USB_DEVICE (0x04fc, 0x504b)}, /* Maxell MaxPocket LE 1.3 */ 
{USB_DEVICE (0x08ca, 0x2008)}, /* Aiptek Mini PenCam 2 M */ 
{USB_DEVICE (0x08ca, 0x0104)}, /* Aiptek PocketDVII 1.3 */ 
{USB_DEVICE (0x08ca, 0x2018)}, /* Aiptek Pencam SD 2M */ 
{USB_DEVICE (0x04fc, 0x504a)}, /* Aiptek Mini PenCam 1.3 */ 
{USB_DEVICE (0x055f, 0xc530)}, /* Mustek Gsmart LCD 3 */ 
{USB_DEVICE (0x055f, 0xc650)}, /* Mustek MDC5500Z */ 
{USB_DEVICE (0x052b, 0x1513)}, /* Megapix V4 */ 
{USB_DEVICE (0x08ca, 0x0103)}, /* Aiptek PocketDV */ 
{USB_DEVICE (0x0af9, 0x0010)}, /* Hama USB Sightcam 100 */ 
{USB_DEVICE (0x1776, 0x501c)}, /* Arowana 300K CMOS Camera */ 
{USB_DEVICE (0x08ca, 0x0106)}, /* Aiptek Pocket DV3100+ */ 
{USB_DEVICE (0x08ca, 0x2010)}, /* Aiptek PocketCam 3M */ 
{USB_DEVICE (0x0458, 0x7004)}, /* Genius VideoCAM Express V2 */ 
{USB_DEVICE (0x04fc, 0x0561)}, /* Flexcam 100 */ 
{USB_DEVICE (0x055f, 0xc430)}, /* Mustek Gsmart LCD 2 */ 
{USB_DEVICE (0x04fc, 0xffff)}, /* Pure DigitalDakota */ 
{USB_DEVICE (0xabcd, 0xcdee)}, /* Petcam */ 
{USB_DEVICE (0x04a5, 0x3008)}, /* Benq DC 1500 */ 
{USB_DEVICE (0x046d, 0x0960)}, /* Logitech Inc. ClickSmart 420 */ 
{USB_DEVICE (0x046d, 0x0901)}, /* Logitech Inc. ClickSmart 510 */ 
{USB_DEVICE (0x04a5, 0x3003)}, /* Benq DC 1300 */ 
{USB_DEVICE (0x0af9, 0x0011)}, /* Hama USB Sightcam 100 */ 
{USB_DEVICE (0x055f, 0xc440)}, /* Mustek DV 3000 */ 
{USB_DEVICE (0x041e, 0x4013)}, /* Creative Pccam750 */ 
{USB_DEVICE (0x060b, 0xa001)}, /* Maxell Compact Pc PM3 */ 
{USB_DEVICE (0x04a5, 0x300a)}, /* Benq DC3410 */ 
{USB_DEVICE (0x04a5, 0x300c)}, /* Benq DC1016 */ 
{USB_DEVICE (0x0461, 0x0815)}, /* Micro Innovation IC200 */ 
{USB_DEVICE (0x046d, 0x0890)}, /* Logitech QuickCam traveler */ 
{USB_DEVICE (0x10fd, 0x7e50)}, /* FlyCam Usb 100 */ 
{USB_DEVICE (0x06e1, 0xa190)}, /* ADS Instant VCD */ 
{USB_DEVICE (0x055f, 0xc220)}, /* Gsmart Mini */ 
{USB_DEVICE (0x0733, 0x2211)}, /* Jenoptik jdc 21 LCD */ 
{USB_DEVICE (0x046d, 0x0900)}, /* Logitech Inc. ClickSmart 310 */ 
{USB_DEVICE (0x055f, 0xc360)}, /* Mustek DV4000 Mpeg4 */ 
{USB_DEVICE (0x08ca, 0x2024)}, /* Aiptek DV3500 Mpeg4 */ 
{USB_DEVICE (0x046d, 0x0905)}, /* Logitech ClickSmart820 */ 
{USB_DEVICE (0x05da, 0x1018)}, /* Digital Dream Enigma 1.3 */ 
{USB_DEVICE (0x0c45, 0x6025)}, /* Xcam Shanga */ 
{USB_DEVICE (0x0733, 0x1311)}, /* Digital Dream Epsilon 1.3 */ 
{USB_DEVICE (0x041e, 0x401d)}, /* Creative Webcam NX ULTRA */ 
{USB_DEVICE (0x08ca, 0x2016)}, /* Aiptek PocketCam 2 Mega */ 
{USB_DEVICE (0x0734, 0x043b)}, /* 3DeMon USB Capture aka */ 
{USB_DEVICE (0x041E, 0x4018)}, /* Creative Webcam Vista (PD1100) */ 
{USB_DEVICE (0x0546, 0x3273)}, /* Polaroid PDC2030 */ 
{USB_DEVICE (0x041e, 0x401f)}, /* Creative Webcam Notebook PD1171 */ 
{USB_DEVICE (0x041e, 0x4017)}, /* Creative Webcam Mobile PD1090 */ 
{USB_DEVICE (0x046d, 0x08a2)}, /* Labtec Webcam Pro */ 
{USB_DEVICE (0x055f, 0xd003)}, /* Mustek WCam300A */ 
{USB_DEVICE (0x0458, 0x7007)}, /* Genius VideoCam V2 */ 
{USB_DEVICE (0x0458, 0x700c)}, /* Genius VideoCam V3 */ 
{USB_DEVICE (0x0458, 0x700f)}, /* Genius VideoCam Web V2 */ 
{USB_DEVICE (0x041e, 0x401e)}, /* Creative Nx Pro */ 
{USB_DEVICE (0x0c45, 0x6029)}, /* spcaCam@150 */ 
{USB_DEVICE (0x0c45, 0x6009)}, /* spcaCam@120 */ 
{USB_DEVICE (0x0c45, 0x600d)}, /* spcaCam@120 */ 
{USB_DEVICE (0x04fc, 0x5330)}, /* Digitrex 2110 */ 
{USB_DEVICE (0x055f, 0xc540)}, /* Gsmart D30 */ 
{USB_DEVICE (0x0ac8, 0x301b)}, /* Asam Vimicro */ 
{USB_DEVICE (0x041e, 0x403a)}, /* Creative Nx Pro 2 */ 
{USB_DEVICE (0x055f, 0xc211)}, /* Kowa Bs888e Microcamera */ 
{USB_DEVICE (0x0ac8, 0x0302)}, /* Z-star Vimicro zc0302 */ 
{USB_DEVICE (0x0572, 0x0041)}, /* Creative Notebook cx11646 */ 
{USB_DEVICE (0x08ca, 0x2022)}, /* Aiptek Slim 3200 */ 
{USB_DEVICE (0x046d, 0x0921)}, /* Labtec Webcam */ 
{USB_DEVICE (0x046d, 0x0920)}, /* QC Express */ 
{USB_DEVICE (0x0923, 0x010f)}, /* ICM532 cams */ 
{USB_DEVICE (0x055f, 0xc200)}, /* Mustek Gsmart 300 */ 
{USB_DEVICE (0x0733, 0x2221)}, /* Mercury Digital Pro 3.1p */ 
{USB_DEVICE (0x041e, 0x4036)}, /* Creative Live ! */ 
{USB_DEVICE (0x055f, 0xc005)}, /* Mustek Wcam300A */ 
{USB_DEVICE (0x041E, 0x403b)}, /* Creative Webcam Vista (VF0010) */ 
{USB_DEVICE (0x0545, 0x8333)}, /* Veo Stingray */ 
{USB_DEVICE (0x0545, 0x808b)}, /* Veo Stingray */ 
{USB_DEVICE (0x10fd, 0x8050)}, /* Typhoon Webshot II USB 300k */ 
{USB_DEVICE (0x0546, 0x3155)}, /* Polaroid PDC3070 */ 
{USB_DEVICE (0x046d, 0x0928)}, /* Logitech QC Express Etch2 */ 
{USB_DEVICE (0x046d, 0x092a)}, /* Logitech QC for Notebook */ 
{USB_DEVICE (0x046d, 0x08a0)}, /* Logitech QC IM */ 
{USB_DEVICE (0x0461, 0x0a00)}, /* MicroInnovation WebCam320 */ 
{USB_DEVICE (0x08ca, 0x2028)}, /* Aiptek PocketCam4M */ 
{USB_DEVICE (0x08ca, 0x2042)}, /* Aiptek PocketDV5100 */ 
{USB_DEVICE (0x08ca, 0x2060)}, /* Aiptek PocketDV5300 */ 
{USB_DEVICE (0x04fc, 0x5360)}, /* Sunplus Generic */ 
{USB_DEVICE (0x046d, 0x08a1)}, /* Logitech QC IM 0x08A1 +sound*/ 
{USB_DEVICE (0x046d, 0x08a3)}, /* Logitech QC Chat */ 
{USB_DEVICE (0x046d, 0x08b9)}, /* Logitech QC IM ??? */ 
{USB_DEVICE (0x046d, 0x0929)}, /* Labtec Webcam Elch2*/ 
{USB_DEVICE (0x10fd, 0x0128)}, /* Typhoon Webshot II USB 300k 0x0128 */ 
{USB_DEVICE (0x102c, 0x6151)}, /* Qcam Sangha CIF */ 
{USB_DEVICE (0x102c, 0x6251)}, /* Qcam xxxxxx VGA */ 
{USB_DEVICE (0x04fc, 0x7333)}, /* PalmPixDC85*/ 
{USB_DEVICE (0x06be, 0x0800)}, /* Optimedia*/ 
{USB_DEVICE (0x2899, 0x012c)}, /* Toptro Industrial*/ 
{USB_DEVICE (0x06bd, 0x0404)}, /* Agfa CL20*/ 
{USB_DEVICE (0x0000, 0x0000)}, /* MystFromOri Unknow Camera */ 
(Copied here to be found by searches for camera names...) 
Spca5xx --Chuck Short, Mon, 30 May 2005 14:15:10 +0100 
Spca5xx can now be found in breezy's 2.6.12. 

Spca5xx目前已包含在breezy 2.6.12中了。



本文转自 firehare 51CTO博客,原文链接:http://blog.51cto.com/firehare/588190,如需转载请自行联系原作者

相关文章
|
1月前
|
Shell 网络安全 开发工具
gitbash 安装与使用
gitbash 安装教程
27 1
|
6月前
|
程序员 Python
Anconda安装(超详细 3(3)
Anconda安装(超详细 3(3)
Anconda安装(超详细 3(3)
|
5月前
|
存储 Ubuntu Shell
OpenZFS安装和使用
在Ubuntu 22.04.3 LTS上,本文介绍了OpenZFS的容错功能,如RAID-Z(类似RAID 5)、Mirror(类似RAID 1)、RAID-Z2和RAID-Z3,以及Hot Spare和Scrubbing。推荐使用RAID-Z1以平衡容量和预算。主要步骤包括安装zfsutils-linux,创建RAID-Z1存储池和ZFS文件系统,以及管理文件系统。此外,还提到了使用nfs共享ZFS文件系统的命令。
175 0
(4)(4.2.1) 安装自动驾驶仪
(4)(4.2.1) 安装自动驾驶仪
80 0
|
Unix Linux Shell
Krew安装
Krew安装
227 0
安装
安装
110 0
安装
|
Python
Anconda安装(超详细 3.5X)
Anconda安装(超详细 3.5X)
154 0
Anconda安装(超详细 3.5X)
|
Kubernetes 数据可视化 Docker
dacker安装
dacker安装
|
C++
VS2019 的安装
安装固性能速度会比较快;
978 0
VS2019 的安装
|
NoSQL MongoDB
Robomongo 的安装
Robomongo 的安装
136 0
Robomongo 的安装