View Single Post
  #339 (permalink)  
Old 10-26-2010, 06:04 PM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
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.