*BSD News Article 42717


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!noc.near.net!ray.com!news.ray.com!rayssd!galaxia!dave
From: dave@galaxia.network23.com (David H. Brierley)
Subject: Problems with parallel port on FreeBSD-950210-SNAP
Organization: Galaxia Computer Systems
Message-ID: <D49MA6.vJ@galaxia.network23.com>
Date: Sun, 19 Feb 1995 20:58:53 GMT
Lines: 30

A while back I upgraded my system to the 950112 snap and this weekend I upgraded
again to the 950210 snap.  Ever since the upgrade to 950112 I have not been able
to get the printer on the parallel port to work.  The parallel port is on a
DIO-500 multi-io card and the port is configured for IRQ 7, io port 378-37a. The
configuration line from my kernel file is as follows:

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

When the system boots, I get the following messages:

Feb 19 15:02:37 galaxia /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Feb 19 15:02:37 galaxia /kernel: lpt0: Interrupt-driven port

Last but not least, the entry from /dev is:

crw-------  1 root  wheel   16,   0 Feb  9 20:52 /dev/lpt0

The symptom I am seeing is that I canot open the device.  If I kill off lpd and
just try "cat file >/dev/lpt0" I get a message that says "device busy".  Am I
missing something obvious here or did I perhaps have a hardware failure which
was coincidental with the OS upgrade?  I did not change any of the hardware when
I installed the 950112-SNAP and the printer was working previously, so I don't
think there are any IRQ or io port conflicts.  I have a second DIO-500 board
available that I can swap into the machine but I didn't want to mess with the
hardware until I at least had some clue of what was happening.

Thanks in advance for any help you might be able to offer,
-- 
David H. Brierley                            Work: dhb@ssd.ray.com
3B1 Hacker Extraordinaire                    Home: dave@galaxia.network23.com