Opened 3 years ago

Closed 3 years ago

#11264 closed defect (fixed)

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
Blocked By: #11175 Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

  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 (6)

comment:1 Changed 3 years ago by greenfeld

  • Cc martin.langhoff added

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

comment:2 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 ?

comment:3 Changed 3 years ago by martin.langhoff

  • Blocked By 11175 added

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

comment:4 Changed 3 years ago by dsd

  • Action Needed 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-0.94.0.7.gf01a6c3-1.fc14.olpc and queued for next build

comment:5 Changed 3 years ago by dsd

  • Action Needed changed from add to build to test in build

test in 11.3.0 candidate build 881

comment:6 Changed 3 years ago by greenfeld

  • Action Needed changed from test in build to no action
  • Resolution set to fixed
  • Status changed from new to closed

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.