Re: parallel port *slow* (and plip probs.)

From: Allan Fields <bsd_at_afields.ca>
Date: Thu, 15 Jul 2004 20:33:28 -0400
On Thu, Jul 15, 2004 at 11:36:30PM +0100, Antony T Curtis wrote:
> On Thu, 2004-07-15 at 22:07, Palle Girgensohn wrote:
> > Only, the flags don't work, nothing seems to happen?

Did you set to ECP mode in your BIOS?

> > 
> > $ kenv | grep  ppc
> > hint.ppc.0.at="isa"
> > hint.ppc.0.flags="0xc"
> > hint.ppc.0.irq="7"
> > $ dmesg | grep ppc
> > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> > ppc0: FIFO with 16/16/16 bytes threshold
> > ppbus0: <Parallel port bus> on ppc0
> 
> I must admit - I have only had it work properly when the flags was
> compiled in the kernel config:
> 
> device ppc0 at isa? flags 0x08 irq 7 drq 3

I've had ECP working in 5.1 & 5.2 using device.hints as I've been
misusing a machine as PLIP router to provide old laptop w/ network
since PCMCIA interface isn't working w/ installed kernel.

dmesg:
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x8 on isa0
ppc0: Generic chipset (ECP-only) in ECP mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0

device.hints:
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.ppc.0.flags="0x8"
hint.ed.0.at="isa"

> <snip>
> 
> -- 
> Antony T Curtis <antony.t.curtis_at_ntlworld.com>

-- 
 Allan Fields, AFRSL - http://afields.ca
 2D4F 6806 D307 0889 6125  C31D F745 0D72 39B4 5541
Received on Thu Jul 15 2004 - 22:33:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC