Reply
Thread Tools
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#11
Cheers Mike
I never thought of that. My switch has worn flat, to the point I have to use the power button. This maybe a good solution to repair.
 
Mike Fila's Avatar
Posts: 412 | Thanked: 480 times | Joined on Feb 2011 @ Bronx, NY
#12
if that doesnt work for you you could try using an abs plastic like lego cut it into little shavings with a razor, then mix it with acetone. Make a thick paste out of it and put a couple of drops to make a finger hold.

http://hackaday.com/2011/12/16/welding-and-casting-abs/
 

The Following 2 Users Say Thank You to Mike Fila For This Useful Post:
Posts: 142 | Thanked: 120 times | Joined on Jul 2010
#13
Originally Posted by Andre Klapper View Post
You need to have root access, and you need a text editor. Like nano, vi(m), emacs or something similar...
It worked with emacs thanks. I won't use this but I was curious just to make it work.
 
Banned | Posts: 34 | Thanked: 3 times | Joined on Jul 2011
#14
Try my soft lock screen method

The tklock the attached *. / usr/desktop kao to share/applications/hildon /

lock.zip

Again the *. / usr/copy PNG to share/ICONS/hicolor / 48 x48 / hildon /

试试我的软锁屏方法
把tklock 附件中的 *.desktop 拷到 /usr/share/applications/hildon/

再把*.PNG 拷贝到 /usr/share/icons/hicolor/48x48/hildon/


http://talk.maemo.org/attachment.php...1&d=1326360339
 
Posts: 2 | Thanked: 1 time | Joined on May 2010
#15
My keyboard lock switch developed a fault which caused the screen to randomly turn on and off, sometimes in quick succession, making the phone almost unusable. This disables the lock switch until the next reboot:

Open a terminal
Gain root access (sudo/su/whatever)
echo 1 > /sys/devices/platform/gpio-switch/kb_lock/disable

I'd be interested to know of a way to do this every time the phone boots up. Tried a script in /etc/init.d and ran update-rc.d to activate it in rc2.d but no joy...
 

The Following User Says Thank You to chrisgreen For This Useful Post:
Posts: 167 | Thanked: 204 times | Joined on Jul 2010
#16
Originally Posted by chrisgreen View Post
My keyboard lock switch developed a fault which caused the screen to randomly turn on and off, sometimes in quick succession, making the phone almost unusable. This disables the lock switch until the next reboot:

Open a terminal
Gain root access (sudo/su/whatever)
echo 1 > /sys/devices/platform/gpio-switch/kb_lock/disable

I'd be interested to know of a way to do this every time the phone boots up. Tried a script in /etc/init.d and ran update-rc.d to activate it in rc2.d but no joy...
Try doing this from event.d once hildon-desktop is loaded, so create a file such as:

/etc/event.d/disablelockscreen:

start on started hildon-desktop

console output
script
echo 1 > /sys/devices/platform/gpio-switch/kb_lock/disable
end script
 

The Following 2 Users Say Thank You to magick777 For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#17
@chrisgreen,

Just put your script on /etc/event.d with:

start on started hildon-desktop
script
...
end script

That's at least how I do my swap-on-sd, mount-extra-partition, tune-kernel-parameters, etc (all in a single script, for easy maintainability..)

Add.: @magic777, that was quick
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:07.