Bug 16394

Summary: Users of some printers find that lpt0 malfunctions
Product: Base System Reporter: Stephen Montgomery-Smith <stephen>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   

Description Stephen Montgomery-Smith 2000-01-27 04:30:00 UTC
       Many users using certain kinds of printers, like the HP 4L,
have many problems with printing postscript files.  After asking
around in news groups, the finally find out that the line in
/sys/i386/conf/GENERIC that says
device          ppc0    at isa? port? flags 0x40 net irq 7
should be changed to
device          ppc0    at isa? port? flags 0x40 tty irq 7

Fix: 

Add a comment inside the file /sys/i386/conf/GENERIC (and maybe a 
similar one in LINT) just before the offending line, that says:

# For certain kinds of printers (for example HP 4L), you will need
# to change the word "net" to "tty" in the following line.
device          ppc0    at isa? port? flags 0x40 net irq 7

This simple, harmless fix will save many users much grief.
Comment 1 Bruce Evans 2000-01-27 07:49:35 UTC
On Wed, 26 Jan 2000 stephen@math.missouri.edu wrote:

> >Fix:
> 	
> Add a comment inside the file /sys/i386/conf/GENERIC (and maybe a 
> similar one in LINT) just before the offending line, that says:
> 
> # For certain kinds of printers (for example HP 4L), you will need
> # to change the word "net" to "tty" in the following line.
> device          ppc0    at isa? port? flags 0x40 net irq 7
> 
> This simple, harmless fix will save many users much grief.

"net" is wrong for _all_ printers.  It is only right for plip.  I think
GENERIC uses "net" because it wants to support installation using plip,
but this breaks the usual case.  Kludges hide the problem in some cases.
E.g., configuring slip makes net == tty.  This is for RELENG_3.  The
problem is a little different in -current.  I think it is fixed for lpt
and lpt but came back for slip.

Bruce
Comment 2 nbm freebsd_committer freebsd_triage 2000-07-14 14:22:08 UTC
State Changed
From-To: open->closed

This only applied to RELENG_3, and those following the tag will 
presumably understand this. (and read the kernel instructions). 

4.0 and later deals with this differently.