Bug 39460

Summary: Layout configuration is ignored for bluetooth keyboards
Product: xorg Reporter: Fif91 <pdezac-linux>
Component: Input/KeyboardAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: benjarobin+freedesktop, daniel.otero
Version: unspecified   
Hardware: All   
OS: Linux (All)   
i915 platform: i915 features:
Description Flags
Xorg evdev configuration file
Xorg keyboard configuration file none

Description Fif91 2011-07-21 13:00:20 UTC
Created attachment 49407 [details]
Xorg evdev configuration file

I have a Logitech MX5000 multimedia keyboard, with a MX1000 mouse; that are bluetooth components.
Its default layout is French (azerty).

In archLinux, before the system updates; the mouse and keyboard were identified (meaning 'working') as usb components.

From the last bluetooth updates, they are considered as bluetooth components.
Then, a problem appears in the login manager (kdm) : the keyboard layout is Us (qwerty) instead of fr.

It seems that something is broken as the options in the differents configuration xorg files are not taken account of.

Here is the xorg.log : http://pastebin.archlinux.fr/433233
A new log, after creating the 09-keyboard.conf file : http://pastebin.archlinux.fr/433234

From some tests, it appears that setting the following line in /usr/share/config/kdm/Xsetup, the keyboard becomes Fr in the login manager : setxkbmap fr

But, that do not explain why the layout is broken frm the system update.

Original french bug: http://forums.archlinux.fr/topic8823.html
Comment 1 Fif91 2011-07-21 13:01:00 UTC
Created attachment 49408 [details]
Xorg keyboard configuration file
Comment 2 Fif91 2012-10-06 12:50:26 UTC
Comment 3 Daniel Otero 2015-06-08 16:28:23 UTC
I'm having the same problem.

Despite having a "InputClass" Section with an "es" "XkbLayout" Option in /etc/X11/xorg.conf.d/00-keyboard.conf (generated by systemd-localed), this seems to not affect the bluetooth keyboard.

Even when in Xorg.0.log clearly read the options above:

[   158.509] (II) config/udev: Adding input device Microsoft Sculpt Mobile Keyboard (/dev/input/event15)
[   158.509] (**) Microsoft Sculpt Mobile Keyboard: Applying InputClass "evdev keyboard catchall"
[   158.509] (**) Microsoft Sculpt Mobile Keyboard: Applying InputClass "system-keyboard"
[   158.509] (II) Using input driver 'evdev' for 'Microsoft Sculpt Mobile Keyboard'
[   158.510] (II) XINPUT: Adding extended input device "Microsoft Sculpt Mobile Keyboard" (type: KEYBOARD, id 17)
[   158.510] (**) Option "xkb_rules" "evdev"
[   158.510] (**) Option "xkb_model" "pc104"
[   158.510] (**) Option "xkb_layout" "es"

Seems like the Xorg server is not applying the layout correctly.

(Executing "setxkbmap es" fix the issue for the session)
Comment 4 GitLab Migration User 2018-08-10 20:55:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/issues/8.

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.