Hello,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fantastic that worked - thank you very much (I needed a make prepare before running make sound and I also needed to dig out a modpost script which I had premade), I used xawtv and luvcview to try out my camera (Philips SPC630NC) - I too had the poor resolution you described.&nbsp; I&#39;m testing it out to see if it is good enough for me but I suspect that it will not be :(.<br>
<br>Cheers,<br><br>Neil<br><br><div class="gmail_quote">2009/1/14 Rask Ingemann Lambertsen <span dir="ltr">&lt;<a href="mailto:rask@sygehus.dk">rask@sygehus.dk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, Jan 11, 2009 at 02:51:07PM +0100, Neil Benn wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am trying to enable support on my OpenMoko for Webcams. &nbsp;I have<br>
&gt; followed the instructions to install debian by using the installation script<br>
&gt; described at : <a href="http://wiki.debian.org/DebianOnFreeRunner" target="_blank">http://wiki.debian.org/DebianOnFreeRunner</a>. &nbsp;I then followed<br>
&gt; the instructions for openmoko and webcam at :<br>
&gt; <a href="http://wiki.openmoko.org/wiki/Webcam" target="_blank">http://wiki.openmoko.org/wiki/Webcam</a>.<br>
<br>
</div> &nbsp; I found that those instructions don&#39;t work, presumably because they are<br>
outdated. Here&#39;s how I got it to work:<br>
<br>
--- begin HOWTO ---<br>
<br>
This is a description of how to use<br>
a USB webcam on a Neo Freerunner running the Debian distribution as of<br>
2009-01-01. There are three parts to it:<br>
<br>
1) Compiling the necessary kernel modules,<br>
2) Installing utilities for changing USB mode (host/device).<br>
3) Installing a video program.<br>
<br>
Throughout, commands prefixed with # should be run as root while commands<br>
prefixed with $ should be run as a normal user.<br>
<br>
1. Compiling the necessary kernel modules,<br>
<br>
# echo &#39;deb-src <a href="http://pkg-fso.alioth.debian.org/debian" target="_blank">http://pkg-fso.alioth.debian.org/debian</a> unstable main&#39; &gt;&gt;/etc/apt/sources.list.d/pkg-fso.list<br>
# apt-get update<br>
<br>
# apt-get install dpkg-dev bzip2 gcc make xutils-dev libc6-dev libncurses5-dev<br>
<br>
$ cd ~<br>
$ mkdir download source build<br>
$ cd source<br>
$ dpkg --list | grep -F -e linux-image-<br>
ii &nbsp;linux-image-2.6.24-openmoko-gta02 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 20081[...]<br>
$ apt-get source linux-image-2.6.24-openmoko-gta02<br>
<br>
You should now have an unpacked linux kernel tree. Make note of the extra version<br>
string in the directory name, which in this particular case it is<br>
&#39;-20081103.git7172ec57&#39;. For example, use your terminal&#39;s copy/paste facility to<br>
make a copy of it before the &#39;make menuconfig&#39; command below.<br>
<br>
$ cd ~/build &amp;&amp; mkdir linux-2.6-openmoko-20081103.git7172ec57 &amp;&amp; cd linux-2.6-openmoko-20081103.git7172ec57<br>
(making use of TAB-completion to save some typing)<br>
$ lndir -silent ../../source/linux-2.6-openmoko-20081103.git7172ec57<br>
$ cp /boot/config-2.6.24-20081103.git7172ec57 .config<br>
$ make menuconfig<br>
<br>
In &#39;General setup&#39;, &#39;Local version&#39; enter the version string from above.<br>
Nothing bad will happen to your Neo if you get it wrong, you&#39;ll just be sorry<br>
in an hour or so when your modules won&#39;t load.<br>
<br>
Most new USB cameras comply with the USB Video Class standard, for which no<br>
driver was included in the 2.6.24 kernel, and the other drivers have since<br>
been updated. We&#39;ll download and compile the camera drivers separately.<br>
<br>
Some cameras include a microphone as a standard USB audio device. Enable it here:<br>
<br>
Device Drivers -&gt; Sound -&gt; Advanced Linux Sound Architecture -&gt; USB devices -&gt; USB Audio/MIDI driver (type m)<br>
<br>
Exit the menus all the way back to the shell, saving your new kernel configuration.<br>
<br>
$ make M=sound modules<br>
(10 minutes go by)<br>
<br>
Install the sound modules:<br>
$ su root<br>
# make M=sound modules_install<br>
# exit<br>
<br>
Now we&#39;ll build the camera drivers.<br>
<br>
$ cd ~<br>
$ su root<br>
# ln -sf ${PWD}/source/linux-2.6-openmoko-20081103.git7172ec57 /lib/modules/2.6.24-20081103.git7172ec57/source<br>
# ln -sf ${PWD}/build/linux-2.6-openmoko-20081103.git7172ec57 &nbsp;/lib/modules/2.6.24-20081103.git7172ec57/build<br>
# exit<br>
$ cd ~/source<br>
$ wget <a href="http://linuxtv.org/hg/%7Epinchartl/uvcvideo/archive/tip.tar.bz2" target="_blank">http://linuxtv.org/hg/~pinchartl/uvcvideo/archive/tip.tar.bz2</a> -O - | tee ~/download/uvcvideo-tip.tar.bz2 | tar -jxf -<br>

