⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 w9968cf.txt

📁 linux 内核源代码
💻 TXT
📖 第 1 页 / 共 2 页
字号:
		   W996[87]CF JPEG USB Dual Mode Camera Chip		     Driver for Linux 2.6 (basic version)		   =========================================			       - Documentation -Index=====1.  Copyright2.  Disclaimer3.  License4.  Overview5.  Supported devices6.  Module dependencies7.  Module loading8.  Module parameters9.  Contact information10. Credits1. Copyright============Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it>2. Disclaimer=============Winbond is a trademark of Winbond Electronics Corporation.This software is not sponsored or developed by Winbond.3. License==========This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.4. Overview===========This driver supports the video streaming capabilities of the devices mountingWinbond W9967CF and Winbond W9968CF JPEG USB Dual Mode Camera Chips. OV681based cameras should be supported as well.The driver is divided into two modules: the basic one, "w9968cf", is needed forthe supported devices to work; the second one, "w9968cf-vpp", is an optionalmodule, which provides some useful video post-processing functions like videodecoding, up-scaling and colour conversions.Note that the official kernels do neither include nor support the secondmodule for performance purposes. Therefore, it is always recommended todownload and install the latest and complete release of the driver,replacing the existing one, if present.The latest and full-featured version of the W996[87]CF driver can be found at:http://www.linux-projects.org. Please refer to the documentation included inthat package, if you are going to use it.Up to 32 cameras can be handled at the same time. They can be connected anddisconnected from the host many times without turning off the computer, ifyour system supports the hotplug facility.To change the default settings for each camera, many parameters can be passedthrough command line when the module is loaded into memory.The driver relies on the Video4Linux, USB and I2C core modules. It has beendesigned to run properly on SMP systems as well. An additional module,"ovcamchip", is mandatory; it provides support for some OmniVision imagesensors connected to the W996[87]CF chips; if found in the system, the modulewill be automatically loaded by default (provided that the kernel has beencompiled with the automatic module loading option).5. Supported devices====================At the moment, known W996[87]CF and OV681 based devices are:- Aroma Digi Pen VGA Dual Mode ADG-5000 (unknown image sensor)- AVerMedia AVerTV USB (SAA7111A, Philips FI1216Mk2 tuner, PT2313L audio chip)- Creative Labs Video Blaster WebCam Go (OmniVision OV7610 sensor)- Creative Labs Video Blaster WebCam Go Plus (OmniVision OV7620 sensor)- Lebon LDC-035A (unknown image sensor)- Ezonics EZ-802 EZMega Cam (OmniVision OV8610C sensor)- OmniVision OV8610-EDE (OmniVision OV8610 sensor)- OPCOM Digi Pen VGA Dual Mode Pen Camera (unknown image sensor)- Pretec Digi Pen-II (OmniVision OV7620 sensor)- Pretec DigiPen-480 (OmniVision OV8610 sensor)If you know any other W996[87]CF or OV681 based cameras, please contact me.The list above does not imply that all those devices work with this driver: upuntil now only webcams that have an image sensor supported by the "ovcamchip"module work. Kernel messages will always tell you whether this is case.Possible external microcontrollers of those webcams are not supported: thismeans that still images cannot be downloaded from the device memory.Furthermore, it's worth to note that I was only able to run tests on my"Creative Labs Video Blaster WebCam Go". Donations of other models, foradditional testing and full support, would be much appreciated.6. Module dependencies======================For it to work properly, the driver needs kernel support for Video4Linux, USBand I2C, and the "ovcamchip" module for the image sensor. Make sure you are notactually using any external "ovcamchip" module, given that the W996[87]CFdriver depends on the version of the module present in the official kernels.The following options of the kernel configuration file must be enabled andcorresponding modules must be compiled:	# Multimedia devices	#	CONFIG_VIDEO_DEV=m	# I2C support	#	CONFIG_I2C=mThe I2C core module can be compiled statically in the kernel as well.	# OmniVision Camera Chip support	#	CONFIG_VIDEO_OVCAMCHIP=m	# USB support	#	CONFIG_USB=mIn addition, depending on the hardware being used, only one of the modulesbelow is necessary:	# USB Host Controller Drivers	#	CONFIG_USB_EHCI_HCD=m	CONFIG_USB_UHCI_HCD=m	CONFIG_USB_OHCI_HCD=mAnd finally:	# USB Multimedia devices	#	CONFIG_USB_W9968CF=m7. Module loading=================To use the driver, it is necessary to load the "w9968cf" module into memoryafter every other module required.Loading can be done this way, from root:	[root@localhost home]# modprobe usbcore	[root@localhost home]# modprobe i2c-core	[root@localhost home]# modprobe videodev	[root@localhost home]# modprobe w9968cfAt this point the pertinent devices should be recognized: "dmesg" can be usedto analyze kernel messages:	[user@localhost home]$ dmesgThere are a lot of parameters the module can use to change the defaultsettings for each device. To list every possible parameter with a briefexplanation about them and which syntax to use, it is recommended to run the"modinfo" command:	[root@locahost home]# modinfo w9968cf8. Module parameters====================Module parameters are listed below:-------------------------------------------------------------------------------Name:            ovmod_loadType:            boolSyntax:          <0|1>Description:     Automatic 'ovcamchip' module loading: 0 disabled, 1 enabled.		 If enabled, 'insmod' searches for the required 'ovcamchip'		 module in the system, according to its configuration, and		 loads that module automatically. This action is performed as		 once soon as the 'w9968cf' module is loaded into memory.Default:         1Note:            The kernel must be compiled with the CONFIG_KMOD option		 enabled for the 'ovcamchip' module to be loaded and for		 this parameter to be present.-------------------------------------------------------------------------------Name:           simcamsType:           intSyntax:         <n>Description:    Number of cameras allowed to stream simultaneously.		n may vary from 0 to 32.Default:        32-------------------------------------------------------------------------------Name:           video_nrType:           int array (min = 0, max = 32)Syntax:         <-1|n[,...]>Description:    Specify V4L minor mode number.		-1 = use next available		 n = use minor number n		You can specify up to 32 cameras this way.		For example:		video_nr=-1,2,-1 would assign minor number 2 to the second		recognized camera and use auto for the first one and for every		other camera.Default:        -1-------------------------------------------------------------------------------Name:           packet_sizeType:           int array (min = 0, max = 32)Syntax:         <n[,...]>Description:    Specify the maximum data payload size in bytes for alternate		settings, for each device. n is scaled between 63 and 1023.Default:        1023-------------------------------------------------------------------------------Name:           max_buffersType:           int array (min = 0, max = 32)Syntax:         <n[,...]>Description:    For advanced users.		Specify the maximum number of video frame buffers to allocate

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -