📄 x356.html
字号:
<!DOCTYPE HTML PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN"><HTML><HEAD><TITLE>USB Serial Converter support</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="Printer Support"HREF="x342.html"><LINKREL="NEXT"TITLE="USB Cameras"HREF="x370.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="x342.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="x370.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="AEN356">USB Serial Converter support</A></H1><P>This serial driver supports a wide range of USB to serial adapters. Italso allows communication with the Handspring Visor. You need to turn on<TTCLASS="USERINPUT"><B>USB Serial Converter support</B></TT>, and then selectwhichever of the various particular drivers you need. The<TTCLASS="USERINPUT"><B>Generic Serial Driver</B></TT> can be used with a widerange of converters, by specifying the vendor and product ID codes whenyou load the USB serial converter module:<TTCLASS="USERINPUT"><B>insmod usb-serial.o vendor=0xVVVV product-0xPPPP</B></TT>,where you need to change the <TTCLASS="USERINPUT"><B>VVVV</B></TT> and<TTCLASS="USERINPUT"><B>PPPP</B></TT> to match your device.</P><P>The serial port driver uses a major number of 188. Up to sixteen serialports are supported. To create the appropriate device entries, use thefollowing commands:<TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SCREEN">mknod /dev/usb/ttyUSB0 c 188 0mknod /dev/usb/ttyUSB1 c 188 1mknod /dev/usb/ttyUSB2 c 188 2mknod /dev/usb/ttyUSB3 c 188 3mknod /dev/usb/ttyUSB4 c 188 4mknod /dev/usb/ttyUSB5 c 188 5mknod /dev/usb/ttyUSB6 c 188 6mknod /dev/usb/ttyUSB7 c 188 7mknod /dev/usb/ttyUSB8 c 188 8mknod /dev/usb/ttyUSB9 c 188 9mknod /dev/usb/ttyUSB10 c 188 10mknod /dev/usb/ttyUSB11 c 188 11mknod /dev/usb/ttyUSB12 c 188 12mknod /dev/usb/ttyUSB13 c 188 13mknod /dev/usb/ttyUSB14 c 188 14mknod /dev/usb/ttyUSB15 c 188 15</PRE></TD></TR></TABLE></P><P>You should now be able to plug in a serial device into the adapter,and use the <TTCLASS="FILENAME">/dev/usb/ttyUSB0</TT> just as if it were anormal serial port.</P><P>To communicate with the Handspring Visor, you need an additional applicationpackage known as <AHREF="ftp://ryeham.ee.ryerson.ca/pub/PalmOS/pilot-link.0.9.3.tar.gz"TARGET="_top">Pilot-Xfer</A>. Installation and use of thispackage is covered later in this guide.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="x342.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book1.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x370.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Printer Support</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c122.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">USB Cameras</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -