[PARPORT] Two or more interrupt-driven devices?

Lijun Zhu (lzhu@Bayou.UH.EDU)
Thu, 11 Mar 1999 21:55:35 -0600 (CST)

Recently I succesfully designed a program that could use parport ( connect
a pushbutton to Pin 10) as a method to generate an interrupt to wake up some
process. But, now I need more pushbuttons to wake up different processes,
while there is only one pin of parport I can connect. How to deal with
other buttons? The way I think can be
1) Using bi-direction method, I can read info about which button is
pressed by reading from the data port after the interrupt is generated(of
course I have to connect each button both to pin 10 and one data port).
2) Use other input pins.
Are they feasible? Any new ideas or suggestions?

Thanks a lot!

Lijun Zhu
Department of Physics
University of Houston
Houston, TX77204
E-mail: lzhu@bayou.uh.edu

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --

This archive was generated by hypermail 2.0b3 on Thu 11 Mar 1999 - 22:57:01 EST