?? x532.html
字號:
<!DOCTYPE HTML PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN"><HTML><HEAD><TITLE>USS720 driver</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="Mass Storage Devices"HREF="x498.html"><LINKREL="NEXT"TITLE="DABUSB driver"HREF="x551.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="x498.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="x551.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="AEN532">USS720 driver</A></H1><P>The USS720 is a USB to Parallel port chip made by Lucent that normallyacts like a USB Printer Class device. Indeed you can use a USS720based bridge and a parallel port printer with the USB Printer driver,(see above). However there is also a mode (known as register mode) whichmakes the USS720 look like normal parallel port hardware. This drivermakes use of that mode.</P><P>If you have the opportunity, look at<TTCLASS="USERINPUT"><B>/proc/sys/dev/parport</B></TT> before you load themodule or reboot with a kernel with USS720 enabled. You should notethe number of parallel ports you have - typically one, under<TTCLASS="USERINPUT"><B>/proc/sys/dev/parport/parport0</B></TT>. After you putUSS720 support into your kernel, you should have another port (perhaps<TTCLASS="USERINPUT"><B>/proc/sys/dev/parport1</B></TT>). If you look at theappropriate <TTCLASS="USERINPUT"><B>hardware</B></TT> entry, you should seesomething like the following:<TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SCREEN">[bradh@rachel bradh]$ more /proc/sys/dev/parport/parport1/hardwarebase: 0x0irq: nonedma: nonemodes: PCSPP,TRISTATE,COMPAT,EPP,ECP</PRE></TD></TR></TABLE></P><P>Every distribution should have device node entriesfor parallel ports - typically <TTCLASS="USERINPUT"><B>/dev/lpX</B></TT> or<TTCLASS="USERINPUT"><B>/dev/parX</B></TT>, where the <TTCLASS="USERINPUT"><B>X</B></TT>is some number. If you need to create them, parallel ports device nodesuse character major number 6.</P><P>You should now be able to use the USS720 for anything that you wouldnormally need a parallel port for, except that certain timing sensitiveapplications may not work, since the emulation is rather slow.As for a real USB printer, I suggest use of automated tools to generate a<TTCLASS="USERINPUT"><B>/etc/printcap</B></TT> entry if you are connecting up aprinter.</P><P>If you didn't get to select USS720 support at the configuration stage,you need to turn on <TTCLASS="USERINPUT"><B>Parallel port support</B></TT>support (under <TTCLASS="USERINPUT"><B>General setup</B></TT> if using<TTCLASS="USERINPUT"><B>menuconfig</B></TT>).</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="x498.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book1.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x551.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Mass Storage Devices</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c122.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">DABUSB driver</TD></TR></TABLE></DIV></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -