PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2010, 05:29 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

I added this to the froyo user.conf file and everything works but the keyboard? Ideas why that would be?

Code:
NAND_Settings{
     #BACKLIGHT
     echo 50 >/sys/class/leds/lcd-backlight/brightness
     #LCD_Density
     echo "ro.sf.lcd_density=240" >> /etc/default.prop    #210 or 240
     echo Setting ro.sf.lcd_density=240                    #210 or 240
     #Keyboard Layout
     cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl
     cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
 }
__________________
Reply With Quote
  #2 (permalink)  
Old 10-26-2010, 06:04 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by Lmiller1708 View Post
I added this to the froyo user.conf file and everything works but the keyboard? Ideas why that would be?

Code:
NAND_Settings{
     #BACKLIGHT
     echo 50 >/sys/class/leds/lcd-backlight/brightness
     #LCD_Density
     echo "ro.sf.lcd_density=240" >> /etc/default.prop    #210 or 240
     echo Setting ro.sf.lcd_density=240                    #210 or 240
     #Keyboard Layout
     cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl
     cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin
 }
In theory you are correct but since this script exectues right before the kb section on the init, then it gets ignored. So best bet is to mod the cmdline on the fly.

echo 'physkeyboard=rhod400 ' `cat /proc/cmdline` > /tmp/cmdline
mount --bind /tmp/cmdline /proc/cmdline


Give that a try. .. Its ugly, but it will do for now.
__________________
Reply With Quote
This post has been thanked 3 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:23 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com