?? w9967cf.html
字號:
<HTML><HEAD><TITLE>Winbond 996[78]cf Linux Driver</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD><BODYCLASS="BOOK"><DIVCLASS="BOOK"><ANAME="V4LGUIDE"></A><DIVCLASS="TITLEPAGE"><H1CLASS="TITLE"><ANAME="AEN2">Winbond 996[78]cf Linux Driver</A></H1><H3CLASS="AUTHOR"><ANAME="AEN5"> </A></H3><DIVCLASS="AFFILIATION"><DIVCLASS="ADDRESS"><PCLASS="ADDRESS"> <br> </P></DIV></DIV><PCLASS="COPYRIGHT">Copyright © by </P><DIVCLASS="LEGALNOTICE"><ANAME="AEN14"></A><P></P><P> This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. </P><P> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </P><P> You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA </P><P> For more details see the file COPYING in the source distribution of Linux. </P><P></P></DIV><HR></DIV><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT>1. <AHREF="#INTRO">Introduction</A></DT><DT>2. <AHREF="#STRUCTURE">Driver structure</A></DT></DL></DIV><DIVCLASS="CHAPTER"><HR><H1><ANAME="INTRO">Chapter 1. Introduction</A></H1><P> This is aimed to be the Linux driver for cams based on the Winbond w9967cf and/or w9968cf. Those chips are used in the Creative WebCam Go (and Go Plus) webcam. </P><P> The driver is in a earlier development phase. For the end-user there is nothing useful. There is a lot of work to do to make the driver work. </P></DIV><DIVCLASS="CHAPTER"><HR><H1><ANAME="STRUCTURE">Chapter 2. Driver structure</A></H1><P> First, the driver register itself within the USB subsystem via the w9967cf_probe. This function is called only if the product is listed in the array of know vid:pid named device_table </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING"> static __devinitdata struct usb_device_id device_table [] = { { idVendor: 0x041e, idProduct: 0x4003 }, /* WebCam GO Plus */ { idVendor: 0x1046, idProduct: 0x9967 }, /* W9967cf/W9968cf based cam */ { } /* Terminating entry */}; </PRE></TD></TR></TABLE><P> The w9967cf_probe fills some basic camera parameters in the structure w9967cfcam, the alternate interface 1 (1023 Mb/s) (provvisiory?), then try to register the driver with video4linux as a VIDEO_CAPTURE interface. (The v4l calls w9967cf_init_done) If the registration is ok, the probe function return 0 and exit. </P></DIV></DIV></BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -