Hardy Haron so far has been great on my lappy. For those not in the know, I got an HP TX1320 that came with Vista Home Premium. For about five months, I tried to use Vista as my primary OS. Truth be told, the os worked well. It did not crash and installing Rails was a snap. What was a pain was how slow it ran. I finally caved and installed my favorite distro Ubuntu.
8.04 install went smoothly. Wireless did not work out of the box but I used NDISwrapper with an older Broadcom driver to fix that. What was more perplexing was the webcam. There seemed to be no support for that. First I needed to know what I was working with:
lsusb Bus 002 Device 002: ID 03f0:171d Hewlett-Packard Bus 002 Device 001: ID 0000:0000 Bus 001 Device 007: ID 058f:6366 Alcor Micro Corp. Bus 001 Device 006: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen Bus 001 Device 005: ID 08ff:1600 AuthenTec, Inc. Bus 001 Device 004: ID 0c45:62c0 Microdia Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub" Bus 001 Device 001: ID 0000:0000
It looks like I have a Microdia model 0c45:62c0. I hope to use the Linux-uvc driver as they have support for my particular web cam, so let’s give that a shot. First you need to get files to help you build the driver and you can do that by :
<p align="left">sudo apt-get install subversion build-essential linux-headers-'uname -r'</p>
With that out of the way, you can get the latest build of the uvc drivers by doing the following:
<p align="left">svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk</p>
is the default svn location however it was down at the time of this post but http was responsive. Now head into the trunk directory and install the bugger!
<p align="left">cd trunk && make && sudo make install && sudo cp -a uvcvideo.ko /lib/modules/`uname -r`/ubuntu/media/usbvideo/</p>
You can check out what ubuntu reports back:
select 4vl2 for video input and test. Well did it work? Kind of, aMSN worked but Seesmic did not turn on the webcam. It seems no Adobe Flash apps can turn on my cam though it does recognize that there is a USB 2.0 web cam there. So close! Just got to keep trying…