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

📄 x370.html

📁 usb develop guide
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN"><HTML><HEAD><TITLE>USB Cameras</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet"><LINKREL="HOME"TITLE="The Linux USB sub-system"HREF="book1.html"><LINKREL="UP"TITLE="How to get USB devices working under Linux"HREF="c122.html"><LINKREL="PREVIOUS"TITLE="USB Serial Converter support"HREF="x356.html"><LINKREL="NEXT"TITLE="USB and Digital Still Cameras"HREF="x405.html"></HEAD><BODY><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">The Linux USB sub-system</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="x356.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 2. How to get USB devices working under Linux</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="x405.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="AEN370">USB Cameras</A></H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN372">Generic camera configuration</A></H2><P>Under Linux, USB cameras use the Video4Linux interface.You need to set up a device node entry for the USB camera.Use the following command, if you have no other Video4Linuxdevices:<TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SCREEN">mknod /dev/video0 c 81 0ln -s /dev/video0 /dev/video</PRE></TD></TR></TABLE></P><P>To use the device, you need some video tools. There are a fairly wide rangeof tools available. <AHREF="http://www.thedirks.org/v4l2/"TARGET="_top">http://www.thedirks.org/v4l2</A> has a package thatis a generally named something like <TTCLASS="FILENAME">apps20000611.tgz</TT>,depending on the date of release. It has both X and text-mode tools. Usingthe text mode tools will allow you to do things like<TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SCREEN">./vctrl 320x240x24./vcat | rawtoppm -bgr 320 240 | xv -</PRE></TD></TR></TABLE>These tools default to using <TTCLASS="FILENAME">/dev/video</TT> if nototherwise specified, hence the symbolic link made previously.</P><P>There are other suitable tools available. Links to some of these toolsare provided in the Linux USB web site at <AHREF="http://www.linux-usb.org"TARGET="_top">http://www.linux-usb.org</A>.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN383">USB CPiA Camera support</A></H2><P>This driver supports a certain chipset made by Vision, and usedin a range of USB cameras (notably the Creative WebCamII). To make the CPiA camera driver work, you need to select<TTCLASS="USERINPUT"><B>Video For Linux</B></TT> (under <TTCLASS="USERINPUT"><B>Multimedia devices</B></TT>), and then select<TTCLASS="USERINPUT"><B>CPiA Video For Linux</B></TT> and<TTCLASS="USERINPUT"><B>CPiA USB Lowlevel Support</B></TT> options withinthe <TTCLASS="USERINPUT"><B>Video For Linux</B></TT>.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN391">USB OV511 Camera support</A></H2><P>This driver supports a certain chipset made by OmniVision, and usedin a range of USB cameras (notably the Creative WebCam III).To make the OV511 driver work, you  need to select<TTCLASS="USERINPUT"><B>Video For Linux</B></TT> support (under<TTCLASS="USERINPUT"><B>Multimedia devices</B></TT> and <TTCLASS="USERINPUT"><B>USB OV511Camera support</B></TT> under <TTCLASS="USERINPUT"><B>USB support</B></TT>.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN398">USB IBM (Xirlink) C-it Camera support</A></H2><P>This driver supports the <AHREF="http://www.c-itnow.com/"TARGET="_top">XirlinkC-it</A> cameras, also sold by IBM.To make the OV511 driver work, you also need to select<TTCLASS="USERINPUT"><B>Video For Linux</B></TT> support (under<TTCLASS="USERINPUT"><B>Multimedia devices</B></TT> and <TTCLASS="USERINPUT"><B>USB IBM(Xirlink) C-it Camera support</B></TT></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="x356.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book1.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x405.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">USB Serial Converter support</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c122.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">USB and Digital Still Cameras</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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