*BSD News Article 9970


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6898 ; Fri, 15 Jan 93 10:38:37 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!uunet!pipex!pavo.csi.cam.ac.uk!camcus!pc123
From: pc123@cus.cam.ac.uk (Pete Chown)
Subject: Re: The lpt device driver
In-Reply-To: lynn@fusion.physics.auburn.edu's message of Fri, 15 Jan 1993 18:35:13 GMT
Message-ID: <PC123.93Jan16170507@apus.cus.cam.ac.uk>
Sender: news@infodev.cam.ac.uk (USENET news)
Nntp-Posting-Host: apus.cus.cam.ac.uk
Organization: U of Cambridge, England
References: <lynn.930115123513@fusion.physics.auburn.edu>
Date: Sat, 16 Jan 1993 17:05:10 GMT
Lines: 21

In article <lynn.930115123513@fusion.physics.auburn.edu> lynn@fusion.physics.auburn.edu (Owen Lynn) writes:

   I have one quick question about installing the /dev/lp.
   Does one need the source code in order to reconfigure the
   kernel to create the /dev/lp?

Not only do you need the source, but you will need to do a lot of
hacking on it, if your chipset is anything like mine.  I found that I
got about one character every couple of seconds, because my I/O card
wasn't generating the interrupts the driver was expecting.  So I
hacked the driver to just spin for a while sending characters when it
could.  Then it descheduled itself with a low wakeup priority to let
other things get a chance.

Has anyone else had this problem, and if so do you have anything
better to suggest?  (BTW, I did check that the IRQ number was right!)

--
---------------------------------------------+ "A tight hat can be stretched.
Pete Chown, pc123@phx.cam.ac.uk (Internet)   |  First damp the head with steam
            pc123@uk.ac.cam.phx (Janet :-)  -+  from a boiling kettle."