Option AutoRepeat broken in xorg.conf

Christian Weisgerber naddy at mips.inka.de
Thu Apr 14 14:08:45 PDT 2005


(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 at mips.inka.de



More information about the freebsd-x11 mailing list