From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 07:33:02 2004 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 8FADB16A4CE for ; Tue, 29 Jun 2004 07:33:02 +0000 (GMT) Received: from elephant.ru.ac.za (elephant.ru.ac.za [146.231.128.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3339243D31 for ; Tue, 29 Jun 2004 07:33:02 +0000 (GMT) (envelope-from spamRemoveFree@iwr.ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:2522) by elephant.ru.ac.za with esmtp (Exim 4.34 (FreeBSD)) id 1BfD6x-000Mlb-Az for freebsd-questions@freebsd.org; Tue, 29 Jun 2004 09:32:59 +0200 Received: from IWR/SpoolDir by iwr.ru.ac.za (Mercury 1.48); 29 Jun 04 09:32:58 +0200 Received: from SpoolDir by IWR (Mercury 1.48); 29 Jun 04 09:32:53 +0200 Received: from iwr50-98 (146.231.64.122) by iwr.ru.ac.za (Mercury 1.48) with ESMTP; 29 Jun 04 09:32:51 +0200 From: "DA. Forsyth" Organization: Dave's Workshop To: freebsd-questions@freebsd.org Date: Tue, 29 Jun 2004 09:32:50 GMT+2 MIME-Version: 1.0 Message-ID: <40E13742.7473.1467E920@localhost> Priority: normal Message-Id: <230701088494370-8322179b0a16f@IWR50.412.spamsucks.net> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Score: -3.9 (---) Subject: setting LPT1 to polled mode via acpi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: spamRemoveFree@iwr.ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 07:33:02 -0000 Hiya all I've got 5.2.1-RELEASE on a P4 1.1Ghz machine I've setup a HP laserjet (iiP) on the first parallel port using a simple filter to get the lines feeding correctly. Sometimes it actually prints, but mostly it will send the job to the printer then WAAAAAIT till I formfeed. After that it will NOT access the printer. LPQ reports jobs in the queue, but also says 'waiting for lp to become ready (offline?)' the printer is not offline. the cable it ok etc etc etc resetting etc in LPC makes no difference I just need some simple text printing from this thing, can it really be so hard? dmesg says about 'ppc' ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 which is correct anyhow, I read the printing bit of the handbook, which referred me to the IRQ setting and mentions some HP printers not working in IRQ mode. I commented the relevant line in /boot/device.hints and rebooted no change. I then read some more and went along to the acpi(4) man page and got no further than suspecting hw.acpi.pci.link.%d.%d.%d.irq Override the interrupt to use. is what I need to use to disable the IRQ on the parallel port (I cannot do it in BIOS) however, nowhere can I find out what to put instead of %d.%d.%d to tell it to NOT use IRQ's for the printer port, there is simply no explanation for those numbers. please help I need to print some of the conf files before I rebuild this box with an IDE RAID card for the disks.... -- David /"\ http://terrapin.ru.ac.za/~iwdf/ \ / ASCII Ribbon campaign against HTML E-Mail > - - - - - - -> X If you receive email saying "Send this to everyone you know," / \ PLEASE pretend you don't know me.