Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: kittysoman2013 on May 31, 2020, 12:30:11 PM

Title: Listen to interrupt (NMI-pin) in Linux?
Post by: kittysoman2013 on May 31, 2020, 12:30:11 PM
Is there a way to get the state of the NMI_N gpio-Pin in Linux(debian)?
I use it to power up the system and would like to add a shutdown script as well.
Thanks for your time.
Title: Re: Listen to interrupt (NMI-pin) in Linux?
Post by: LubOlimex on June 02, 2020, 09:26:28 AM
Not sure if that was added. Last time this question was asked someone said it might be possible only with legacy 3.4 kernel images, not sure if it is true but maybe check the advice from the last time:

https://www.olimex.com/forum/index.php?topic=6184.0