View Single Post
Posts: 29 | Thanked: 88 times | Joined on Oct 2015
#12
For monitoring PwrButton
$ evkey -d -t -1 /dev/input/event0
or there is a counter
$ cat /proc/interrupts
376: 8 twl4030 PwrButton
here says 8, but there was 4 pushed the pwrbutton

For "disable" it: in /etc/mce/mce.ini you can change PowerKeyLongDelay=1500 value to some big number.
 

The Following 8 Users Say Thank You to ontime For This Useful Post: