Bug 21984

Summary: xorg doesn't see xkbcompat from hal
Product: xorg Reporter: Yaroslav Isakov <yaroslav.isakov>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Yaroslav Isakov 2009-05-28 11:11:38 UTC
Hello, I want to set xkbcompat, but I can't do this using HAL.
lshal:
input.x11_options.XkbCompat = 'ledscroll(group_lock)'  (string)
input.x11_options.XkbLayout = 'us,ru(winkeys)'  (string)
input.x11_options.XkbModel = 'evdev'  (string)
input.x11_options.XkbOptions = {'grp:caps_toggle', 'grp_led:scroll'} (string list)
input.x11_options.XkbRules = 'xorg'  (string)

Xorg.0.log:

(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us,ru(winkeys)"
(**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll"
Comment 1 Julien Cristau 2009-05-28 11:28:13 UTC
On Thu, May 28, 2009 at 11:11:39 -0700, bugzilla-daemon@freedesktop.org wrote:

> Hello, I want to set xkbcompat, but I can't do this using HAL.

correct, only rules/model/layout/variant/options are supported.  afaik
this is on purpose.
Comment 2 Yaroslav Isakov 2009-05-28 11:31:46 UTC
BTW, why XkbRules ignored?
input.x11_options.XkbRules = 'xorg'  (string)
...
(**) Option "xkb_rules" "evdev"
Comment 3 Peter Hutterer 2009-05-28 18:05:11 UTC
> BTW, why XkbRules ignored?
> input.x11_options.XkbRules = 'xorg'  (string)

the evdev driver forces the evdev ruleset, regardless of what the
configuration says.
Comment 4 Peter Hutterer 2009-05-28 18:09:12 UTC
I think you're confusing a few concepts here. You don't need to set the compat at all, it's implied when the grp_led:scroll option is converted to XKB's internal Kcgst format.
Comment 5 Yaroslav Isakov 2009-05-28 18:37:19 UTC
I need this to fix bug #21983
Comment 6 Peter Hutterer 2009-05-28 22:45:16 UTC
If you're going through RMLVO you can't mix in Kcgst though. So you need to wait for #21983 to be resolved first. Sorry.
Comment 7 Yaroslav Isakov 2009-05-29 03:24:44 UTC
Thanks for info

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.