User:Skierpage/Redhat-XO OLPC keyboard


Jump to: navigation, search


Why the hell doesn't Rawhide-XO know I have an olpc keyboard?

Using 20090313.iso image and Sugar on a Stick Soas2-200903121944.iso...

I boot and X11 thinks my keyboard is pc-105+inet.

Bug seems to have morphed into arguments about what kind of keymap to have. But the system doesn't know I have an OLPC keyboard, I have to

 setxkbmap -model olpc

to get Alt Gr to work.

"HAL" should magically set this up. lshal | less and look at the input section.


  • I have /usr/share/X11/xkb/*/olpc files and /usr/share/hal has olpc keyboard table information.
  • lshal | grep system.hardware shows it knows I have an OLPC C2
  • /usr/share/hal/fdi/information/10freedesktop/30-keymap-olpc.fdi has the info about keyboard detection.
  • looking at the matches in it, they should all be matched.

Yet none of the quirks appear to match.

/etc/X11/xorg.conf Section "InputDevice" sets keyboard to

 Identifier "Keyboard0"
 Driver     "kbd"
 Option     "XkbModel"   "pc105"
 Option     "XkbLayout"  "us"  
 Option     "XkbVariant" "intl"

Something sets /etc/sysconfig/keyboard to


acentos seems to be a Red Hat invention for an accented keyboard.

I think it started as


HAL fdi has an "info.callouts.add" command to run 'fedora-setup-keyboard', which seems to push some keyboard info into HAL source.

That in turn reads a keyboard database from /usr/lib/python2.6/site-packates/rhpl/ , with no OLPC in it, and finds the matching /ec/sysconfig/keyboard line.


Trying to fix

I tried moving /etc/sysconfig/keyboard out of the way and then per :

# /bin/service haldaemon restart

that resulted in me getting

 input.xkb.model = 'evdev' instead of 'pc105+inet'

and setxkbmap -v reported

geometry: pc(pc104)

so Hal still didn't pick up the quirks.

To try

How do I just force HAL to use my C2 OLPC definitions?

See also - Any Rawhide should auto-detect you have an OLPC keyboard.> and - contents of OLPC keymap , e.g. the Frame key and brightness vs. function keys. - OLPC keyboard variants should appear in system-config-keyboard and the Gnome desktop manager "first boot" keyboard selector. Only the latter has a few Afghanistan OLPC keyboard layouts, none of them has "U.S. English (olpc)". I don't know if the "first boot" GDM keyboard selector should be a different bug.

Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
OLPC wiki
In other languages