maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Disable the lock switch? (https://talk.maemo.org/showthread.php?t=57042)

Jak Crow 2010-06-24 21:23

Disable the lock switch?
 
Has anyone developed anything to prevent the slider switch from waking and unlocking the screen? It's ridiculous to have the option to lock and turn off the screen only to have the switch basically get around it. It's also a pain in the *** when the phone is in a case that can nudge the switch while the phone is in it.

xomm 2010-06-24 21:51

Re: Disable the lock switch?
 
Quote:

Originally Posted by Jak Crow (Post 728141)
Has anyone developed anything to prevent the slider switch from waking and unlocking the screen? It's ridiculous to have the option to lock and turn off the screen only to have the switch basically get around it. It's also a pain in the *** when the phone is in a case that can nudge the switch while the phone is in it.

I'm sure there's a way to disable it in a configuration file somewhere, but I've only been able to do it by forcefully swiping my finger past it. Doesn't seem to be very accident prone. Have you tried storing your phone right-side up so it doesn't brush the switch the wrong way?

Creamy Goodness 2010-06-24 22:00

Re: Disable the lock switch?
 
I think you should enable the lock code, then at least it won't fully unlock without enering a code as well.
system > settings > enable autolock
current code should be 12345

DONT LOOSE IT OR YOU WILL HAVE TO REFLASH


I checked mce.ini and it's only got the "power button" and "home button". I don't think it's the home button, but maybe it is? I wouldn't screw with that though!

qwerty12 2010-06-24 22:29

Re: Disable the lock switch?
 
Run "stop mce", and change "/sys/devices/platform/gpio-switch/kb_lock/state" in /sbin/mce to "/sys/devices/platform/gpio-switcx/kb_lock/state". Remember to "start mce" afterwards.

Yes, this is Maemo, where thanks to Nokia keeping MCE et al. closed, you are forced to resort to such stupid hacks.

Adam71 2011-12-26 12:13

Re: Disable the lock switch?
 
"and change "/sys/devices/platform/gpio-switch/kb_lock/state" in /sbin/mce to "/sys/devices/platform/gpio-switcx/kb_lock/state"."

Can someone explain how to do it, please?

phap 2012-01-10 12:54

Re: Disable the lock switch?
 
How can you edit /sbin/mce ? I don't get it...

vi_ 2012-01-10 12:58

Re: Disable the lock switch?
 
Quote:

Originally Posted by phap (Post 1148323)
How can you edit /sbin/mce ? I don't get it...

You need to use a unix potato.

phap 2012-01-10 13:18

Re: Disable the lock switch?
 
Quote:

Originally Posted by vi_ (Post 1148325)
You need to use a unix potato.

Could you be more specific? What is a unix potato? Or did you mean "You need to use a unix, potato" (where the potato in this case is me...)

Andre Klapper 2012-01-10 14:02

Re: Disable the lock switch?
 
You need to have root access, and you need a text editor. Like nano, vi(m), emacs or something similar...

Mike Fila 2012-01-10 14:13

Re: Disable the lock switch?
 
people have shaved off the little tab on the switch and made a notch instead to be able to still use it


All times are GMT. The time now is 23:11.

vBulletin® Version 3.8.8