From owner-freebsd-bugs Fri Mar 19 17:21: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from localhost.zilker.net (jump-tnt-0058.customer.jump.net [207.8.127.58]) by hub.freebsd.org (Postfix) with ESMTP id 82D1814EF3 for ; Fri, 19 Mar 1999 17:20:57 -0800 (PST) (envelope-from marquard@zilker.net) Received: (from marquard@localhost) by localhost.zilker.net (8.9.2/8.8.8) id TAA05717; Fri, 19 Mar 1999 19:20:37 -0600 (CST) (envelope-from marquard) To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/10678: Printing problems using ppc bus References: <199903192300.SAA02007@freebie.brann.org> From: Dave Marquardt Date: 19 Mar 1999 19:19:55 -0600 In-Reply-To: John Brann's message of "Fri, 19 Mar 1999 18:00:41 -0500 (EST)" Message-ID: <85n219vtxg.fsf@localhost.zilker.net> Lines: 92 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Brann writes: > >Number: 10678 > >Category: kern > >Synopsis: Printing problems using ppc bus > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Mar 19 15:10:01 PST 1999 > >Closed-Date: > >Last-Modified: > >Originator: John Brann > >Release: FreeBSD 3.1-RELEASE i386 > >Organization: > None > >Environment: > > Hardware is Toshiba Equium (Intel 440FX, 2xPPro 200). > Printer is HP LaserJet 5L on lpt0 (on-board port). > > Custom SMP kernel > > Parallel port section of kernel config: > > # ppc ISA-bus parallel port interfaces. > # > device ppc0 at isa? port? net irq 7 > controller ppbus0 > controller vpo0 at ppbus? > device nlpt0 at ppbus? > device plip0 at ppbus? > > > section of dmesg output: > > ppc0 at 0x378 irq 7 on isa > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppb0: IEEE1284 device found /NIBBLE > Probing for PnP devices on ppbus0: > ppbus0: HP ENHANCED PCL5,PJL > nlpt0: on ppbus 0 > nlpt0: Interrupt-driven port > plip0: on ppbus 0 > > > >Description: > > Using the ppc controller and nlpt0, I was unable to produce > useful graphic printed output. All suitable drivers at all > print densities produced memory overruns in the printer. > (partial graphic output folloed by lines of garbage characters). > > >How-To-Repeat: > > Using apsfilter port, set up Laserjet printer using any of > 'laserjet', 'ljet4', 'ljet4dith' drivers. > > Specify any print density (most default to 600dpi, problem is > observed at 150dpi and up). > > Print test page through apsfilter setup, observe bad output. > > >Fix: > > Removing ppc0 and associated entries and restoring (deprecated) > lpt0 solved the problem. printing successful at 600dpi. I found that changing device ppc0 at isa? port? net irq 7 to device ppc0 at isa? port? net did the trick for me, i.e. make PPC do polling (I guess). I just read the ppc(4) man page (after the fact), and maybe doing something like device ppc0 at isa? port? net irq 7 flags 0x20 might also do the trick. The ppc(4) man page is completely unhelpful w.r.t. forcing parallel ports into polling mode. -Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message