Tips for using the camera on the Linux operating system

  

The camera of my public notebook has not been used, and occasionally use vmware player 2.0 to simulate a msn (in fact, it has never been used). . Engaged in security, serious mistrust of this thing is usually not driven, and suddenly think of the serious case 6 group of police brothers said to engage in high-tech, most afraid of high-tech products. I haven't installed it under Linux. I have nothing to do at night, I want to try it out, in case I have trouble in the future. The machine is hp dv2209tx, it is impossible to find the manufacturer information of the accessories from the hp station, and no information can be found from the for windows driver. . Searched for a long time, finally found http://mxhaard.free.fr/spca5xx.html This website can be described as a complete solution for the camera, the recognition is really amazing, my id is clearly out of the original manufacturer of the pseudonym . Run lsusb to find Bus 001 Device 003: ID 0c45:62c0 Microdia found above (command lsusb -d 0c45:62c0 -v also available) The original manufacturer is Sonix (try to find the driver from the station, look for the model only the highest sn9c201 no Sn9c211, not to mention for linux) Fortunately, the above website guides http://linux-uvc.berlios.de/to support this model. . There is no release content on the above, you can only svn check out the source code (the packaged version can be downloaded below). . . Fortunately, gentoo's portage has, so emerge linux-uvc ... get it. Question 1, how to use? Modprobe uvcvideo /dev/video0 is (I uvc does not support read i/o, maybe the version or hardware problem is not used for a while), download luvcview from http://mxhaard.free.fr/download.html, Then unzip, make and then ./luvcview -d /dev/video0 -f yuv -s 640x480. . . Question 2, no linux-uvc (a release does not have a driver to download)? Then download uvcvideo-r*.tar.gz from the above address, then extract, make, make install or manually load the module method after make (I just intentionally not make install): Load: insmod uvcvideo.ko file address Uninstall :rmmod uvcvideo For example my script: #!/bin/bash insmod ./uvcvideo-r104/trunk/uvcvideo.ko ./luvcview -d /dev/video0 -f yuv -s 640x480 rmmod uvcvideo

Copyright © Windows knowledge All Rights Reserved