puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter
davidt at yadt.co.uk
Thu Apr 7 07:45:35 PDT 2005
I've got an amd64 box with 1 built-in parallel port, which works fine.
I also bought an add-on parallel port adapter card (a MosChip
SemiConductors Nm9805 chip). After discovering puc, I enabled
device puc and the card is now detected by puc, but doesn't
appear to be picked up by the ppc driver.
I'm running -STABLE from about 24 hours ago.
puc0: <NetMos NM9805 1284 Printer port> port
irq 19 at device 8.0 on pci0
puc: name: NetMos NM9805 1284 Printer port
puc0: Reserved 0x8 bytes for rid 0x10 type 4
at 0xe400 port rid 16 bst 0, start e400, end e407
puc: Using ppc0
puc: type 2, bar 10, offset 0
In pciconf -lv:
puc0 at pci0:8:0: class=0x078000 card=0x00101000
chip=0x98059710 rev=0x01 hdr=0x00
vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
device = 'Nm9805 Parallel Port Adapter'
class = simple comms
However, despite the 'using ppc0' line, ppc0 is never mentioned again.
The on-board parallel port is allocated to ppc1:
ppc1: <ECP parallel printer port>
port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc1
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 610C> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
However, ppc doesnt appear to exist:
# sysctl dev.ppc.0
sysctl: unknown oid 'dev.ppc.0'
Since the card is detected, and the puc driver claims to be 'using ppc0',
I'm not really sure what to try now. Any one have any ideas?
P.S. Please CC me on any replies, as I am not subscribed to this list.
More information about the freebsd-questions