[systemd-devel] GPIO Reset Button

Pawel Pastuszak pawelpastuszak at gmail.com
Fri Nov 2 06:56:53 PDT 2012


Hi all,

I was wondering if there is an way to attach an GPIO line to reboot the
system. I am currently working on an Embedded device that has an GPIO line
which needs to act as an reboot button this GPIO comes up as an
/sys/class/gpio/gpio103/ which i want to have it trigger when it switches
state to low and do an system soft reboot. Does systemd allow any
functionally like this?

Thanks,
Pawel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20121102/399f5c01/attachment.html>


More information about the systemd-devel mailing list