From owner-freebsd-current@FreeBSD.ORG Fri Jul 16 01:10:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 942A416A4D1 for ; Fri, 16 Jul 2004 01:10:08 +0000 (GMT) Received: from palle.girgensohn.se (1-2-8-5a.asp.sth.bostream.se [82.182.157.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA32B43D39 for ; Fri, 16 Jul 2004 01:10:07 +0000 (GMT) (envelope-from girgen@pingpong.net) Received: from localhost.girgensohn.se (localhost.girgensohn.se [127.0.0.1]) by palle.girgensohn.se (Postfix) with ESMTP id 09AD41CCEF; Fri, 16 Jul 2004 03:10:07 +0200 (CEST) Date: Fri, 16 Jul 2004 03:10:06 +0200 From: Palle Girgensohn To: Allan Fields , Antony T Curtis Message-ID: <042E9B710BB3EA9CFBC625DE@palle.girgensohn.se> In-Reply-To: <20040716003328.GB12833@afields.ca> References: <2A1A414BD992B32464CA6FF3@palle.girgensohn.se> <1089914418.54518.7.camel@pcgem.rdg.cyberkinetica.com> <1089930990.18519.25.camel@pcgem.rdg.cyberkinetica.com> <20040716003328.GB12833@afields.ca> X-Mailer: Mulberry/3.1.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: current@freebsd.org Subject: Re: parallel port *slow* (and plip probs.) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 01:10:08 -0000 --On torsdag, juli 15, 2004 20.33.28 -0400 Allan Fields wrote: > 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? ECP+EPP didn't try ECP only together with 0x8 flag. >> > $ kenv | grep ppc >> > hint.ppc.0.at="isa" >> > hint.ppc.0.flags="0xc" >> > hint.ppc.0.irq="7" >> > $ dmesg | grep ppc >> > ppc0: 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: 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: at port 0x378-0x37f irq 7 flags 0x8 on isa0 > ppc0: Generic chipset (ECP-only) in ECP mode > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > > device.hints: > hint.ppc.0.at="isa" > hint.ppc.0.irq="7" > hint.ppc.0.flags="0x8" > hint.ed.0.at="isa" > >> >> >> -- >> Antony T Curtis > > -- > Allan Fields, AFRSL - http://afields.ca > 2D4F 6806 D307 0889 6125 C31D F745 0D72 39B4 5541 /Palle