How to use the camera on Linux OS

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.