使用z-star摄像头

在笔记本上使用一直没有问题,现在转移到台式机上用,摄像头出问题了,在虚拟机里可以使用,在本机上反而无法使用,搜索了一下,发现可以通过重新禁止zc0301模块而使用gspca来解决此问题。
参考:
http://blog.myfenris.net/?p=377
注意其中的comment:

$ sudo gedit /etc/modprobe.d/blacklist

Add these lines at the bottom:

# Use gspca for Z-Star webcam
blacklist zc0301

Pull out your webcam, plug it back in, and start camorama. If your colours are fucked up you can try adding a “color correction” filter in Camorama (Skype does this automatically). If that doesn’t help, try adding “options gspca force_rgb=1″ to /etc/modprobe.d/options.

Cheers,

最初,我是打算按照readme.Debian的说明来进行安装的:

sudo aptitude install gspca-source
sudo m-a prepare
sudo m-a a-i gspca

但是,因为现在这里有个BUG,导致编译会失败,所以我也从源码开始安装的(是否可以省略这一步?不太确认)。
编译安装完成后的操作:

sudo nano /etc/modprobe.d/blacklist

添加一行:

blacklist zc0301

然后:

sudo modprobe -r zc0301
sudo modprobe gspca

然后把摄像头重新插一下,若是要使用camorama:

sudo chmod 777 /dev/video0

现在就应该可以使用camorama或skype来测试摄像头了。
仍然存在问题:
camorama里没有问题,但是skype自动使用了彩色纠正,导致颜色出现了偏差。

This entry was posted in Linux and tagged , , , , , , . Bookmark the permalink.

2 Responses to 使用z-star摄像头

  1. wlx says:

    在另外一台机器上过,不需要进行编译代码等操作,直接进行后面的操作就可以了。
    ZC0303

  2. Pingback: LiangXu Wang » Blog Archive » use zc0301 webcam in skype on ubuntu intrepid

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string 323cgL to the field below:

以新浪微博帐号登录