From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 13 22:00:11 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A7E81065672 for ; Sat, 13 Jun 2009 22:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F16BE8FC1B for ; Sat, 13 Jun 2009 22:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5DM0ARX083786 for ; Sat, 13 Jun 2009 22:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5DM0AmP083785; Sat, 13 Jun 2009 22:00:10 GMT (envelope-from gnats) Date: Sat, 13 Jun 2009 22:00:10 GMT Message-Id: <200906132200.n5DM0AmP083785@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ted Mittelstaedt Cc: Subject: Re: kern/75157: Cannot print to /dev/lpt0 with HP Laserjet 1005 : Device Busy X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ted Mittelstaedt List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2009 22:00:11 -0000 The following reply was made to PR kern/75157; it has been noted by GNATS. From: Ted Mittelstaedt To: freebsd-gnats-submit@FreeBSD.org, hernandp@speedy.com.ar Cc: Subject: Re: kern/75157: Cannot print to /dev/lpt0 with HP Laserjet 1005 : Device Busy Date: Sat, 13 Jun 2009 14:13:27 -0700 This problem also exists on my Emachines Celeron 600 running FreeBSD 6.4 using the escputil program with an Epson printer. I have the parallel port set to NIBBLE mode that may be part of the problem. However, the Epson has to use NIBBLE mode to talk to the computer. Here's a snippet of the dmesg: ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 flags 0x1 on acpi0 ppc0: Generic chipset (NIBBLE-only) in NIBBLE mode ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER ESCPL2,BDC,D4 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 cat /boot/loader.conf hint.ppc.0.flags="0x1" nat-rtr# To demonstrate the problem cd /usr/ports/print/gimp-gutenprint make install cd work/gutenprint-5.1.7/src/escputil make install ./escputil -i -u -r /dev/lpt0 Escputil version 5.1.7, Copyright (C) 2000-2006 Robert Krawitz Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l' This is free software, and you are welcome to redistribute it under certain conditions; type 'escputil -l' for details. Cannot open /dev/lpt0 read/write: Device busy lptcontrol -p -d /dev/lpt0.ctl ./escputil -i -u -r /dev/lpt0 Escputil version 5.1.7, Copyright (C) 2000-2006 Robert Krawitz Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l' This is free software, and you are welcome to redistribute it under certain conditions; type 'escputil -l' for details. Ink color Percent remaining Black 17 Cyan 29 Magenta 26 Yellow 31 Setting lpt0 back to interrupt driven mode then makes the escputil program get the device busy error message again