lpt(4) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

lpt(4)

The  current driver is the port of the original lpt driver to the
system.  One purpose of this port  was  to  allow  parallel  port
sharing  with  other  parallel  devices.   Secondly, inb()/outb()
calls have been replaced by ppbus function  calls.   lpt  is  now
arch-independent  thanks  to  the  ppbus interface.  See for more
info about the ppbus system.  The parallel port bus is  allocated
by  lpt  when the printer device is opened and released only when
the transfer is completed: either when the device  is  closed  or
when  the  entire  buffer  is sent in interrupt driven mode.  The
driver can be configured to be  either  interrupt-driven,  or  to
poll the printer.  Ports that are configured to be interrupt-dri‐
ven can be switched to polled mode by using the command.  Depend‐
ing  on  your  hardware,  extended capabilities may be configured
with the command.  With an ECP/ISA port, you can  take  advantage
of  FIFO  and  DMA.   In  order  to  retrieve  printer  info from
/dev/lpt0, just apply the command to the device.  If the  printer
supports  IEEE1284  nibble mode and has data to send to the host,
you will get it.  first parallel port driver This driver replaces
the functionality of the lpa driver, which is now defunct.  There
are lots of them, especially in cheap parallel  port  implementa‐
tions.   It is only possible to open a lpt port when a printer is
connected and on-line, making it impossible to run when there  is
no printer connected.  This driver could still stand a rewrite.











































맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3