Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#1
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's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#2
Originally Posted by Jak Crow View Post
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?
__________________
==In school once again. Free time limited to night, holidays and weekends.==
Hi! I'm Andy, a Maemo Greeter! I'm also a moderator of the Applications, Nokia N900, and Maemo 5/Fremantle forums.
Useful Links: Maemo Wiki Main Page, New users start here, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Also, pin yourself in the map! Maemo Map. Send me a PM (Private Message) if I leave you hanging on a problem (or if you need more help).
Owner of both a N800 and N900; Active community member since Jan 2010. You've been xommified! - My blog.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#3
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's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
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.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Dec 2011
#5
"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?
 
Posts: 142 | Thanked: 120 times | Joined on Jul 2010
#6
How can you edit /sbin/mce ? I don't get it...
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#7
Originally Posted by phap View Post
How can you edit /sbin/mce ? I don't get it...
You need to use a unix potato.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Posts: 142 | Thanked: 120 times | Joined on Jul 2010
#8
Originally Posted by vi_ View Post
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...)

Last edited by phap; 2012-01-10 at 13:20.
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#9
You need to have root access, and you need a text editor. Like nano, vi(m), emacs or something similar...
__________________
maemo.org Bugmaster
 
Mike Fila's Avatar
Posts: 412 | Thanked: 480 times | Joined on Feb 2011 @ Bronx, NY
#10
people have shaved off the little tab on the switch and made a notch instead to be able to still use it
 

The Following User Says Thank You to Mike Fila For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:34.