Bug 17796 - using setxkbmap with -model switch make some keys unusable
Summary: using setxkbmap with -model switch make some keys unusable
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 09:02 UTC by Charly Ghislain
Modified: 2008-10-09 00:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Charly Ghislain 2008-09-26 09:02:32 UTC
Hi,

Im using xorg-server 1.5.1 as found in the 'testing' repository of Arch linux.

My keyboard section of xorg.conf looks like :
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "be"
EndSection

Using 'setxkbmap -layout be', things works as excepted. (no changes from a fresh xorg start)
Using 'setxkbmap -model pc105 -layout be', some keys dont work ; among others : arrows, home, end, delete.
Letters works as in the expected layout.

Reverting to xorg-server 1.4.2 (as found in the extra repository of Arch linux) solves the problem.

Note that the keyboard driver package was the same in both case (xf86-input-keyboard 1.3.1 as found in the extra repository of Arch linux)

Regards,

Charly
Comment 1 Julien Cristau 2008-09-26 10:09:38 UTC
On Fri, Sep 26, 2008 at 09:02:32 -0700, bugzilla-daemon@freedesktop.org wrote:

> Using 'setxkbmap -layout be', things works as excepted. (no changes from a
> fresh xorg start)
> Using 'setxkbmap -model pc105 -layout be', some keys dont work ; among others :
> arrows, home, end, delete.
> Letters works as in the expected layout.
> 
You're probably using the evdev driver, in which case switching the
model to pc105 is wrong (looking at the log would help making sure of
this, but you haven't attached it).
Comment 2 Peter Hutterer 2008-09-27 16:29:06 UTC
The correct solution to this is get xkeyboard-config from git (which includes
an evdev ruleset) and then run
> setxkbmap -rules evdev -model pc105 -layout be
If you do not have the evdev ruleset in x-k-c yet, then you _must_ use model
"evdev".
Comment 3 Peter Hutterer 2008-10-09 00:07:43 UTC
You need to update xkeyboard-config to 1.4.


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.