Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 02:57:41 +0200
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Cc:        Christian Weisgerber <naddy@mips.inka.de>
Subject:   Re: Option AutoRepeat broken in xorg.conf
Message-ID:  <200504170257.41912.dejan.lesjak@ijs.si>
In-Reply-To: <d3mm4o$1cli$1@kemoauc.mips.inka.de>
References:  <d3mm4o$1cli$1@kemoauc.mips.inka.de>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504170257.41912.dejan.lesjak>