From owner-freebsd-questions@FreeBSD.ORG Thu Apr 7 14:45:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C012016A4CE for ; Thu, 7 Apr 2005 14:45:35 +0000 (GMT) Received: from outcold.yadt.co.uk (outcold.yadt.co.uk [81.187.204.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F50543D5C for ; Thu, 7 Apr 2005 14:45:33 +0000 (GMT) (envelope-from davidt@yadt.co.uk) Received: from localhost (localhost [127.0.0.1]) by outcold.yadt.co.uk (Postfix) with ESMTP id 7333A1DD769 for ; Thu, 7 Apr 2005 15:45:49 +0100 (BST) Received: from outcold.yadt.co.uk ([127.0.0.1]) by localhost (outcold.yadt.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50526-11 for ; Thu, 7 Apr 2005 15:45:39 +0100 (BST) Received: by outcold.yadt.co.uk (Postfix, from userid 1001) id 2E4F81DD7DC; Thu, 7 Apr 2005 15:45:39 +0100 (BST) Date: Thu, 7 Apr 2005 15:45:39 +0100 From: David Taylor To: freebsd-questions@freebsd.org Message-ID: <20050407144539.GB55594@outcold.yadt.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: amavisd-new 2.2.1 (20041222) at yadt.co.uk Subject: puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 14:45:35 -0000 Hi, 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. In dmesg: puc0: port 0xd000-0xd00f,0xd400-0xd407,0xd800-0xd807, 0xdc00-0xdc07,0xe000-0xe007,0xe400-0xe407 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@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: 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: on ppc1 ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: MLC,PCL,PML lpt0: 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. -- David Taylor