My laptop's webcam has been useless, occasionally using VMware Player 2.0 to simulate MSN (in fact, not once in a while). Security is a serious distrust of this thing is usually not driven, suddenly reminded of the 6 group of serious cases the police brother said High-tech products are afraid of the most.
Linux has been not installed, at night idle nothing, want to try to install, in case of emergency when the trouble.
The machine is HP DV2209TX, it is impossible to find the manufacturer information of the accessory from HP station, and the relevant information is not found from the for Windows driver.
Run Lsusb
Find Bus 001 Device 003:id 0c45:62c0 Microdia
Found on the above (command lsusb-d 0c45:62c0-v also can) the original manufacturer is Sonix (try to find the driver from the station, find the highest model only sn9c201 no sn9c211, let alone for Linux)
Fortunately, the above website guides the http://linux-uvc.berlios.de/support for this model. There is no published content, only SVN check out the source code (below the site has a packaged version below) ...
Fortunately Gentoo Portage have, so emerge linux-uvc ... Get.
Question 1, how do I use it?
Modprobe Uvcvideo after/dev/video0 is (I this UVC does not support read I/O, perhaps the version or hardware problems take up the less scrutiny), from the http://mxhaard.free.fr/ download.html Download Luvcview, then unzip, make and then./luvcview-d/dev/video0-f yuv-s 640x480 saw ...
Question 2, does not have LINUX-UVC (a release version has no drive to be able to do) do?
Download the uvcvideo-r*.tar.gz from the address above and unzip, make and make install
or manually load the module method after make (I am intentionally not make install):
Loading: insmod Uvcvideo.ko file Address
Uninstall: Rmmod Uvcvideo
Like my script:
#!/bin/bash
Insmod./uvcvideo-r104/trunk/uvcvideo.ko
./luvcview-d/dev/video0-f Yuv-s 640x480
Rmmod Uvcvideo