[SOLVED]Wakup via Optical Trackpad

Search This thread

jcramer83

Member
Jun 25, 2010
6
0
EDIT. Simply upload this new qwerty.kl file to /system/usr/keylayout and everything works great! Thanks goes to Zalez for posting the file first!

I haven't seen much talk on this topic recently and I would really like to get this feature running. Does anyone know why this would not be working? I am using a non stock overclocked kernal, maybe this could be a problem? Any help would be appreciated!
 

Attachments

  • qwerty.zip
    688 bytes · Views: 1,013
Last edited:

zalez

Senior Member
Oct 19, 2009
225
63
Try this qwerty.kl file. I was just monkeying around with. Works perfect for me.

unzip and then:

adb push to /system/usr/keylayout/

View attachment qwerty.zip

PS Let me know if the attachment doesn't work, I had issues before.
 
Last edited:

mdimbler

Member
May 1, 2010
14
0
Tried pushing that qwerty.zip file, but it did not change track pad wake behavior.

[EDIT] Used the update.zip file found in a later post and applied it in recovery and it worked like a charm. Many thanks!
 
Last edited:

zerf

Senior Member
Jan 13, 2010
95
0
I installed this and it worked perfect. Download the file and put the qwerty.kl file in your directory that adb is located. Then follow the commands below.

while phone is powered on plug it in and then do

Code:
adb reboot recovery

Once booted in to recovery do

Code:
adb shell
mount -a
(it will give error saying it couldnt mount curtain things. This is OK)

Looks like this
Code:
~ # mount -a
mount -a
mount: mounting /dev/block/mmcblk1 on /sdcard failed: Invalid argument
mount: mounting /dev/block/mmcblk1p2 on /sd-ext failed: No such file or directory

Now run

Code:
df

to make sure that /system is in the list that it outputs.

Should look like this.

Code:
~ # df
df
Filesystem           1K-blocks      Used Available Use% Mounted
tmpfs                   206848         0    206848   0% /dev
/dev/block/mmcblk0p2    198337      7453    190884   4% /cache
/dev/block/mmcblk0p1    765992    153464    612528  20% /data
/dev/block/mtdblock6    152576    122712     29864  80% /datadat
/dev/block/mtdblock3    253952    180320     73632  71% /system

then

Code:
cd /system/usr/keylayout
cp qwerty.kl qwerty.kl.old
(do this so we have a backup incase we need to go back)

now type exit and then run this

Code:
adb push qwerty.kl /system/usr/keylayout
adb reboot

once booted you should be able to power the screen on with your trackpad.

**** I have noticed that if your phone isn't waking by the trackpad try pressing a little harder or holding the button down for a little longer and then it usually works fine****
 
Last edited:

touchpro247

Senior Member
Apr 8, 2009
1,243
310
I made an update.zip for it, try it out and let me know.

Trackball unlock setting works now with CM6... :)

Thanks!
 

Attachments

  • update.zip
    3 KB · Views: 1,008
Last edited:

zerf

Senior Member
Jan 13, 2010
95
0
works for me but i never maid a backup so i hope i wont need it lol :)

yeah I think you will be fine but if you end up needing it back I'm sure someone would post it up for ya :)

The whole making a backup thing comes from my work background of always making a backup just in case before you do anything.
 

fader01

Senior Member
Mar 22, 2010
224
45
Does this effect the menu key unlocking the phone at all? I dont see how it would but it would be a dealbreaker for me.
 

rmoney

Senior Member
Jul 17, 2010
246
4
I assume this requires root? Don't feel like dealing with that only to go back to stock for froyo next month.
 

zalez

Senior Member
Oct 19, 2009
225
63
The only ill-effects I have seen is on the home screen, optical press used to get me a HTC widgets screen. It doesn't now. BUT I did monkey with the incrediblec-key.kl first and don't know if that is what broke that. Also I can confirm you may need a long press sometimes to get it to wake.

Glad everyone is enjoying :)
 

itch808

Senior Member
Apr 29, 2010
522
46
Thanks for the work!

I'm just wondering why sometimes a short click works sometimes whereas other times a longer press is required.