Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!sgiblab!darwin.sura.net!europa.asd.contel.com!uunet!mcsun!Germany.EU.net!Germany.EU.net!bs From: bs@Germany.EU.net (Bernard Steiner) Newsgroups: comp.unix.bsd Subject: Re: 386BSD 0.1 lpt.c - anyone got it to work? Date: 3 Aug 1992 08:48:03 GMT Organization: EUnet Backbone, Dortmund, Germany Lines: 31 Distribution: world Message-ID: <15irs3INNio2@disaster.Germany.EU.net> References: <1992Jul31.114916.22038@bradford.ac.uk> <TMH.92Jul31232556@doppel.first.gmd.de> NNTP-Posting-Host: walhalla.germany.eu.net In article <TMH.92Jul31232556@doppel.first.gmd.de>, tmh@doppel.first.gmd.de (Thomas Hoberg) writes: > BTW I find that the parallel interface is currently only detected on > boot, if the printer is switched on and ready. Nope... I have an FX-85 connected. The port is not found if the printer is connected and switched off; it is found if the printer is switched on *or* disconnected. There's a couple of other problems with the driver. I don't seem to be able to print with it *at all* due to some problems with the lptintr() routine. Note that the code is a little buggy, as well: The flag for no check on open() is checked *after* the error flag is checked. However, that seems to get set by lptintr() at boot time sometimes. Also, the prime-on-open() stuff is buggy. The flag, which happens to be a char, gets ++'ed instead of set to (char)1. This may cause problems after 256 opens... Good stuff I did'nt delete my old lp driver ;-) -Bernard -- Bernard Steiner, FB Informatik/IRB, Uni Dortmund, vox +49 231 755 2444 Postfach 500500, D-W-4600 Dortmund 50, Germany fax +49 231 755 2386 bs@Germany.EU.net ...!uunet!unido!bs *III And they gave it Instructions, but knew it not. } From The Book of Nome, *IV It is, they said, a Box with a Funny Voice. } Mezzanine v.III-IV