Bug 19033

Summary: Keymap broken by be4bf65... "input: don't switch MDs' classes around between SDs"
Product: xorg Reporter: Stuart Bennett <sb476>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf none

Description Stuart Bennett 2008-12-11 16:28:50 UTC
Created attachment 21072 [details]
xorg.conf

be4bf65d00a28cc77b939f00f115528a9024ab89 "input: don't switch MDs' classes around between SDs" (server-1.6-branch) causes my keyboard layout to not resemble "gb" any more; the transposition of @ and " might suggest it's suddenly become more "us" flavoured. PageUp/Dn is also awry, PageUp previously looking like:

KeyPress event, serial 23, synthetic NO, window 0x600001,
    root 0xb7, subw 0x0, time 7949733, (168,159), root:(170,161),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

and now more like:

KeyPress event, serial 23, synthetic NO, window 0x600001,
    root 0xb7, subw 0x0, time 7850419, (122,86), root:(124,88),
    state 0x0, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XmbLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

Updating to xorg-server-1.5.99.3 and applying the four patches from http://www.x.org/wiki/Server16Branch doesn't improve things.  0f36384d0636d6a8d3a8f182be69c72cccd1ff5c of xf86-input-evdev.

xorg.conf attached and unchanged from server 1.5ish setup, with additions of AllowEmptyInput and GrabDevice which seem to be required to make a formerly fine config continue to (somewhat) work (grumble).
Comment 1 Stuart Bennett 2008-12-11 16:35:21 UTC
Uploaded Xorg logs either side of the relevant commit for comparison (surprisingly ".ok" has the correct behaviour, and ".baaad" does not) to http://people.freedesktop.org/~stuart/1.6keymap/  Also threw in a log of a (non-reproducable) segfault when on the ".ok" side of the commit, if it somehow helps any.
Comment 2 Peter Hutterer 2008-12-18 02:32:52 UTC

*** This bug has been marked as a duplicate of bug 19048 ***

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.