Disable long-press power button
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? |
Re: Disable long-press power button
How do you know it was the power button press and not, for example, a dodgy battery?
The simplest solution is a hardware mod: glue a small ring (for example, a washer) to the case around the power button. You will still be able to press it with a tool but not by accident. |
Re: Disable long-press power button
Quote:
|
Re: Disable long-press power button
Quote:
|
Re: Disable long-press power button
Checked in another pocket and there was no such accident.
Back to the question: how to disable this functionality with some software edit? |
Re: Disable long-press power button
Quote:
|
Re: Disable long-press power button
...all of which brings us back neatly to the weak battery contacts.
|
Re: Disable long-press power button
Quote:
Quote:
|
Re: Disable long-press power button
I seriously doubt that this should not be configurable somehow.
Linux is in basics just configs in file system . Even hardware. Just, no one have been told where it's hidden. |
Re: Disable long-press power button
Quote:
|
All times are GMT. The time now is 17:44. |
vBulletin® Version 3.8.8