Install and test the camera in RedHatLinux

Source: Internet
Author: User
With the rapid development of video phones, I believe that you must have installed cameras in Windows, but most of them do not support Linux. I now use the Logitech camera as an example to explain how to install and test the camera in RedHat. Basic tutorial Overview 1. Download the tar package of the new kernel 2.6.18 at www.kernel.org. Download pwc-9.8.tar.gz package 2. replace some USB drivers of the kernel, and re-compile the kernel 3. edit/etc/modules. conf to edit the system startup and Load

With the rapid development of video phones, I believe that you must have installed cameras in Windows, but most of them do not support Linux. I now use the Logitech camera as an example to explain how to install and test the camera in RedHat.
Basic Experiment Overview
1. Go to www.kernel.org. Download the tar package of the new kernel 2.6.18. Download the pwc-9.8.tar.gz package
2. replace some USB drivers of the kernel and re-compile the kernel.
3. edit/etc/modules. conf to edit the system startup module.
4. Test Software XawTv, GnomeMeeting, MainActor
 
Now let's start:
Step 1: I chose RedHat Linux 10 as the experimental platform.
[Url] www.kernel.org [/url]. Download the tar package of the new kernel 2.6.18. Recompile the kernel.
# Tar zxvf linux-2.6.18.tar.gz-C/usr/src/
# Tar zxvf pwcx-8.2.2.tar.gz-C/tmp
The purpose is to replace the existing driver with the Philips webcams driver.
[Root @ rh9 tmp] # tar zxvf pwc-9.8.tar.gz-C/tmp
[Root @ rh9 tmp] # cd pwc-9.8/kernel-2.4/
ChangeLog .philips.txt. swp pwc. h pwc-ioctl.h pwc-
Misc. c pwc_timon.h pwc-uncompress.h
Pwc-ctrl.c pwc-if.c pwc_kiara.h pwc_nala.h
Pwc-uncompress.c
[Root @ rh9 kernel-2.4] # cp */usr/src/linux-2.6.18-8/drivers/usb/
[Root @ fig linux-2.4] # make menuconfig
Be sure to select the following options
Multimedia devices ---> Video for Linux ---> V4L information in proc file-
System
---> BT848 video for Linux
 
USB support --> Support of USB
--> UHCI (Intel PIIX4, ,...)
---> UHCI Alternate Driver (JE) support
---> USB Audio support
---> OHCI (Compaq, iMacs, OPTi. SiS, ALi,...) support
--> Preliminary USB device filesystem
--> USB Philips Cameras
--> USB OV511 Camera support

Keep other options as default.
In many cases, our USB driver is not included in the kernel. In fact, we only need to load them one by one based on the modules it needs. You can enable it. This is why many people are confused about the Linux USB driver. Let me give a brief explanation. The Linux USB driver has three different USB master controller options.

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.