Subject: port-i386/7448: X11 w/ wscons sporadic keyboard hangs and unable to set autorepeat rate
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Buelow <mkb@altair.mayn.de>
List: netbsd-bugs
Date: 04/22/1999 16:52:54
>Number:         7448
>Category:       port-i386
>Synopsis:       X11 w/ wscons sporadic keyboard hangs and unable to set autorepeat rate
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 22 16:35:01 1999
>Last-Modified:
>Originator:     Matthias Buelow
>Organization:
   Matthias Buelow, Wuerzburg/Germany, mkb@altair.mayn.de
>Release:        NetBSD 1.4_ALPHA as of April 14th, 1999
>Environment:
System: NetBSD altair.mayn.de 1.4_ALPHA NetBSD 1.4_ALPHA (ALTAIR) #1: Mon Apr 19 01:22:12 CEST 1999 mkb@altair.mayn.de:/usr/src/sys/arch/i386/compile/ALTAIR i386


>Description:

This report actually describes 2 problems; however the first I can
provide almost no information except for.

1) sporadic keyboard hangs under XFree

I've now experienced for 3 times that after arbitrary time while using
X11 the keyboard hang.  Mouse events and everything else kept working,
un- and replugging the keyboard or restarting the X server put the
keyboard back into operation.  I'm using the wscons console driver
(exact configuration see below).  Getty isn't waiting on the virtual
tty I run X on.

2) autorepeat rate setting ignored

When I set the autorepeat rate with xset, it doesn't affect X at all.
There's no "unsupported" error either.  I have also tried to remedy
that by changing the values in the wscons driver to what I prefer
with the result that I have the desired rate on the virtual ttys now
but not in X.

For example, "xset r rate 250 30" does not affect X.  Neither do any
other values I provide to xset r rate.  Enabling/disabling autorepeat
works, though.
Also, a line "AutoRepeat 250 30" in /etc/XF86Config has no effect either.

This is the complete "Keyboard" section from /etc/XF86Config:

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      250 30
   LeftAlt         Meta
   RightAlt        Compose
   ScrollLock      Control
   RightCtl        Compose
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc102"
   XkbLayout       "us"
   XkbOptions      "ctrl:nocaps"
EndSection

The X11 console is the fifth virtual tty:
:0 local /usr/X11R6/bin/X vt05

>How-To-Repeat:
Try to change autorepeat rate under XFree with a configuration similar
to mine.
>Fix:
None known to me.
>Audit-Trail:
>Unformatted: