From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 2 13:40:56 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29B4716A4CE for ; Sun, 2 Nov 2003 13:40:56 -0800 (PST) Received: from w2xo.jcdurham.com (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C0643FA3 for ; Sun, 2 Nov 2003 13:40:55 -0800 (PST) (envelope-from durham@jcdurham.com) Received: from jimslaptop.home.jcdurham.com (jimslaptop.jcdurham.com [192.168.5.14]) by w2xo.jcdurham.com (8.11.6/8.11.6) with ESMTP id hA2Lesx50363 for ; Sun, 2 Nov 2003 16:40:54 -0500 (EST) (envelope-from durham@jcdurham.com) From: Jim Durham Organization: JC Durham Consulting To: freebsd-hackers@freebsd.org Date: Sun, 2 Nov 2003 16:40:46 -0500 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311021640.46969.durham@jcdurham.com> Subject: Parallel Port in 5.1-RELEASE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: durham@jcdurham.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 21:40:56 -0000 I have a computer running 5.1-RELEASE and another running 4.9-RELEASE.. Both have the same motherboard with onboard ports/nic, etc, so conditions should be equal. They both have a printer plugged in the parallel port. One printer is an HP 5L, the other is an HP 6L, so that is almost identical also. On the 5.1 system, boot messages show: ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 On the 4.9-RELEASE system, I get: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/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: PRINTER HP ENHANCED PCL5,PJL plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 The 4.9 system identifies the printer, the 5.1 system does not, it calls it an "IEEE1284 device". I run CUPS printing on both. On the 4.9 system, the parallel port is available in the cups setup. On the 5.1 system, it is not. The utility 'lpinfo' that comes with CUPS shows a parallel port on the 4.9 System, but not on the 5.1-SYSTEM. The device 'lpt0' shows up in the devfs at /dev on the 5.1 box. However, the permissions always some up as 600 after a bootup, even though I have: perm pass0 0666 perm acd0c 0666 perm lpt0 0666 in /etc/devfs.conf. The first two rules work. The rule for lpt0 does not. BTW, I have a laptop running 5.1 and it does not show a parallel port in CUPS either. Any Ideas? Thanks, -- Jim Durham