Ticket #11264 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Spanish HS KB layout definition may be incorrect

Reported by: greenfeld Owned by: pgf
Priority: normal Milestone: 11.3.0
Component: keyboards Version: Development build as of this date
Keywords: Cc: martin.langhoff
Action Needed: no action Verified: no
Deployments affected: Blocked By: #11175


  1. Set an English HS XO-1.5 to have the KM/KL/KV/LO values for a Spanish HS XO-1.5 (SKU 116 at http://wiki.laptop.org/go/Manufacturing_data ), or obtain a Spanish HS KB XO-1.5 if you can.
  2. Install 11.3.0 os5.
  3. The following keys will show improper values as compared to http://wiki.laptop.org/go/OLPC_Spanish_Non-membrane_Keyboard:

  • The key below ESC and next to 1 (has values as if a membrane ES keyboard).
  • The key between "Grab" and Alt in the bottom row.
  • The two keys between AltGr and the left arrow.
  • The key at the edge of the keyboard below borrar/backspace and above enter.

In 10.1.3, these keys are properly mapped in X Windows, but not at the Linux console (to the extent that such characters can be tested because they translate to low-ASCII). In 11.3.0 os5 these keys are not properly mapped in X Windows or the Linux console, and may fail back to the same improper values in both.

Change History

Changed 3 years ago by greenfeld

  • cc martin.langhoff added

xkeyboard-config-1.9-11.fc14.olpc is in 11.3.0 os880.

Changed 3 years ago by martin.langhoff

OK - so it really looks like Sugar or something during Sugar initialization is overriding what olpc-utils scripts do.

  • rolling back the changes in symbols/es does not improve the situation
  • olpc-configure is reading mfg data correctly, and setting /etc/sysconfig/keyboard as expected
  • olpc-session makes the right call to setxkbmap
  • However Sugar starts and has the wrong xkbmap loaded...
  • in Sugar Term, re-issuing the setxkbmap command fixes things
  • using gnome, the problem never appears

Could this be a side-effect of the sugar-session misbehaviour discussed @ #11175 ?

Changed 3 years ago by martin.langhoff

  • blockedby 11175 added

In fact, disabling setup_keyboard_cb in sugar-session fixes the issue.

Changed 3 years ago by dsd

  • next_action changed from diagnose to add to build

Thanks for the diagnosis - must be the same issue then. The #11175 fix basically makes setup_keyboard_cb do nothing. Fix is committed upstream and included in sugar- and queued for next build

Changed 3 years ago by dsd

  • next_action changed from add to build to test in build

test in 11.3.0 candidate build 881

Changed 3 years ago by greenfeld

  • status changed from new to closed
  • next_action changed from test in build to no action
  • resolution set to fixed

Tested in 11.3.0 os883 with an English HS KB told to act like a Spanish HS KB system, and the layout matches the Spanish Non-Membrane layout shown on the OLPC wiki.

Note: See TracTickets for help on using tickets.