Re: poll or select for ppi?

2005-03-15 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Matt Kory [EMAIL PROTECTED] writes: : 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 :

poll or select for ppi?

2005-03-14 Thread Matt Kory
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

Re: poll or select for ppi?

2005-03-14 Thread Daniel O'Connor
, 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

Re: poll or select for ppi?

2005-03-14 Thread Bruce M Simpson
On Mon, Mar 14, 2005 at 10:05:34PM -0500, 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