From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 15:22:14 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 A57E716A4CE for ; Tue, 29 Jun 2004 15:22:14 +0000 (GMT) Received: from mail-gw4.njit.edu (mail-gw4.njit.edu [128.235.251.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5009A43D2D for ; Tue, 29 Jun 2004 15:22:14 +0000 (GMT) (envelope-from kellers@njit.edu) Received: from [128.235.114.39] (dhcp114-39.NJIT.EDU [128.235.114.39]) by mail-gw4.njit.edu (8.12.10/8.12.4) with ESMTP id i5TFLj0f017344; Tue, 29 Jun 2004 11:21:46 -0400 (EDT) From: T Kellers To: freebsd-questions@freebsd.org Date: Tue, 29 Jun 2004 11:21:46 -0400 User-Agent: KMail/1.6.2 References: <230701088494370-8322179b0a16f@IWR50.412.spamsucks.net> <20040629141133.GB81324@dan.emsphone.com> In-Reply-To: <20040629141133.GB81324@dan.emsphone.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406291121.46259.kellers@njit.edu> cc: "DA. Forsyth" cc: Dan Nelson Subject: Re: setting LPT1 to polled mode via acpi 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: Tue, 29 Jun 2004 15:22:14 -0000 On Tuesday 29 June 2004 10:11 am, Dan Nelson wrote: > In the last episode (Jun 29), DA. Forsyth said: > > 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. > > Use the lptcontrol command to switch between polling and interrupt mode. I used a simple shell script to execute lptcontrol -p I haven't had to do this since my June 23rd build world/build kernel, though. I'm running 5.2-CURRENT. Tim