<?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>ricketyclick &#187; gspca</title>
	<atom:link href="http://ricketyclick.com/blog/index.php/tag/gspca/feed/" rel="self" type="application/rss+xml" />
	<link>http://ricketyclick.com/blog</link>
	<description>Don't Expect Me to be Nice.</description>
	<lastBuildDate>Thu, 29 Jul 2010 01:54:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Linux Ubuntu: Web Cam, Logitech QuickCam for Notebooks Deluxe (Refurbished)</title>
		<link>http://ricketyclick.com/blog/index.php/2008/07/19/linux-ubuntu-web-cam-logitech-quickcam-for-notebooks-deluxe-refurbished/</link>
		<comments>http://ricketyclick.com/blog/index.php/2008/07/19/linux-ubuntu-web-cam-logitech-quickcam-for-notebooks-deluxe-refurbished/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 11:40:53 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[EasyCam]]></category>
		<category><![CDATA[gspca]]></category>
		<category><![CDATA[Logitech]]></category>
		<category><![CDATA[QuickCam]]></category>

		<guid isPermaLink="false">http://ricketyclick.com/blog/?p=764</guid>
		<description><![CDATA[I was in Fry&#8217;s yesterday and on impulse, for $20, bought a plain brown cardboard box from Logitech labeled &#8220;QUICKCAM FOR NB DELUXE REFURB&#8221;.  &#8220;NB&#8221; stands for &#8220;NoteBook&#8221;. Naturally, the enclosed CD does not include a Linux driver. However, Logitech&#8217;s QuickCam Team has a very nice website with many resources, including Linux links. I&#8217;ve done [...]]]></description>
			<content:encoded><![CDATA[<p>I was in Fry&#8217;s yesterday and on impulse, for $20, bought a plain brown cardboard box from Logitech labeled &#8220;QUICKCAM FOR NB DELUXE REFURB&#8221;.  &#8220;NB&#8221; stands for &#8220;NoteBook&#8221;.</p>
<p>Naturally, the enclosed CD does not include a Linux driver.</p>
<p>However,<a href="http://www.quickcamteam.net/"> Logitech&#8217;s QuickCam Team</a> has a very nice website with many resources, including Linux links.</p>
<p>I&#8217;ve done a certain amount of fumbling around, prior to starting this post, so I&#8217;m including some stuff in the order I wish I&#8217;d found it, rather than in order.</p>
<p>Hidden behind the spoiler tag is, essentially, a step by step <span style="text-decoration: line-through;">whine</span> log of my attempt to manually install the open source GSPCA driver.</p>
<p><a href="javascript:void(null);" onclick="s_toggleDisplay(document.getElementById('SID2072396346'), this, 'Show &#9660;', 'Hide &#9650;');">Show &#9660;</a></p>
<div id='SID2072396346' style='display:none;'>
<p>Identifying my camera:</p>
<p>Non-trivial, because I have a refurb.</p>
<p>Well, first, do I have a UVC (USB Video Device Class) compliant unit?</p>
<p>Hard to tell. Here I find QC for Notebook deluxe entries in both the UVC and Non-UVC lists, but none with the product number on my box (996-000037).</p>
<p>I tentatively conclude that I have a &#8220;USB PID&#8221; of 09c1.</p>
<p>Ha! Somewhere, I stumble across the Linux command &#8220;lsusb&#8221;, which lists all the devices plugged into your USB ports:</p>
<pre>Bus 003 Device 009: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer
                                 (Internal/External)
Bus 003 Device 008: ID 0409:005a NEC Corp.
Bus 003 Device 005: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337
                                 Hi-Speed USB to SATA &amp; PATA Combo Bridge
Bus 003 Device 002: ID 04b8:0007 Seiko Epson Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 003: ID 046d:c018 Logitech, Inc.
Bus 002 Device 002: ID 046e:5542 Behavior Tech. Computer Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 046d:08d8 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000</pre>
<p>Device 003 is my mouse, plugged into one of the motherboard back panel ports. Device 005 must be it, and sure enough, it disappears when I unplug the camera. So, the camera&#8217;s PID is 0x08d8, which I find on <a href="http://mxhaard.free.fr/spca5xx.html">this list for the &#8220;GSPCA-5xxx&#8221; driver</a>.</p>
<p><a href="http://www.quickcamteam.net/documentation/faq/where-do-i-find-the-product-number-of-my-camera">Then I find this page, on finding my product ID</a>:</p>
<p>My cord tag number has been covered with a black felt marker and a sticker. The sticker says: R-996-00037, same as the box. But Box IDs (so-called &#8220;9-Level&#8221; IDs) do not necessarily match the device ID (&#8220;8-Level&#8221; ID). I carefully peeled the sticker off, but the marker has obscured most of what&#8217;s there. Here&#8217;s what I can read:</p>
<p>M/N: [obscure]<br />
P/N: 8612[obscure]<br />
PID: CE6320F</p>
<p>I am now going to try to clean off the marker. Stand by.</p>
<p>Ha! Denatured alcohol removes the marker, and [Panic!] the ink, but [whew!] leaves a reverse ghost.</p>
<p>I now read:</p>
<p>M/N: V-UBG35<br />
P/N: 861228-0000<br />
PID: CE6320F [The "F" has, unfortunately,  been wiped off. That's why I recorded as much as I could before wiping....]</p>
<p>OK then.</p>
<p>Now I can start trying to figure out how to install the GSPCA driver.</p>
<p>I stumble across a site telling me how to &#8220;<a href="http://infectedproject.wordpress.com/2007/06/26/set-up-a-webcam-security-system/">Setup a Ubuntu Web Cam Security System</a>&#8220;, which is one of the things I&#8217;m planning to try &#8212; and the GSPCA driver is the one this project wants to use. That&#8217;s nice.</p>
<p>What&#8217;s not nice is what I&#8217;ve been afraid of from the day I first installed Ubuntu.</p>
<p>This package must be installed by compiling it.</p>
<p>Folks, this is insane. Absolutely insane. If there is anything keeping ordinary users away from Linux, this is it. If I were running Windows, I&#8217;d've popped in the CD, ran the installer, and I would have, hours ago, been playing with my webcam. Instead, I am now about to begin turning source code into an executable.</p>
<p>No, wait. Not even that.</p>
<p>First, I have to install something known as &#8220;<a href="http://packages.debian.org/unstable/devel/build-essential">build-essential</a>&#8220;. I&#8217;m still not clear what the hell this bundle does, because the page for it assumes you are already a Linux coding geek, and just a need a little prompting to make sure this is what you think it is, and will do what you expect it to do. I have no clue. It apparently installs the stuff you need to compile the stuff you need on your particular system. Insane.</p>
<p>OK, I go to the terminal, and install build-essential.</p>
<p>Now I get to compile the driver. Oh. Boy. And here we go&#8230;.</p>
<p>&#8230;Not. I check the READ_AND_INSTALL file:</p>
<p>First this handy hint:</p>
<p style="padding-left: 30px;">&#8230;You need to make sure that the v4l infrastructure is set up and then load the driver. After you&#8217;ve done that, any v4l enabled application, such as spcaview, gqcam, xawtv&#8230;</p>
<p>&#8220;V4L infrastructure&#8221;? <a href="http://www.linuxtv.org/v4lwiki/index.php/How_to_build_from_Mercurial">What. The. Hell? Oh. I see.</a> That makes it all&#8230;so fucking stupid I can&#8217;t stand it. Compiling and installing the V4L infrastructure is a whole project in and of itself.</p>
<p style="padding-left: 30px;">The driver should compile and run successfully against most stable versions of<br />
the official Linux 2.6.x kernel upto version 2.6.11 (from &lt;http://www.kernel.org/&gt;)</p>
<p>What kernel&#8230; ah. The uname command yields: &#8220;2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux&#8221; That&#8217;s&#8230;a little more recent than 2.6.11, yes? No? Am I on a fool&#8217;s errand?</p>
<p style="padding-left: 30px;">Make sure, when compiling the driver, you use the same version of compiler as was used to compile your kernel. Not doing so can create incompatible binaries.</p>
<p>&#8220;The same version of the compiler&#8221;? <em>&#8220;The same version of the compiler&#8221;? <strong>&#8220;The same version of the compiler&#8221;? How am I supposed to know what version of the compiler was used? I just downloaded the bloody install package. </strong></em>&#8220;The same version of the compiler&#8221;, indeed. Assholes.</p>
</div>
<p>You know what, guys? Piss off. Just Piss Off. Back to Google.</p>
<p>OK, I find a link to the <a href="https://help.ubuntu.com/community/EasyCam">EasyCam project</a>, &#8220;A tool for installing webcam drivers&#8221;. OK, that doesn&#8217;t look too bad; there&#8217;s one odd step, &#8220;Adding Repositories&#8221;, but at least these folks give short, coherent instructions on how to do that.</p>
<p>I go through the hoops.</p>
<p>Easycam is in French.</p>
<p>Fortunately, it&#8217;s a very simple program. It correctly identifies my camera. I do a quick check to translate &#8220;Lancer&#8221; (&#8220;To throw, launch.&#8221; OK, then.) and, Voila! Except the progress bar doesn&#8217;t run, but eventually, a partial bar appears with the words &#8220;Drivers installe!&#8221; which I take to be a good sign. I click the &#8220;Forward&#8221; button, and am presented with:</p>
<p><a href="http://ricketyclick.com/blog/wp-content/uploads/screenshot-easycam.png"><img class="aligncenter size-full wp-image-766" title="screenshot-easycam" src="http://ricketyclick.com/blog/wp-content/uploads/screenshot-easycam.png" alt="" width="500" height="327" /></a></p>
<p>I take a deep breath&#8230;</p>
<p>And click the Apply button.</p>
<p>There is no &#8220;Outils&#8221; menu on my desktop, but I do have Accessories&#8230;no&#8230;Graphics&#8230;Ah! &#8220;Cheese&#8221;, as in, I presume, &#8220;Say Cheese!&#8221; I click, and the application starts. It is worrisomely blank for too long, but eventually I get:</p>
<p><a href="http://ricketyclick.com/blog/wp-content/uploads/firstphotofromwebcam.jpg"><img class="aligncenter size-medium wp-image-767" title="firstphotofromwebcam" src="http://ricketyclick.com/blog/wp-content/uploads/firstphotofromwebcam-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>(I tried to take a screenshot, but the screenshot utility cannot grab the live video image. This is a frame-grab of the SATA cable the camera happened to be pointing at.)</p>
<p>Woo Hoo! I haz webcam!</p>
<p>Now if only I had something usefull and entertaining to show you&#8230;.</p>
<p>My thanks to the folks who put EasyCam together. It really was easy, for a Linux install, and it works.</p>
<p>[Much later...]</p>
<p>OK, I am unable to get VLC to record any video. It displays cam video well enough, but will not stream to file.</p>
<p>Cheese records the video, but doesn&#8217;t grab the audio stream.</p>
<p>Again, if I were running Windows, this would be trivial.</p>
]]></content:encoded>
			<wfw:commentRss>http://ricketyclick.com/blog/index.php/2008/07/19/linux-ubuntu-web-cam-logitech-quickcam-for-notebooks-deluxe-refurbished/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
