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.