Date: Sun, 30 Mar 2008 00:56:31 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Richard Perini <rpp@ci.com.au> Cc: freebsd-stable@freebsd.org Subject: Re: PCI add-in parallel port problem Message-ID: <20080329235631.GA43279@owl.midgard.homeip.net> In-Reply-To: <20080329230509.GA20266@mippet.ci.com.au> References: <20080329230509.GA20266@mippet.ci.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <MosChip NM9805 Dual 1284 Printer port> 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: <Parallel port> 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. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080329235631.GA43279>