Thread
:
Disable long-press power button
View Single Post
ontime
2017-05-11 , 10:36
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.
Quote & Reply
|
The Following 8 Users Say Thank You to ontime For This Useful Post:
Amboss
,
dcaliste
,
Halftux
,
imaginaryenemy
,
juiceme
,
mrsellout
,
nieldk
,
rasmarc
ontime
View Public Profile
Send a private message to ontime
Find all posts by ontime