#4119 HIGH V1.1: Linux console should pick up information from OFW and choose the correct console mapping.

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 22 15:12:47 EDT 2007


#4119: Linux console should pick up information from OFW and choose the correct
console mapping.
--------------------------+-------------------------------------------------
  Reporter:  jg           |       Owner:  bernie
      Type:  enhancement  |      Status:  new   
  Priority:  high         |   Milestone:  V1.1  
 Component:  distro       |     Version:        
Resolution:               |    Keywords:        
  Verified:  0            |  
--------------------------+-------------------------------------------------

Comment(by wmb at firmworks.com):

 This addition to /etc/rc.d/rc.sysinit might do the trick.

 {{{
 if [ -x /bin/loadkeys ]; then
  KEYTABLE=
  KEYMAP=
 + if [ -f /ofw/mfg-data/KL -a -d "/lib/kbd/keymaps" ]; then
 +  KEYTABLE=`cut -d , -f 1 /ofw/mfg-data/KL`
 +  KEYMAP="$KEYTABLE.map"
 + fi
  if [ -f /etc/sysconfig/console/default.kmap ]; then
 }}}

-- 
Ticket URL: <https://dev.laptop.org/ticket/4119#comment:3>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list