Use of Ubuntu7.04virtualbox camera

Source: Internet
Author: User
Although im software in linux is relatively lacking, especially those with video functions, it cannot prevent our enthusiasm for video chat, the following describes how to configure and use the camera in Ubuntu7.04: 1. install the driver: the best driver was designed by a French doctor. The open-source charm shows a cute French bearded old man. This is his website, http://mxhaard.free.fr/index.html. Check the camera chip model and enter the command on the terminal: ** although im software in linux is lacking, especially those with video functions, it is rare, however, this does not prevent us from enthusiastic about video chats. The following describes how to configure and use the camera in Ubuntu7.04:
1. Install the driver:
The best driver was designed by a French doctor. The open-source charm shows a lovely old French bearded man. This is his website, http://mxhaard.free.fr/index.html.

View the camera chip model and enter the following command on the terminal:
* ** @ **-Laptop :~ $ Lsusb
Bus 005 Device 001: ID :0000
Bus 003 Device 002: ID 0c45: 613b Microdia # Red is the camera chip Model
Bus 003 Device 001: ID :0000
Bus 002 Device 001: ID :0000
Bus 001 Device 004: ID 15d9: 0a37
Bus 001 Device 001: ID :0000
Bus 004 Device 001: ID :0000

Go to http://mxhaard.free.fr/spca5xx.html to find the camera chip number and the corresponding driver.
Download the file at http://mxhaard.free.fr/download.html.

Install the driver module:
The downloaded file is a compressed package. decompress the package and enter the file directory. Run the following command:
Sudo make
Sudo make install
Sudo modprobe gspca # My driver is gspca, and modprobe is a command installed in the module
Note:
Commands related to modules include:
Lsmod: List modules that have been transferred to the kernel
Insmod: inserts a module into the kernel.
Rmmod: detaches a module from the kernel.
Modprobe: automatically loads modules based on dependent files
Depmod: generate a dependency file and tell modprobe and kerneld where to call modules
Kerneld: automatically transfers the module to the kernel and detaches the module from the kernel.
In this way, the camera can be used and tested by ekiga.

2. Use a camera in a virtual machine:
Because the camera is a usb interface, you must add yourself to the usb FS group. Otherwise, you do not have the permission to attach the usb device to the VM. An error is prompted:
Not permitted to open the USB device, check usbfs options
Solution:
Add User Group usbfs
Sudo groupadd usbfs
Add the current user to the usb fs group
Sudo adduser USER usbfs
View the gid of USB FS
Cat/etc/group | grep usbfs
Output on my system
Usbfs: x: 1002 :******
Edit the/etc/fstab file and add the following line
None/proc/bus/usb usbfs devgid = 1002, devmode = 664 0 0
After you restart, you can use the USB device in virtuabox.
Now, after installing the driver in the xp of the virtual machine, qq video can be used, but the cpu usage is very large and the image delay is very serious. No way, who should be in the virtual machine.
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.