Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Sep 1998 19:10:38 +0200 (MET DST)
From:      "D. Rock" <rock@cs.uni-sb.de>
To:        Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
Cc:        "D. Rock" <rock@cs.uni-sb.de>, Zach Heilig <zach@gaffaneys.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: printer didn't work... a patch
Message-ID:  <13804.10618.195736.775091@doom>
In-Reply-To: <19980831205704.19847@breizh.prism.uvsq.fr>
References:  <35E13ACB.10D29949@wurzelausix.cs.uni-sb.de> <19980830172105.51414@breizh.prism.uvsq.fr> <19980831024552.A912@znh.org.> <13802.27355.871373.199447@doom> <19980831205704.19847@breizh.prism.uvsq.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Nicolas Souchu writes:
 > On Mon, Aug 31, 1998 at 11:25:16AM +0200, D. Rock wrote:
 > >Zach Heilig writes:
 > > > On Sun, Aug 30, 1998 at 05:21:05PM +0000, Nicolas Souchu wrote:
 > > > > Ok. When do you see the leds coming up again? I propose you to remove the
 > > > > pnp_detect() call from /sys/dev/ppbus/ppbconf.c and tell me.
 > > > 
 > > > I've seen this as well, but I thought it was just my configuration (tweeking
 > > > the bios a bit fixed it).
 > > > 
 > > > EPP only works (detected as):
 > > > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
 > > > 
 > > > EPP/ECP doesn't work (similar to, but with ECP/PS2 added).
 > > > ppc0: Generic chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 > >Exactly the same for my configuration. I installed the system from a
 > >"make release" at Aug, 21. The printer only works if ECP is
 > >disabled. I have a parallel port ZIP drive attached (ick).
 > >
 > >There is an interesting phenomen: If I enable ECP, the printer port
 > >gets detected (Winbond W83877F on a VIA Apollo Master board), but the
 > >ZIP drive doesn't. After a reboot, even the BIOS doesn't find the
 > >parallel port any more. I have to do a power cycle to revive it again.
 > 
 > Strange... the BIOS is responsible I think.
Maybe partially. On another machine the power cycle isn't needed, the
other symptoms are still the same, though.

 > 
 > Actually SPP under ECP mode configuration was completly broken :)
 > 
 > Please try the patch with -v boot(8) option set. And tell me all!
 > 
[patch deleted]
No difference.
Still, if I enable ECP in the BIOS, the parallel port doesn't work
(only a ZIP drive attached, but doesn't probe). If I disable ECP,
everything is fine again.

Which leaves me to the question: What is the best configuration for
performance and CPU usage: ECP or EPP, interrupt or polling?

Do I have to set "flags 0x..." in the config file or is the irq
automatically used if I include a "irq" directive?

Daniel

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13804.10618.195736.775091>