Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 14:00:29 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org, Matt Kory <uber.caulker@gmail.com>
Subject:   Re: poll or select for ppi?
Message-ID:  <200503151400.36841.doconnor@gsoft.com.au>
In-Reply-To: <5e52cc0005031419056fdf10c6@mail.gmail.com>
References:  <5e52cc0005031419056fdf10c6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3584423.E7INMt5laK
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 on=
ly=20
thing interrupts appear to be used for is for IEE1284 state changes.

ie you're stuck with polling :(

=2D-=20
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

--nextPart3584423.E7INMt5laK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBCNlbc5ZPcIHs/zowRAtRHAKCB5noPXuob0Kry5bg9Tc0t4sGP0ACeNEef
qWPh+YYACD05yYst0VW577M=
=COIr
-----END PGP SIGNATURE-----

--nextPart3584423.E7INMt5laK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503151400.36841.doconnor>