p 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 .Xr ppbus 4 for more information about the parallel port bus system.
p The parallel port bus is reserved by lpt when the printer device is opened and released when the device is closed.
p Ports can be configured to use DMA, IEEE negotiations, and IEEE compliant transfer modes by using the .Xr lptctl 8 command, with modes depending on the hardware available.
p .Ss Minor bit The minor bit selects some device features: l -column "Minor Bit" "Function" -offset indent t Em "Minor Bit" Function t 128 Do no use interrupts (polled accesses). t 64 Do not initialize printer when opened. t 32 Automatic LF on CR. .El
p .Xr mknod 8 can be used to create such devices if necessary (see BUGS). .Sh FILES l -tag -width "/dev/lpt0xx" -compact t Pa /dev/lpt? interrupt-driven ports (minor number 0) t Pa /dev/lpa? polled ports (minor number 128) .El .Sh SEE ALSO .Xr atppc 4 , .Xr ppbus 4 , .Xr lptctl 8 , .Xr mknod 8 .Sh HISTORY This driver is derived from drivers which appear in FreeBSD and NetBSD. The FreeBSD driver is used for ppbus usage while the NetBSD driver's behavior is emulated as much as possible for compatibility. .Sh AUTHORS This manual page was based on the FreeBSD .Xr lpt 4 manual page. The information has been updated for NetBSD's port by Gary Thorpe. .Sh BUGS If a printer is not connected and on-line,
a /dev/lpa? cannot be used with .Xr lptctl 8 . A lpt device with minor number .Em 64 must be used in this case because it skips the initialization sequence.
p Testing has been limited by hardware availability.