[Bug 1223] Keyboard layout detection problem

Wine Bugs wine-bugs at winehq.com
Fri Jun 20 06:44:47 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1223





------- Additional Comments From z_god at wanadoo.nl  2003-20-06 06:44 -------
Bug comment restored from Gmane.org: 
 
I've a problem with the keyboard layout detection. 
 
  fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not 
        found! Using closest match instead (Belgian keyboard layout) for 
        scancode mapping. 
 
I looked in dlls/x11drv/keyboard.c and found that the "Belgian French" layout was 
exactly 
what should be used. 
My (105 keys) belgian keyboard has the pecularity that the "µ£`" is locate ON THE 
RIGHT of 
the RightShift key. 
 
Here's what my keyboard layout looks like : 
 
³  1   2   3   4  5  6  7  8  9   0   °  _  Back- 
²  &|  é@  "#  '  (  §^ è  !  ç{  à}  )  -  space 
 
Tab A  Z  E   R  T  Y  U  I  O  P "   * 
           ¤                      ^[  $] 
                                            Enter 
Caps Q  S  D  F  G  H  J  K  L  M  % 
Lock                               ù' 
 
Sh-  >  W  X  C  V  B  N  ?  .  /  +   Sh-  £ 
ift  <\                   ,  ;  :  =~  ift  µ` 
 
Ctrl win1 alt     spacebar   AltGr win1 win2  Ctrl 
 
 
If I try to launch notepad, the "exponents" key is treated as the "1" key. 
If I do "wine -debugmsg +key,+keyboard /win/windows/notepad.exe", I get the following 
messages (stripping the trace:key(board) prefix) : 
 
X11DRV_InitKeyboard NumLockMask is 10 
X11DRV_KEYBOARD_DetectLayout Attempting to match against "United States 
keyboard layout" 
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff1b 
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff1b 
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 10, character & (26, 31, 
7c, ffffffa1) 
[similar message for é " ' ( § è ! ç à ) ] 
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff08 
[similar for 0x0000ff08, 0x0000ff09, 0x0000fe20) 
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 34, character ^ (5e, ffffffa8, 
5b, 30) 
X11DRV_KEYBOARD_DetectLayout mismatch for keycode 35, character $ (24, 2a, 
5d, 2d) 
KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ff0d 
[similar for 0x0000ff0d, 0x0000ffe3, 0x0000ffe3] 
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 48, character ù 
(fffffff9, 25, ffffffb4, 
ffffffb7) 
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 49, character ² 
(ffffffb2, ffffffb3, 
ffffffac, ffffffac) 
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 
0x0000ffe1 
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 
0x0000ffe1 
<...> 
 
You can find the whole listing at http://users.belgacom.net/key.log.bz2 if needed. 
I use wine 20021219 on Linux i386, with fr_BE at euro locale. 
 
 
------- Additional Comments From tim.ruehsen <at> openmediasystem.de 2003-04-07 
05:55 ------- 
I have (almost) the same problem with a german pc 105 keyboard layout. Starting nay  
app results in  
  
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not  
found!  
Using closest match instead (German keyboard layout without dead keys) for  
scancode mapping.  
  
If it matters: I have XFree 4.3.0, qt 3.1.2, kde 3.1.1, kernel 2.4.20. Maybe it is a XFree  
4.3.0 issue? Older Wine together with Xfree 4.2.x worked fine. But I can not downgrade  
to find out, which of it causes the issue.  
  
Here is the InputDevice section from XF86Config:  
Section "InputDevice"  
  Driver       "Keyboard"  
  Identifier   "Keyboard[0]"  
  Option       "MapName" "Standard Keyboard [ pc105 ]"  
  Option       "Protocol" "Standard"  
  Option       "XkbLayout" "de"  
  Option       "XkbModel" "pc105"  
  Option       "XkbRules" "xfree86"  
  Option       "XkbVariant" "nodeadkeys"  
EndSection  
  
If someone needs more info, please contact me via email. 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list