<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LiangXu Wang &#187; webcam</title>
	<atom:link href="http://wlx.westgis.ac.cn/tag/webcam/feed/" rel="self" type="application/rss+xml" />
	<link>http://wlx.westgis.ac.cn</link>
	<description>technology backup/share</description>
	<lastBuildDate>Sat, 14 Jan 2012 03:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>use zc0301 webcam in skype on ubuntu intrepid</title>
		<link>http://wlx.westgis.ac.cn/536/</link>
		<comments>http://wlx.westgis.ac.cn/536/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 11:30:36 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[zc0301]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/?p=536</guid>
		<description><![CDATA[原来的方法不起作用了，需要采用这个方法，在终端下运行： LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype 参考： http://ph.ubuntuforums.com/showthread.php?t=945803 https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918]]></description>
			<content:encoded><![CDATA[<p><a href="http://wlx.westgis.ac.cn/502/">原来的方法</a>不起作用了，需要采用这个方法，在终端下运行：</p>
<blockquote><p>LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype</p></blockquote>
<p>参考：</p>
<p>http://ph.ubuntuforums.com/showthread.php?t=945803</p>
<p>https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/536/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用z-star摄像头</title>
		<link>http://wlx.westgis.ac.cn/502/</link>
		<comments>http://wlx.westgis.ac.cn/502/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 10:04:46 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gspca]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[z-star]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/?p=502</guid>
		<description><![CDATA[在笔记本上使用一直没有问题，现在转移到台式机上用，摄像头出问题了，在虚拟机里可以使用，在本机上反而无法使用，搜索了一下，发现可以通过重新禁止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 &#8230; <a href="http://wlx.westgis.ac.cn/502/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>在笔记本上使用一直没有问题，现在转移到台式机上用，摄像头出问题了，在虚拟机里可以使用，在本机上反而无法使用，搜索了一下，发现可以通过重新禁止zc0301模块而使用gspca来解决此问题。<br />
参考：<br />
<a href="http://blog.myfenris.net/?p=377">http://blog.myfenris.net/?p=377</a><br />
注意其中的comment：</p>
<blockquote><p>$ sudo gedit /etc/modprobe.d/blacklist</p>
<p>Add these lines at the bottom:</p>
<p># Use gspca for Z-Star webcam<br />
blacklist zc0301</p>
<p>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.</p>
<p>Cheers,</p></blockquote>
<p>最初，我是打算按照readme.Debian的说明来进行安装的：</p>
<blockquote><p>sudo aptitude install gspca-source<br />
sudo m-a prepare<br />
sudo m-a a-i gspca</p></blockquote>
<p>但是，因为现在这里有个<a href="https://bugs.launchpad.net/ubuntu/+source/gspca/+bug/213762">BUG</a>，导致编译会失败，所以我也从源码开始安装的（是否可以省略这一步？不太确认）。<br />
编译安装完成后的操作：</p>
<blockquote><p>sudo nano /etc/modprobe.d/blacklist</p></blockquote>
<p>添加一行：</p>
<blockquote><p>blacklist zc0301</p></blockquote>
<p>然后：</p>
<blockquote><p>sudo modprobe -r zc0301<br />
sudo modprobe gspca</p></blockquote>
<p>然后把摄像头重新插一下，若是要使用camorama：</p>
<blockquote><p>sudo chmod 777 /dev/video0</p></blockquote>
<p>现在就应该可以使用camorama或skype来测试摄像头了。<br />
仍然存在问题：<br />
camorama里没有问题，但是skype自动使用了彩色纠正，导致颜色出现了偏差。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/502/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

