From stephen@stephen.tranquility.net  Wed Jan 26 20:27:04 2000
Return-Path: <stephen@stephen.tranquility.net>
Received: from stephen.tranquility.net (stephen.tranquility.net [206.156.230.78])
	by hub.freebsd.org (Postfix) with ESMTP id 0992B1556E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Jan 2000 20:26:56 -0800 (PST)
	(envelope-from stephen@stephen.tranquility.net)
Received: (from stephen@localhost)
	by stephen.tranquility.net (8.9.3/8.9.3) id WAA04587;
	Wed, 26 Jan 2000 22:26:57 -0600 (CST)
	(envelope-from stephen)
Message-Id: <200001270426.WAA04587@stephen.tranquility.net>
Date: Wed, 26 Jan 2000 22:26:57 -0600 (CST)
From: stephen@math.missouri.edu
Sender: stephen@stephen.tranquility.net
Reply-To: stephen@math.missouri.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Users of some printers find that lpt0 malfunctions
X-Send-Pr-Version: 3.2

>Number:         16394
>Category:       conf
>Synopsis:       Users of some printers find that lpt0 malfunctions
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 20:30:00 PST 2000
>Closed-Date:    Fri Jul 14 06:22:08 PDT 2000
>Last-Modified:  Fri Jul 14 06:25:03 PDT 2000
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
University of Missouri
>Environment:

       Using certain kinds of printers like HP 4L
>Description:

       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

>How-To-Repeat:


>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.

>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: stephen@math.missouri.edu
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/16394: Users of some printers find that lpt0 malfunctions
Date: Thu, 27 Jan 2000 18:49:35 +1100 (EST)

 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
 
 
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Fri Jul 14 06:22:08 PDT 2000 
State-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=16394 
>Unformatted:
