From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 00:05:47 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4268E10656C5 for ; Sun, 30 Mar 2008 00:05:47 +0000 (UTC) (envelope-from rpp@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.freebsd.org (Postfix) with ESMTP id B86288FC15 for ; Sun, 30 Mar 2008 00:05:46 +0000 (UTC) (envelope-from rpp@ci.com.au) Received: from mippet.ci.com.au (localhost [127.0.0.1]) by mippet.ci.com.au (8.14.2/8.14.2/CE070809/cml) with ESMTP id m2U05iou037709 for ; Sun, 30 Mar 2008 11:05:45 +1100 (EST) (envelope-from rpp@mippet.ci.com.au) Received: (from rpp@localhost) by mippet.ci.com.au (8.14.2/8.14.2/Submit) id m2U05iwO037708 for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 11:05:44 +1100 (EST) (envelope-from rpp) Date: Sun, 30 Mar 2008 11:05:44 +1100 From: Richard Perini To: freebsd-stable@freebsd.org Message-ID: <20080330000544.GA36410@mippet.ci.com.au> References: <20080329230509.GA20266@mippet.ci.com.au> <20080329235631.GA43279@owl.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329235631.GA43279@owl.midgard.homeip.net> X-Scanned-By: MIMEDefang 2.63 on 192.65.182.30 Subject: Re: PCI add-in parallel port problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 00:05:47 -0000 On Sun, Mar 30, 2008 at 12:56:31AM +0100, Erik Trulsson wrote: > On Sun, Mar 30, 2008 at 10:05:09AM +1100, Richard Perini wrote: > > > > Hi, > > > > I'm trying to get a PCI-express add-in parallel port card working with > > 7.0-STABLE, and after trying the following, I'm unable to get it to > > attach to the ppc bus. The card has a "MosChip NM9805" chip. Motherboard > > is an ASUS P5E64 WS. (which of course has no on-board parallel port). > > The card seems to be recognised by the puc layer. > > > > I've added > > device puc > > to the kernel config file, and added > > > > { 0x9710, 0x9805, 0xffff, 0, > > "MosChip NM9805 Dual 1284 Printer port", > > 0, > > PUC_PORT_2P, 0x10, 8, 0, > > }, > > > > to sys/dev/puc/pucdata.c and with verbose booting, get the following > > extracts from dmesg: (full dmesg attached below) > > > > pcib3: slot 0 INTB hardwired to IRQ 17 > > pcib4: slot 1 INTA is routed to irq 17 > > pcib5: slot 0 INTA is routed to irq 17 > > pcib6: slot 0 INTA is routed to irq 17 > > ppc0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xdc00 > > ppc0: using extended I/O port range > > puc0: port 0xdc00-0xdc07,0xd880-0xd887,0xd800-0xd807,0xd480-0xd487,0xd400-0xd407,0xd080-0xd08f irq 17 at device 0.0 on pci10 > > pcib6: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib5: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib4: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib3: puc0 requested I/O range 0xdc00-0xdc07: in range > > puc0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd800 > > puc0: [FILTER] > > ppc0: using extended I/O port range > > ppc0: using extended I/O port range > > > > [ and later ] > > > > ppc0: parallel port not found. > > ppc0: failed to probe at irq 7 on isa0 > > > > Any suggestions would be appreciated. > > > > Take a look in /boot/device.hints > Do you have any lines in there referring to ppc0 ? > If so try commenting them out. Thanks for the suggestion, Erik. I commented out hint.ppc.0.at="isa" hint.ppc.0.irq="7" from /boot/device.hints and that got rid of ppc0: parallel port not found. ppc0: failed to probe at irq 7 on isa0 from dmesg, but unfortunately nothing else changed. -- Richard Perini