Non US-Keyboard problem

Rado Rethmann cygwinx@centermail.net
Mon Apr 26 14:47:00 GMT 2004


Hi,

I've installed the latest XFREE86 (4.3.0-2) and xorg-Base (6.7.0.0) on my 
XP-machine.
I customized the XWin line in startxwin.bat to:

run XWin -multiwindow -clipboard -xkbrules xfree86 -xkbmodel logicordless 
-xkblayout "de,us" -xkboptions "grp:alt_shift_toggle"

When I run XWin, I do not get the german keyboard, no ÌöÀ (ue/oe/ae), what 
I will get is \374\366\344 instead.
When shifting to the US-layout I get the correct [;' chars.
In neither layout I can use the cursor keys, they end up in 2D2C2A2B 
(left/right/up/down).
Same result with different keyboard types (pc104 etc).
When I run xev, every key is identified correctly (that is what I see), 
for a-umlaut:

KeyPress event, serial 21, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 24877390, (58,-6), root:(749,37),
     state 0x10, keycode 48 (keysym 0xe4, adiaeresis), same_screen YES,
     XLookupString gives 1 bytes: (e4) "À"
     XmbLookupString gives 1 bytes: (e4) "À"
     XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 24877500, (58,-6), root:(749,37),
     state 0x10, keycode 48 (keysym 0xe4, adiaeresis), same_screen YES,
     XLookupString gives 1 bytes: (e4) "À"

One strange thing is when I press a cursor key (down here):

KeyPress event, serial 24, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 25044265, (143,-210), root:(301,23),
     state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 24, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 25044281, (143,-210), root:(301,23),
     state 0x11, keycode 104 (keysym 0xff54, Down), same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 25044390, (143,-210), root:(301,23),
     state 0x11, keycode 104 (keysym 0xff54, Down), same_screen YES,
     XLookupString gives 0 bytes:

KeyRelease event, serial 24, synthetic NO, window 0xa00001,
     root 0x3a, subw 0x0, time 25044406, (143,-210), root:(301,23),
     state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
     XLookupString gives 0 bytes:

Is it normal to have so many events (why shift_L?) with cursor keys ?
Is it possible that the reason for this behaviour somehow lays in the 
Logitech keyboard driver (easy internet keyborard, 3 drivers: 
i8042prt.sys, itchfltr.sys & kbdclass.sys )?

Thank you for your help.

Rado



More information about the Cygwin-xfree mailing list