View Single Post
Posts: 19 | Thanked: 34 times | Joined on Sep 2016 @ Poland
#1
The Thing:
when walking or placing the N900 in a pocket of trousers or a jacket somehow it goes down, probably by unknowingly pressing the power button. It happens sometimes, there's no pattern nor probable bug causing this. I can't find any log of power on/off.

Potential solution:
disable the long-press on power button through file in (not sure about this) /sys/devices/platform/gpio-switch/

Advantages:
N900 won't turn off anymore by incidental long-press.

Disadvantages:
When stuck or in need to do a hard restart you will have to remove battery.

Does anyone have an idea how to debug or just disable the button?
 

The Following 2 Users Say Thank You to ynzinier For This Useful Post: