Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 21:08:40 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-x11@freebsd.org
Subject:   Option AutoRepeat broken in xorg.conf
Message-ID:  <d3mm4o$1cli$1@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help

(Xorg 6.8.2, 5.4-STABLE/alpha)

Setting the keyboard delay and repeat rate in xorg.conf appears to
be broken.  I have this in my xorg.conf:

...
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "AutoRepeat" "250 30"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
        Option      "XkbOptions" "compose:ralt"
EndSection
...

The other options are picked up, but AutoRepeat isn't.  xset q tells
me that the default values (660 25) are in place.  However, that
isn't true either.  Instead, the delay/repeat settings of syscons
are passed through to the X server.

Using "xset r rate ..." to set the values later works fine.

Xorg.0.log looks suspicious, too:

...
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "250 30"
(**) Option "XkbRules" "xfree86"
(**) Keyboard0: XkbRules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) Keyboard0: XkbModel: "pc104"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "XkbOptions" "compose:ralt"
(**) Keyboard0: XkbOptions: "compose:ralt"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
...

Note that there's a Keyboard0 line after each option, except after
AutoRepeat.


FWIW, X11 on OpenBSD suffers from the same problem (except that the
console settings aren't passed through), so this looks like a general
bug.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3mm4o$1cli$1>