*BSD News Article 24233


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!not-for-mail
From: mike.long@analog.com (Mike Long)
Newsgroups: comp.os.386bsd.questions
Subject: 0.9 Parallel Printer problems
Date: 19 Nov 1993 17:42:24 -0600
Organization: UTexas Mail-to-News Gateway
Lines: 37
Sender: daemon@cs.utexas.edu
Message-ID: <9311192341.AA17083@cthulhu>
Reply-To: Mike Long <Mike.Long@analog.com>
NNTP-Posting-Host: news.cs.utexas.edu

I tried to get my parallel printer to work with NetBSD 0.9 last night.
I couldn't get it working with either the lpt or the lpa drivers.

I booted DOS and used both MSD and QAPLUS to check out my parallel
port.  Both found it at port 3BCh, IRQ 7.  This matches up with what
is printed in the NetBSD installation notes.  I'm attaching an Epson
RX/80+ printer to a Gateway 2000 DX66V (JX-30 mb).  It a basic 9-pin
dot-matrix parallel printer, and it works fine under DOS (blech).

I started with the default configuration, i.e.

device		lpt0	at isa? port "IO_LPT3" tty irq 7 vector lptintr

and remade my kernel.  When I rebooted the printer's "Ready" light
turns itself off during boot autoconfiguration, and won't turn itself
back on no matter what buttons I push on the printer.  The
autoconfigure code didn't find the printer port; should it have?

I tried to test the printer by issuing "lptest > /dev/lpt0" as root,
and nothing happened.  After that, "status 0" messages appeared
periodically on the console until I rebooted the machine--someone left
some printf calls in lpt.c without #ifdefs around them.

I tried again, using the lpa driver:

device		lpa0	at isa? port "IO_LPT3" tty

remade my kernel, and rebooted.  When I tried "lptest > /dev/lpa0" or
"lptest > /dev/lpa0p" I got "device not configured" errors.

Any suggestions?
-- 
Mike Long                                         Mike.Long@Analog.com
VLSI Design Engineer                              voice: (617)461-4030
Analog Devices, SPD Div.                            FAX: (617)461-3010
Norwood, MA 02062                            *this = !opinion(Analog);