*BSD News Article 29324


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hippo.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Subject: Re: FreeBSD1.1 BETA lpt probe (was Re: yet more FreeBSD-1.1-BETA install bugs)
Message-ID: <Co3z1E.J4t@hippo.ru.ac.za>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Reply-To: csgr@cs.ru.ac.za
Organization: Rhodes University, Grahamstown, South Africa
References: <Cn7vwo.2z0@cosy.sbg.ac.at> <2n71jn$6c3@Germany.EU.net> <JKH.94Mar29161752@sentnl.ilo.dec.com> <2nc8mk$8lf@germany.eu.net> <2o1772$6qe@pdq.coe.montana.edu> <CnxM1o.AnL@hippo.ru.ac.za> <2obaju$1li@Germany.EU.net>
Date: Mon, 11 Apr 1994 18:51:13 GMT
Lines: 31

In <2obaju$1li@Germany.EU.net> bs@Germany.EU.net (Bernard Steiner) writes:


>Hmm. Haven't tried the lpt, just the lpa since lpt was broken on the 386bsd0.0
>(yes, two zeroes). However, the probe in the lpa in stock 1.1BETA is still
>broken.
yes, lpa is still broken, and I will be removing it from the source tree
soon (it will never be fixed).

>|> For those still having problems with the lpt probe, here is the man 
>|> page from FreeBSD-current for lpt(4).  (Please note that lptcontrol(1)
>|> and the associated ioctl will only be available in FreeBSD 1.2)

>Well - I haven't got access to the code right now. Anyway, if the probe()
>checks the control port bits and insists there is no lpt because some bit in
>the control port does not read back... the only bit that reads back reliably
>in my humble experience is the interrupt control bit; all others generate
>different results depending on the I/O card type, printer (and cable) attached
>(or not attachd), and possibly dip switches on the printer.
I think (don't have the code in front of me now) that is the only
bit I probe still.  Apart from that, there is an alternate probe
which makes use of the printers probed by your BIOS.  (I have left both
probes due to the wide variety of hardware configs and broken BIOSes we
all have ;-) ;-)

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
 Rhodes University,  South Africa             |___  _-\_<,        /\/\/\
   email : csgr@cs.ru.ac.za                   |    (*)/'(*)    /\/\/\/\/\
         : geoff@neptune.ru.ac.za             |