$ sed -i -e &#39;s/-type/-xtype/&#39; uvcvideo-bb383c9099da/v4l/Makefile<br>
$ cd ~/build &amp;&amp; mkdir uvcvideo-bb383c9099da &amp;&amp; cd uvcvideo-bb383c9099da<br>
$ lndir -silent ../../source/uvcvideo-bb383c9099da<br>
$ make menuconfig<br>
<br>
Disable (type n) all the radio, tuner, DVB and DAB support unless you<br>
have devices which use it. Under &#39;Video capture adaptors&#39;, you can disable the<br>
teletext and debug options. Under &#39;V4L USB devices&#39; leave all the drivers<br>
enabled unless you already know which one(s) you&#39;ll need. Exit, saving your<br>
configuration.<br>
<br>
$ make<br>
(may take as much as 45 minutes)<br>
# su root<br>
# make install<br>
# exit<br>
<br>
2. Installing utilities for changing USB mode (host/device).<br>
<br>
Starting with version 0.7, openmoko-panel-plugin can do this for you.<br>
You can also install the usbmode tool found here (dpkg --force-architecture ...):<br>
<a href="http://www.opkg.org/package_42.html" target="_blank">http://www.opkg.org/package_42.html</a><br>
<br>
Usbmode needs to run as root, however. Either you know how to make a sudo<br>
setup for it, or you&#39;ll make it setuid root:<br>
# chmod u+s /usr/bin/usbmode.py<br>
<br>
<br>
3. Installing a video program (UNDER CONSTRUCTION).<br>
<br>
guvcview<br>
cheese<br>
<br>
<br>
And all of this without needing to reboot.<br>
<br>
--- end HOWTO ---<br>
<br>
 &nbsp; I tried it with a Logitech Quickcam Pro for Notebooks (2007 version) and<br>
guvcview as packaged by Debian. The USB Video Class driver appear to work fine, but<br>
there are two issues:<br>
<br>
1) Guvcview on Debian/armel has problems. It saves a corrupt config file,<br>
preventing it from starting again unless you delete the config file. It also<br>
saves a corrupt AVI capture file. It works fine on Fedora/x86. I haven&#39;t yet<br>
tried other video programs.<br>
<br>
2) The Logitech Quickcam Pro for Notebooks (2007 version) camera isn&#39;t very<br>
useful on a USB 1.1 bus. The highest resolutions offered are about 176x144<br>
uncompressed and 800x600 MJPEG compressed. Suggestions are welcome, since I<br>
would like to be able to capture still images of higher resolution,<br>
preferably uncompressed.<br>
<font color="#888888"><br>
--<br>
Rask Ingemann Lambertsen<br>
Danish law requires addresses in e-mail to be logged and stored for a year<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
support mailing list<br>
<a href="mailto:support@lists.openmoko.org">support@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/support" target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br><br>Neil Benn Msc<br>CEO<br>Ziath Ltd<br>Website - <a href="http://www.ziath.com">http://www.ziath.com</a><br>Blog - <a href="http://www.labauto-lounge.com">http://www.labauto-lounge.com</a><br>
<br><br>IMPORTANT NOTICE: &nbsp;This message, including any attached documents, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. &nbsp;If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify Ziath Ltd immediately by email at <a href="mailto:info@ziath.com">info@ziath.com</a>. Thank you.<br>