From owner-freebsd-bugs Sun Apr 1 16: 0: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DA3CF37B71A for ; Sun, 1 Apr 2001 16:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f31N01h41849; Sun, 1 Apr 2001 16:00:01 -0700 (PDT) (envelope-from gnats) Received: from mail8.nc.rr.com (fe8.southeast.rr.com [24.93.67.55]) by hub.freebsd.org (Postfix) with ESMTP id 175A837B71C for ; Sun, 1 Apr 2001 15:52:40 -0700 (PDT) (envelope-from rhh@nc.rr.com) Received: from stealth.dummynet ([24.25.3.190]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Sun, 1 Apr 2001 18:49:42 -0400 Received: (from rhh@localhost) by stealth.dummynet (8.11.1/8.11.1) id f31MriK08441; Sun, 1 Apr 2001 18:53:44 -0400 (EDT) (envelope-from rhh) Message-Id: <200104012253.f31MriK08441@stealth.dummynet> Date: Sun, 1 Apr 2001 18:53:44 -0400 (EDT) From: aa8vb@nc.rr.com Reply-To: aa8vb@nc.rr.com To: FreeBSD-gnats-submit@freebsd.org Cc: aa8vb@nc.rr.com X-Send-Pr-Version: 3.2 Subject: kern/26277: ppc driver doesn't work with port 0x3BC printer port Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26277 >Category: kern >Synopsis: ppc driver doesn't work with port 0x3BC printer port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 01 16:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Randall Hopper >Release: FreeBSD 4.2-RELEASE i386 >Organization: self >Environment: Stock 4.2-RELEASE. ASUS P55T2P4 motherboard (one of the previous FreeBSD-recommended boards). Printer port on motherboard configurable in the system BIOS as port 0x3BC, 0x378, or 0x278, on interrupt 7 and with ECP and EPP enabled. >Description: ppc driver works if parallel port is configured on: port 0x378, interrupt 7, ECP+EPP mode Does not work if configured as port 0x3BC, interrupt 7, ECP+EPP mode >How-To-Repeat: Set printer to port 0x3BC, interrupt 7, ECP+EPP mode in BIOS, and configure kernel as: device ppc0 at isa? port 0x3BC irq 7 device ppbus device lpt Boot probes yield: ppc0: at port 0x3bc-0x3bf irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port even with the printer on. Booting FreeBSD results in a spurious page ejected from the printer, and all attempts to print result in "/dev/lpt0: Device busy". However, move the BIOS printer port to 0x378 and reconfig the kernel with 0x378: device ppc0 at isa? port 0x378 irq 7 device ppbus device lpt and the boot probes and printing tests show that the parallel port works fine: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: HP ENHANCED PCL5,PJL lpt0: on ppbus0 lpt0: Interrupt-driven port I'm reasonably sure this is not a port conflict because 3.4-RELEASE (what I just upgraded from) works fine with the printer port on 0x3BC with the same interrupt and printer capability configuration. >Fix: Fix not known. Can't use a 0x3BC printer port. Workaround is reconfigure hardware (if possible) to move the printer port to another port range. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message