On Tue, 15 Mar 2005 13:35, Matt Kory wrote:
> Is it possible to use poll or select to detect a change in the status
> bits of the parallel port?  I tried something like this, and took bits
> 5 and 6 of the status register low and nothing seemed to happen.  Is
> what I am trying to do even possible, or I am supposed to take a
> certain bit low to cause a read event?  Any help is appreciated.

PPI doesn't support select/poll.

I don't think ere is any support for interrupt based notifications.. The only 
thing interrupts appear to be used for is for IEE1284 state changes.

ie you're stuck with polling :(

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpd8dWRD2quR.pgp
Description: PGP signature

Reply via email to