XKB: Couldn't load XKB keymap (fr_CH)

Xavier Robin Xavier.Robin@medecine.unige.ch
Fri May 30 07:57:00 GMT 2008


Hello !

I updated my Cygwin/X server yesterday. I have now the version 
6.8.99.901-4. I don't remember what was the previous version.
Since then, XKB doesn't work anymore. At xwin start, I can see this:

> XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
> (--) Setting autorepeat to delay=500, rate=31
> (--) winConfigKeyboard - Layout: "0000100C" (0000100c) 
> (--) Using preset keyboard for "French (Switzerland)" (100c), type "4"
> Rules = "xorg" Model = "pc105" Layout = "fr_CH" Variant = "(null)" Options = "(null)"
> (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
> (--) 3 mouse buttons found

And I get an us keyboard, which is pretty annoying.


So I tried to follow what is in the FAQ:

> $ setxkbmap de -model pc105
> Couldn't interpret _XKB_RULES_NAMES property
> Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
> Segmentation fault (core dumped)

I get the same output if I replace de by fr_CH, fr or us...

> $ mount -b "$(cygpath -m /tmp)" /tmp
> mount: /tmp: Device or resource busy

> $ mount -b -u "$(cygpath -m /tmp)" /tmp
> mount: warning: user mount point of '/tmp' masks system mount.

> $ xkbcomp -w 3 -xkm -m de /etc/X11/xkb/keymap/xfree86 localhost:0.0
> Error:            Can't find file "xfree86" for keycodes include
>                   Exiting
>                   Abandoning keycodes file "de"

Again, same thing when replacing de by fr_CH, fr or us...

It looks like the file /etc/X11/xkb/keymap/xfree86 cannot be found. 
However, it exists:

> $ ls -l /etc/X11/xkb/keymap/xfree86 
> -rwxr--r--+ 1 ROBINX Utilisateurs 12788 Oct 27  2005 /etc/X11/xkb/keymap/xfree86
(It was -rwx------+ and I tried to chmod it so I'm sure it is ok).

I copied /etc/X11/xkb into /usr/X11R6 without more success.

I also looked at 
http://sourceware.org/ml/cygwin-xfree/2008-03/msg00011.html but fr_CH 
exists in /etc/X11/xkb/symbols/pc:

> $ ls /etc/X11/xkb/symbols/pc/fr_CH
> /etc/X11/xkb/symbols/pc/fr_CH

What should I do to have a working fr_CH keyboard?


Thanks for your answers,
Xavier

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list