[beagleboard] RE: how can we tell system to shutdown on a power fail, using systemd and apcid

2018-02-26 Thread evilwulfie
seems they omitted the "AC" interrupt in the patch https://patchwork.kernel.org/patch/9782813/ therefore the system will not power down on power fail like it used to -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] RE: how can we tell system to shutdown on a power fail, using systemd and apcid

2018-02-25 Thread evilwulfie
uname -r 4.4.12-ti-r31 ls /sys/firmware/devicetree/base/ocp/i2c@44e0b000/tps@24/ compatible interrupt-parent interrupts linux,phandle name phandle reg regulators ti,pmic-shutdown-controller uname -r 4.14.20-ti-r36 ls /sys/firmware/devicetree/base/ocp/i2c@44e0b000/tps@24/ charger

[beagleboard] RE: how can we tell system to shutdown on a power fail, using systemd and apcid

2018-02-25 Thread evilwulfie
I think i see something interesting they did some changes to the dt for the pmic https://patchwork.kernel.org/patch/9771235/ some of the comments deal with interrupts seems the one that is missing or not handled is "AC" or something needs to be written to handle "AC" now I read something about