Bug 25835 - X11 Keysym mapping missing for some hotkeys of laptop
Summary: X11 Keysym mapping missing for some hotkeys of laptop
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-12-30 12:25 UTC by Hans Bakker
Modified: 2010-08-09 12:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
result of xkbcomp :0 -xkb out.xkb (46.78 KB, application/octet-stream)
2010-01-19 05:53 UTC, Hans Bakker
Details

Description Hans Bakker 2009-12-30 12:25:23 UTC
I'm using Kubuntu 10.04 on a VAIO VGN-SR51MF/S laptop.
The xkb-data package has version 1.7-1ubuntu1.

The laptop has a few hotkeys. The first four of these hotkeys are mapped correctly to XF86Launch1 up to XF86Launch4, respectively.

The fifth hotkey, the mode button and the setting button have no keysym (xev reports the keycodes, but reports 'NoSymbol' as keysym).

The keycodes are the following:
191 for the mode button
192 for the fifth hotkey (should be mapped to XF86Launch5)
193 for the setting button

For the mode and setting button, I don't know a good suggestion right now, maybe XF86Launch0 for the mode button and XF86Launch6 for the setting button? Or XF86Tools for the mode button and XF86Option for the setting button?
Comment 1 Sergey V. Udaltsov 2010-01-18 16:15:45 UTC
Could you please tell me what kbd driver you are using in X.Org? Pleas run

xprop -root | grep XKB
Comment 2 Sergey V. Udaltsov 2010-01-18 16:29:20 UTC
Also, I would like to see the output

xkbcomp :0 -xkb out.xkb
Comment 3 Hans Bakker 2010-01-19 05:53:16 UTC
Created attachment 32713 [details]
result of xkbcomp :0 -xkb out.xkb
Comment 4 Hans Bakker 2010-01-19 05:54:10 UTC
xprop -root | grep XKB
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "altgr-intl",
"lv3:ralt_switch"

xkbcomp :0 -xkb out.xkb
Warning:          Could not load keyboard geometry for :0
                  BadAlloc (insufficient resources for operation)
                  Resulting keymap file will not describe geometry
Comment 5 Sergey V. Udaltsov 2010-03-26 04:23:32 UTC
> Warning:          Could not load keyboard geometry for :0
>                   BadAlloc (insufficient resources for operation)
>                   Resulting keymap file will not describe geometry
This is somewhat suspicious. Are you sure your Xorg build is correct?

Also,

>191 for the mode button
>192 for the fifth hotkey (should be mapped to XF86Launch5)
>193 for the setting button

There are no "mode" or "setting" buttons as such. Could you please look at the /usr/share/X11/xkb/symbols/inet file and check what symbols are available.
Comment 6 Hans Bakker 2010-03-27 14:48:17 UTC
(In reply to comment #5)
> > Warning:          Could not load keyboard geometry for :0
> >                   BadAlloc (insufficient resources for operation)
> >                   Resulting keymap file will not describe geometry
> This is somewhat suspicious. Are you sure your Xorg build is correct?

I tried it again today and now only
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "intl", "lv3:ralt_switch"
is printed. Probably something was fixed in Kubuntu's Xorg packages :)

> Also,
> 
> >191 for the mode button
> >192 for the fifth hotkey (should be mapped to XF86Launch5)
> >193 for the setting button
> 
> There are no "mode" or "setting" buttons as such. Could you please look at the
> /usr/share/X11/xkb/symbols/inet file and check what symbols are available.
> 
What about mapping 191 ("mode") to XF86Tools and 193 ("settings") to XF86MenuKB?
Comment 7 Sergey V. Udaltsov 2010-03-28 16:13:02 UTC
Done. Please check git.
Comment 8 Hans Bakker 2010-04-02 12:41:16 UTC
Thank you! Could you give an expectation of when this will be released?

2010/3/29 <bugzilla-daemon@freedesktop.org>

> http://bugs.freedesktop.org/show_bug.cgi?id=25835
>
>
> Sergey V. Udaltsov <svu@gnome.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|NEW                         |RESOLVED
>         Resolution|                            |FIXED
>
>
>
>
> --- Comment #7 from Sergey V. Udaltsov <svu@gnome.org>  2010-03-28
> 16:13:02 PST ---
> Done. Please check git.
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 9 Sergey V. Udaltsov 2010-08-09 12:54:31 UTC
The fix was slightly amended, see

https://bugs.freedesktop.org/show_bug.cgi?id=5783


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.