react on power button press
Hi,
I just wrote to the list because of a problem with the network.
The only way left to shutdown the system is pressing the power button.
But this doesn't work either:
Oct 11 13:24:24 NAS kernel: [ 5309.790075] evbug: Event. Dev: input0,
Type: 1, Code: 116, Value: 1
Oct 11 13:24:24 NAS kernel: [ 5309.790090] evbug: Event. Dev: input0,
Type: 0, Code: 0, Value: 0
Oct 11 13:24:24 NAS kernel: [ 5310.060077] evbug: Event. Dev: input0,
Type: 1, Code: 116, Value: 0
Oct 11 13:24:24 NAS kernel: [ 5310.060091] evbug: Event. Dev: input0,
Type: 0, Code: 0, Value: 0
Currently I am using https://github.com/gandro/input-event-daemon
to react on these buttons. This usually works. But I believe it does not
work if nobody is logged in. (which is difficult to achieve with a
headless system where network and serial console fail)
Do you habe any idea how to solve this?
thanks,
Jan
ps. I did not subscribe to the list. Please CC me.
Reply to: