 
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: HOWTO: Serval Performance (SERP2) webcam</title>
	<atom:link href="http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/</link>
	<description>My Weblog</description>
	<pubDate>Wed, 07 Jan 2009 03:53:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18706</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Wed, 24 Sep 2008 05:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18706</guid>
		<description>If you type &lt;tt&gt;ls&lt;/tt&gt;, does &lt;tt&gt;microdia.ko&lt;/tt&gt; appear n the current directory?  If not, you'll need to change to that directory before running the &lt;tt&gt;insmod&lt;/tt&gt; command.</description>
		<content:encoded><![CDATA[<p>If you type <tt>ls</tt>, does <tt>microdia.ko</tt> appear n the current directory?  If not, you&#8217;ll need to change to that directory before running the <tt>insmod</tt> command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kushykush@gmail.com</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18705</link>
		<dc:creator>kushykush@gmail.com</dc:creator>
		<pubDate>Wed, 24 Sep 2008 05:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18705</guid>
		<description>I followed all the steps, but in the end got this error:

insmod: can't read './microdia.ko': No such file or directory</description>
		<content:encoded><![CDATA[<p>I followed all the steps, but in the end got this error:</p>
<p>insmod: can&#8217;t read &#8216;./microdia.ko&#8217;: No such file or directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18358</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Wed, 06 Aug 2008 01:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18358</guid>
		<description>What a vague error message!  :-(

Try running &lt;tt&gt;ekiga -d 4&lt;/tt&gt; from the command-line and post the output.  We'll see if there's anything more useful there.</description>
		<content:encoded><![CDATA[<p>What a vague error message!  <img src='http://kevin.godby.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Try running <tt>ekiga -d 4</tt> from the command-line and post the output.  We&#8217;ll see if there&#8217;s anything more useful there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18357</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 06 Aug 2008 00:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18357</guid>
		<description>Kevin:

Tried Ekiga, but got this error message: 

Error while opening video device Microdia USB Video Camera

...(irrelevant stuff omitted) ...

Your video driver doesn't support the requested video format.

-Scott</description>
		<content:encoded><![CDATA[<p>Kevin:</p>
<p>Tried Ekiga, but got this error message: </p>
<p>Error while opening video device Microdia <acronym title="Universal Serial Bus">USB</acronym> Video Camera</p>
<p>&#8230;(irrelevant stuff omitted) &#8230;</p>
<p>Your video driver doesn&#8217;t support the requested video format.</p>
<p>-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18356</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Tue, 05 Aug 2008 23:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18356</guid>
		<description>I've updated the instructions on this page to include support for older kernels and replaced the VLC test with a test using Ekiga.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve updated the instructions on this page to include support for older kernels and replaced the VLC test with a test using Ekiga.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18355</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Tue, 05 Aug 2008 23:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18355</guid>
		<description>I had just upgraded my kernel and recompiled the latest Microdia driver.  It looks like they rewrote it to use V4L2 instead of just V4L.  Unfortunately, VLC doesn't understand V4L2, so i got the same error message.

The camera does work fine in Ekiga, though.  I'll just need to write new test instructions.

Try running Ekiga (formerly called GNOME Meeting).  You'll find it under the "Internet" menu.  Once you've walked through the configuration wizard (if it's your first time running the program), you should be able to test your webcam.  

Please let me know if you hit any snags.</description>
		<content:encoded><![CDATA[<p>I had just upgraded my kernel and recompiled the latest Microdia driver.  It looks like they rewrote it to use V4L2 instead of just V4L.  Unfortunately, VLC doesn&#8217;t understand V4L2, so i got the same error message.</p>
<p>The camera does work fine in Ekiga, though.  I&#8217;ll just need to write new test instructions.</p>
<p>Try running Ekiga (formerly called GNOME Meeting).  You&#8217;ll find it under the &#8220;Internet&#8221; menu.  Once you&#8217;ve walked through the configuration wizard (if it&#8217;s your first time running the program), you should be able to test your webcam.  </p>
<p>Please let me know if you hit any snags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18354</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 05 Aug 2008 23:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18354</guid>
		<description>Kevin: 

Much thanks for your help.

dmesg returned correctly but VLC did not display video, giving the message: 

scott@ubuntu:~/microdia$ vlc v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1
VLC media player 0.8.6 Janus
[00000291] v4l demuxer error: mmap unsupported

If there's no easy fix, I'll wait until I upgrade to 8.04. 

-Scott</description>
		<content:encoded><![CDATA[<p>Kevin: </p>
<p>Much thanks for your help.</p>
<p>dmesg returned correctly but VLC did not display video, giving the message: </p>
<p>scott@ubuntu:~/microdia$ vlc v4l:// :v4l-vdev=&#8221;/dev/video0&#8243; :v4l-adev=&#8221;/dev/dsp&#8221; :v4l-norm=3 :v4l-frequency=-1<br />
VLC media player 0.8.6 Janus<br />
[00000291] v4l demuxer error: mmap unsupported</p>
<p>If there&#8217;s no easy fix, I&#8217;ll wait until I upgrade to 8.04. </p>
<p>-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18353</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Tue, 05 Aug 2008 22:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18353</guid>
		<description>Hello, Scott.

It looks like the &lt;tt&gt;list_first_entry&lt;/tt&gt; macro wasn't added until kernel version 2.6.22.  There are a couple options:
&lt;ol&gt;
&lt;li&gt;Upgrade your kernel. Since you're running Ubuntu 7.04, that's over a year old now.  Might be a good time to upgrade.  If you don't want to do that, you can try the following option.&lt;/li&gt;
&lt;li&gt;Add the following two lines of code to &lt;tt&gt;microdia.h&lt;/tt&gt;:
&lt;pre&gt;
#define list_first_entry(ptr, type, member) \
        list_entry((ptr)-&gt;next, type, member) 
&lt;/pre&gt;
Add the line after the &lt;tt&gt;#define MICRODIA_H&lt;/tt&gt; line (around line 35).
&lt;/li&gt;
&lt;/ol&gt;

If you choose the second option, please let me know if it works.  If it does, I'll add that to the instructions for those who are running older kernels.</description>
		<content:encoded><![CDATA[<p>Hello, Scott.</p>
<p>It looks like the <tt>list_first_entry</tt> macro wasn&#8217;t added until kernel version 2.6.22.  There are a couple options:</p>
<ol>
<li>Upgrade your kernel. Since you&#8217;re running Ubuntu 7.04, that&#8217;s over a year old now.  Might be a good time to upgrade.  If you don&#8217;t want to do that, you can try the following option.</li>
<li>Add the following two lines of code to <tt>microdia.h</tt>:
<pre>
#define list_first_entry(ptr, type, member) \
        list_entry((ptr)->next, type, member)
</pre>
<p>Add the line after the <tt>#define MICRODIA_H</tt> line (around line 35).
</li>
</ol>
<p>If you choose the second option, please let me know if it works.  If it does, I&#8217;ll add that to the instructions for those who are running older kernels.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18352</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 05 Aug 2008 22:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18352</guid>
		<description>Kevin:

I'm running 7.04. The make command fails. Any recommendations? 

scott@ubuntu:~/microdia$ make
make -C /lib/modules/2.6.20-17-generic/build SUBDIRS=/home/scott/microdia modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-17-generic'
  CC [M]  /home/scott/microdia/microdia-usb.o
/home/scott/microdia/microdia-usb.c: In function ‘usb_microdia_isoc_handler’:
/home/scott/microdia/microdia-usb.c:335: warning: implicit declaration of function ‘list_first_entry’
/home/scott/microdia/microdia-usb.c:335: error: expected expression before ‘struct’
/home/scott/microdia/microdia-usb.c:336: warning: assignment makes pointer from integer without a cast
make[2]: *** [/home/scott/microdia/microdia-usb.o] Error 1
make[1]: *** [_module_/home/scott/microdia] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-17-generic'
make: *** [driver] Error 2


Thanks,
-Scott</description>
		<content:encoded><![CDATA[<p>Kevin:</p>
<p>I&#8217;m running 7.04. The make command fails. Any recommendations? </p>
<p>scott@ubuntu:~/microdia$ make<br />
make -C /lib/modules/2.6.20-17-generic/build SUBDIRS=/home/scott/microdia modules<br />
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-17-generic&#8217;<br />
  CC [M]  /home/scott/microdia/microdia-usb.o<br />
/home/scott/microdia/microdia-usb.c: In function ‘usb_microdia_isoc_handler’:<br />
/home/scott/microdia/microdia-usb.c:335: warning: implicit declaration of function ‘list_first_entry’<br />
/home/scott/microdia/microdia-usb.c:335: error: expected expression before ‘struct’<br />
/home/scott/microdia/microdia-usb.c:336: warning: assignment makes pointer from integer without a cast<br />
make[2]: *** [/home/scott/microdia/microdia-usb.o] Error 1<br />
make[1]: *** [_module_/home/scott/microdia] Error 2<br />
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-17-generic&#8217;<br />
make: *** [driver] Error 2</p>
<p>Thanks,<br />
-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnwm</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18323</link>
		<dc:creator>johnwm</dc:creator>
		<pubDate>Thu, 31 Jul 2008 00:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18323</guid>
		<description>Hi kevin
thanks for replying.

I also have the generic current ubuntu 2.6.24-19-generic kernel to boot into.

The microdia module compiles on the generic
and works for me using xawtv. However, I cannot capture anything - picture or video. I've been hunting for answers on the microdia list so, as you said , I'll probably find aswers there.

Yes there is defiantly some differences in the real-time kernel that don't jibe with the module compile - that's what I'll be trackig info for.

I guess the web-cam is not quite ready for any music videos yet - pun intended : - ) 
Johnwm</description>
		<content:encoded><![CDATA[<p>Hi kevin<br />
thanks for replying.</p>
<p>I also have the generic current ubuntu 2.6.24-19-generic kernel to boot into.</p>
<p>The microdia module compiles on the generic<br />
and works for me using xawtv. However, I cannot capture anything - picture or video. I&#8217;ve been hunting for answers on the microdia list so, as you said , I&#8217;ll probably find aswers there.</p>
<p>Yes there is defiantly some differences in the real-time kernel that don&#8217;t jibe with the module compile - that&#8217;s what I&#8217;ll be trackig info for.</p>
<p>I guess the web-cam is not quite ready for any music videos yet - pun intended : - )<br />
Johnwm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Godby</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18322</link>
		<dc:creator>Kevin Godby</dc:creator>
		<pubDate>Wed, 30 Jul 2008 19:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18322</guid>
		<description>Hello, Johnwm.

I haven't seen that error message before.  I just downloaded a fresh copy of the Microdia driver source code and recompiled it and it worked fine for me.  One difference between our systems is the kernel.  I'm using a slightly newer version (which I don't think matters), and I'm using generic while you're using real-time.  I'm wondering if the real-time kernel has different function calls in some places.

I'd recommend emailing the developers of the Microdia drivers to see if they can help you more.  I'm afraid since I'm not running the real-time kernel that I can't be of much help.  You can sign up for their email list here:

 http://groups.google.com/group/microdia

At that same site, you can look in the "Pages" sections for more instructions and information that may be of some help.

Sorry I can't be of more assistance.  Best of luck, and please post back if you find a solution -- it may very well help someone else in the future!

Thanks for writing.

--Kevin Godby</description>
		<content:encoded><![CDATA[<p>Hello, Johnwm.</p>
<p>I haven&#8217;t seen that error message before.  I just downloaded a fresh copy of the Microdia driver source code and recompiled it and it worked fine for me.  One difference between our systems is the kernel.  I&#8217;m using a slightly newer version (which I don&#8217;t think matters), and I&#8217;m using generic while you&#8217;re using real-time.  I&#8217;m wondering if the real-time kernel has different function calls in some places.</p>
<p>I&#8217;d recommend emailing the developers of the Microdia drivers to see if they can help you more.  I&#8217;m afraid since I&#8217;m not running the real-time kernel that I can&#8217;t be of much help.  You can sign up for their email list here:</p>
<p> <a href="http://groups.google.com/group/microdia" rel="nofollow">http://groups.google.com/group/microdia</a></p>
<p>At that same site, you can look in the &#8220;Pages&#8221; sections for more instructions and information that may be of some help.</p>
<p>Sorry I can&#8217;t be of more assistance.  Best of luck, and please post back if you find a solution &#8212; it may very well help someone else in the future!</p>
<p>Thanks for writing.</p>
<p>&#8211;Kevin Godby</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnwm</title>
		<link>http://kevin.godby.org/2008/05/09/howto-serval-performance-serp2-webcam/comment-page-1/#comment-18321</link>
		<dc:creator>johnwm</dc:creator>
		<pubDate>Wed, 30 Jul 2008 18:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://kevin.godby.org/?p=77#comment-18321</guid>
		<description>I have amd64 nvidia gforce laptop computer - ubuntu studio - hardy- kernel /usr/src/linux-headers-2.6.24-19-rt

I get compiling error 

/home/johnwm/microdia/microdia-usb.c: In function ‘usb_microdia_isoc_handler’:
/home/johnwm/microdia/microdia-usb.c:333: error: size of array ‘type name’ is negative

/home/johnwm/microdia/microdia-usb.c:333: warning: comparison of distinct pointer types lacks a cast

/home/johnwm/microdia/microdia-usb.c:337: error: size of array ‘type name’ is negative

and,

 /home/johnwm/microdia/microdia-usb.c:337: warning: comparison of distinct pointer types lacks a cast

Please email me if you see this - 
I'm unable to compile the driver so far
July-30-2008

thanks for any help
Johnwm</description>
		<content:encoded><![CDATA[<p>I have amd64 nvidia gforce laptop computer - ubuntu studio - hardy- kernel /usr/src/linux-headers-2.6.24-19-rt</p>
<p>I get compiling error </p>
<p>/home/johnwm/microdia/microdia-usb.c: In function ‘usb_microdia_isoc_handler’:<br />
/home/johnwm/microdia/microdia-usb.c:333: error: size of array ‘type name’ is negative</p>
<p>/home/johnwm/microdia/microdia-usb.c:333: warning: comparison of distinct pointer types lacks a cast</p>
<p>/home/johnwm/microdia/microdia-usb.c:337: error: size of array ‘type name’ is negative</p>
<p>and,</p>
<p> /home/johnwm/microdia/microdia-usb.c:337: warning: comparison of distinct pointer types lacks a cast</p>
<p>Please email me if you see this -<br />
I&#8217;m unable to compile the driver so far<br />
July-30-2008</p>
<p>thanks for any help<br />
Johnwm</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.562 seconds -->
