Re: userspace app needing signal on parport input change

From: Bodo Eggert
Date: Sat Feb 26 2005 - 21:57:24 EST


Melkor Ainur <melkorainur@xxxxxxxxx> wrote:

> Is there a way for a user space app to get a signal or
> maybe woken up from select/read when there is a change
> on a particular input pin on the parallel port?

The easiest hack I can think of is: Change the db9-driver to be freely
configurable and make yourself a zero-axis 13-button "joystick".

http://www.infonewsindia.com/pinout/ibmlpt.txt might help for the pin
assignment. I guess you don't need it, but maybe some other vicolunteer does.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/