Option AutoRepeat broken in xorg.conf

Dejan Lesjak dejan.lesjak at ijs.si
Sat Apr 16 17:57:47 PDT 2005


On Thursday 14 of April 2005 23:08, Christian Weisgerber wrote:
> (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.

The manual page of kbd(4x) driver indicates that AutoRepeat option is not 
implemented on all platforms. Did this work with previous versions of X?


Dejan


More information about the freebsd-x11 mailing list