zs211摄像头驱动安装步骤( ID 0ac8:307b )

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
头像
xinen007
帖子: 159
注册时间: 2008-05-28 21:32
来自: 豫南小苏州
送出感谢: 0
接收感谢: 0
联系:

zs211摄像头驱动安装步骤( ID 0ac8:307b )

#1

帖子 xinen007 » 2008-11-16 19:17

我这个摄像头是最普通的那种,找了一篇文章,照着做,结果就成功了

先插上摄像头,然后按照下面的过程进行,过程十分顺利
首先执行命令:

代码: 全选

lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0ac8:307b Z-Star Microelectronics Corp.
Bus 001 Device 001: ID 0000:0000
看来摄像头被识别了,ID 0ac8:307b Z-Star Microelectronics Corp.即是

然后,解压下载的 gspcav120071224.tar.gz,我的在桌面,所以:

代码: 全选

cd 桌面/gspcav1-20071224/
接着,执行下面的命令:

代码: 全选

make clean

代码: 全选

make

代码: 全选

sudo make install
这个过程需要一些时间,请耐心等候

下一步要做的是:

代码: 全选

sudo gedit /etc/modprobe.d/options
然后添加下面的一行并保存
options gspca force_rgb=1
最后,安装camorama摄像头查看程序

代码: 全选

sudo apt-get install camorama
安装完毕后,在应用程序>图像菜单里可以找到camorama摄像头查看器

打开即可,我的到此已经安装完毕,可以正常显示图像了
Screenshot-3.png
摘录原文如下:
i dont know why all this while im not using webcam in linux until last week i try to plug the webcam in my ubuntu. It appear great result because the webcam driver detected by need to do something more to make its working better … now lets start by checking the device detected ..

fenris@thinkbuntu:~$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 001 Device 003: ID 0a5c:2110 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 002: ID 17ef:1003
Bus 004 Device 001: ID 0000:0000

With this information we can know the Vendor_id=0ac8 and the Product_id=301b . We could also see this using the graphical user interfase usbview. Another thing that we can see is the manufacturer of the chipset Z-Star/Vimicro (that is also used in many other cheap webcams) Among the output of the usbview program, we can see somthing like this Manufacturer: Vimicro Corp.

I’m going to summarize the steps I took:

1) Download and untar the file gspcav120071224.tar.gz:
wget -c http://mxhaard.free.fr/spca50x/Download ... 224.tar.gz

tar xvfz gspcav1­20071224.tar.gz

2) Compile and install the driver:

cd gspcav1-20071224

make clean
make

sudo make install

3) This is the extra step that I had to do:

sudo gedit /etc/modprobe.d/options

and add an option for this driver:

options gspca force_rgb=1

sudo apt-get install camorama

then try to open camorama, if can't open the application,try this:

$sudo lsmod |grep gspca
gspca 660176 0
videodev 28160 2 gspca,zc0301
usbcore 134280 7 gspca,zc0301,usb_storage,libusual,ehci_hcd,uhci_hcd

Remove the zc0301 module:

$sudo modprobe -r zc0301

Insert module gspca back:

$ sudo modprobe gspca

Give a check first:

$ lsmod |grep gspca
gspca 660176 0
videodev 28160 1 gspca
usbcore 134280 6 gspca,usb_storage,libusual,ehci_hcd,uhci_hcd

Let it be more confident:

$ lsmod | grep videodev
videodev 28160 1 gspca
v4l1_compat 15236 1 videodev
v4l2_common 25216 1 videodev

If it still can’t run the camorama :

check the device permission:

$ ls -l /dev/video0
crw-rw—- 1 root video 81, 0 2008-01-27 08:10 /dev/video0

Device video0 running with user group video,so u should change the permission:

$ sudo chmod 777 /dev/video0
$ ls -l /dev/video0
crwxrwxrwx 1 root video 81, 0 2008-01-27 08:10 /dev/video0

@ the easier way is installing the gspca from repo (i forgot to check in repo, gspca is in it):

fenris@thinkbuntu:~$ sudo apt-get install gspca-sourceHope it working for u all because its working for me!!
Gud Luck!!
引用:http://blog.myfenris.net/?p=377

驱动下载地址:http://www.filewatcher.com/m/gspcav1-20 ... 上面的那个就可以下载
比如我选择的就是:2008-09-26 ftp://ftp.ro.debian.org/pub/mirrors/ope ... 224.tar.gz
要是还不能下载,就请下载附件吧 !
附件
gspcav1-20071224.tar.gz
(209.68 KiB) 下载 1859 次
免费vpn,翻墙必备-->http://vcup.in/j9a
------------------------------------------------------→

320G/2G
Intel core i3 330M 2.13GHz
Nvidia GT 325M 128bit/512M

Ubuntu 10.04+VMware 7.1.0
hgl200218
帖子: 8
注册时间: 2009-02-18 10:22
送出感谢: 0
接收感谢: 0

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#2

帖子 hgl200218 » 2009-03-09 17:31

哪个是:
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0c45:613c Microdia PC Camera (SN9C120)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 002 Device 006: ID 03f0:7504 Hewlett-Packard Printing Support
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
谢谢!
头像
kujian
帖子: 241
注册时间: 2008-02-08 22:19
来自: 漳州
送出感谢: 0
接收感谢: 0

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#3

帖子 kujian » 2009-03-13 15:04

Bus 003 Device 003: ID 0c45:613c Microdia PC Camera (SN9C120)
这个应该就是了
入门新手,请多点耐性,多点包涵;也希望给命令的同时,能注释一下命令。谢谢各位!
头像
xinen007
帖子: 159
注册时间: 2008-05-28 21:32
来自: 豫南小苏州
送出感谢: 0
接收感谢: 0
联系:

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#4

帖子 xinen007 » 2009-04-19 21:54

Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 这个是空闲usb口
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 这个也是空闲usb口
Bus 003 Device 003: ID 0c45:613c Microdia PC Camera (SN9C120) 这个就是你的摄像头
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 空闲usb口
Bus 002 Device 005: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse 你的usb鼠标
Bus 002 Device 006: ID 03f0:7504 Hewlett-Packard Printing Support 你用惠普usb口的打印机?
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 空闲usb口
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 空闲usb口

呵呵
免费vpn,翻墙必备-->http://vcup.in/j9a
------------------------------------------------------→

320G/2G
Intel core i3 330M 2.13GHz
Nvidia GT 325M 128bit/512M

Ubuntu 10.04+VMware 7.1.0
ysyzzhao
帖子: 11
注册时间: 2009-04-05 2:29
送出感谢: 0
接收感谢: 0

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#5

帖子 ysyzzhao » 2009-04-22 23:30

安装完毕,不过打不开阿,能找到camorama的
mayi
帖子: 196
注册时间: 2008-06-25 11:28
送出感谢: 0
接收感谢: 0

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#6

帖子 mayi » 2010-06-26 16:30

MARK
山不转,水转,山不移,我移。
J&R
帖子: 221
注册时间: 2008-12-18 17:30
送出感谢: 0
接收感谢: 1 次

Re: zs211摄像头驱动安装步骤( ID 0ac8:307b )

#7

帖子 J&R » 2010-06-26 20:07

我的罗技快看畅想版在10.04已经默认支持了,呵呵,以前一直不支持的
回复

回到 “常用硬件支持”