Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 09:11:34 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "DA. Forsyth" <spamRemoveFree@iwr.ru.ac.ZA>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting LPT1 to polled mode via acpi
Message-ID:  <20040629141133.GB81324@dan.emsphone.com>
In-Reply-To: <230701088494370-8322179b0a16f@IWR50.412.spamsucks.net>
References:  <230701088494370-8322179b0a16f@IWR50.412.spamsucks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Parallel port bus> 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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040629141133.GB81324>