Subject: interrupting parallel port lossage
To: None <port-i386@NetBSD.ORG>
From: Ken Hornstein <email@example.com>
Date: 03/21/1995 23:29:42
I had gotten in a new printer recently, and I discovered that when printing
medium-to-large files that it dropped/munged characters, causing printer
errors. I remembered a number of people reported this problem, but as far
as I can remember, no one proposed a fix.
Well, on a lark, I added an inb(0x84) to lptintr() between the point where
it asserts and de-asserts the strobe line, and now it works perfectly.
If you are running into the same problem, you might want try this as well.
Is this the "right" fix? I don't have good documentation on the parallel port,
so I don't know if this makes sense (the one documentation I do have put a
small spin loop between the assert and de-assert of the strobe line, so I
figured that maybe a delay in there was a good idea).