Dave Hyland wrote a great program to monitor GPIOs. It can launch a program with the pin # and edge.
More info on the wiki here.
To add a pin use something like this:
gpio-event 58:f:20
to remove the pin do:
gpio-event -- -58:f
| Your Rating: Rate this post. | Overall Rating: (0 votes) |