Re: PCI add-in parallel port problem



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: <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.

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: <Parallel port> failed to probe at irq 7 on isa0

from dmesg, but unfortunately nothing else changed.

--
Richard Perini
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: USB/Parallel Port issues
    ... Does anyone have any insight on what I may have done wrong. ... The card is definitely installed correctly. ... a PCI parallel port card is definitely a good option. ... there is no parallel port. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Mapping Multi-I/O Card to "Legacy" ports ?
    ... Anton Erasmus wrote: ... I have a PC on which the on-board parallel port has blown. ... bought a Netmos NM9835 based multi I/O card. ...
    (comp.arch.embedded)
  • Mapping Multi-I/O Card to "Legacy" ports ?
    ... I have a PC on which the on-board parallel port has blown. ... bought a Netmos NM9835 based multi I/O card. ... configuration values from an external EEPROM at powerup. ...
    (comp.arch.embedded)
  • Re: HP Deskjet612C will not share para port with CanoScanFB330P
    ... Install a PCI parallel port card. ... printing system which gives exclusive port control to the printer driver. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Printer port confusion
    ... indicates that pins 10 and 15 are inverted inputs, ... PC Parallel Port Mini-FAQ ... The data register is at IOBase+0. ...
    (sci.electronics.basics)