Bug 45188

Summary: xkb-data: New version breaks custom bepo keymap
Product: xorg Reporter: Daniel Dehennin <freedesktop>
Component: App/xkbcompAssignee: Daniel Stone <daniel>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: kibi
Version: 7.6 (2010.12)Keywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: 2012BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
.config/xkb/keymap/dad_tm
none
.config/xkb/symbols/jpmods none

Description Daniel Dehennin 2012-01-24 09:55:33 UTC
Created attachment 56096 [details]
.config/xkb/keymap/dad_tm

Here is my bug report submitted to debian:

I use a custom keymap with my typematrix keyboard, the keyboard is
switched to a pc106 (japan) layout[1].

After the upgrade from 2.3-2, my custom bepo keymap does not work
anymore, here is my error message:

<pre>
dad@home:~$ xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/keymap/dad_tm $DISPLAY
Warning:          Multiple default components in keypad
[...]
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  144 (XKEYBOARD)
  Minor opcode of failed request:  9 (XkbSetMap)
  Value in failed request:  0x163f0005
  Serial number of failed request:  111
  Current serial number in output stream:  117
</pre>

I switched back to testing 2.3-2 version and it works fine.

Regards.

[1] http://bugs.debian.org/657121
Comment 1 Daniel Dehennin 2012-01-24 09:56:26 UTC
Created attachment 56097 [details]
.config/xkb/symbols/jpmods

My modification for the japan layout typematrix
Comment 2 Sergey V. Udaltsov 2012-01-28 15:17:05 UTC
I just checked - it works ok compiling to xkb file:

cat dad_tm | xkbcomp - -xkb out.xkb

Does it work for you?

Moreover, it does work if afterwards you do

xkbcomp out.xkb :0

So, it is something with X server.
Comment 3 Daniel Dehennin 2012-01-29 03:31:08 UTC
(In reply to comment #2)
> I just checked - it works ok compiling to xkb file:
> 
> cat dad_tm | xkbcomp - -xkb out.xkb

Providing the -I option to xkbcomp like the following works:

cat ${HOME}/.config/xkb | xkbcomp -I${HOME}/.config/xkb - -xkb out.xkb

> 
> Does it work for you?
> 
> Moreover, it does work if afterwards you do
> 
> xkbcomp out.xkb :0

This works too.
Comment 4 Daniel Dehennin 2015-11-20 11:03:25 UTC
Hello,

It is working with version 7.7.

Regards.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.