* Keyboard problem on Alpha under OpenVMS 1.5
@ 1994-02-23 16:46 Suomalainen
1994-02-24 21:18 ` Fred Kleinsorge
0 siblings, 1 reply; 2+ messages in thread
From: Suomalainen @ 1994-02-23 16:46 UTC (permalink / raw)
We've experienced this problem on two of our Alpha 3000s (400 and 500)
running OpenVMS 1.5 and Motif. At some seemingly arbitrary point in time
on a console monitor window, the keyboard goes into a mode where every
other keystroke is normal but the alternate stroke activates the Delete
key (<X) which repeats continuously until one types another key.
Therefore, all window sessions are no longer useful and the process has
to be killed from another login. A reboot solved the problem, but a new
keyboard (DEC's attempt) didn't. I haven't seen it happen often enough
to try this, but I imagine that one could restart the window manager to
allow logins on the console monitor. I haven't found out yet if one
particular user has possibly remapped the keyboard, but it doesn't seem
likely, since every OTHER keystroke is causing the problem!
One suggestion was a driver bug, but DEC hasn't been much help thus far.
Anyone out there have an answer? Sorry, but this was cross-posted with
vmsnet.alpha.
Thanks,
Bill Hurja
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Keyboard problem on Alpha under OpenVMS 1.5
1994-02-23 16:46 Keyboard problem on Alpha under OpenVMS 1.5 Suomalainen
@ 1994-02-24 21:18 ` Fred Kleinsorge
0 siblings, 0 replies; 2+ messages in thread
From: Fred Kleinsorge @ 1994-02-24 21:18 UTC (permalink / raw)
hurja@ssrl01.slac.stanford.edu (Suomalainen) writes:
>We've experienced this problem on two of our Alpha 3000s (400 and 500)
>running OpenVMS 1.5 and Motif. At some seemingly arbitrary point in
time
>on a console monitor window, the keyboard goes into a mode where every
>other keystroke is normal but the alternate stroke activates the
Delete
>key (<X) which repeats continuously until one types another key.
>Therefore, all window sessions are no longer useful and the process
has
>to be killed from another login. A reboot solved the problem, but a
new
>keyboard (DEC's attempt) didn't. I haven't seen it happen often
enough
>to try this, but I imagine that one could restart the window manager
to
>allow logins on the console monitor. I haven't found out yet if one
>particular user has possibly remapped the keyboard, but it doesn't
seem
>likely, since every OTHER keystroke is causing the problem!
>
>One suggestion was a driver bug, but DEC hasn't been much help thus
far.
>Anyone out there have an answer? Sorry, but this was cross-posted with
>vmsnet.alpha.
>
I put a response (probably in vmsnet.alpha) the other day to this
as well.
There appear to be several seperate LK400 related problems that
have cropped up. We are trying to reproduce them.
The suggestion of a new keyboard is not unreasonable. Recent
reports from OSF customers seem to indicate that using older rev
LK400's seem to fix the problem that is being seen on OSF.
To try and explain the potential source of keyboard problems, you
first need to understand that the LK400 is a replacement for the
LK200 - which was designed a long time before X11 was a glint in
MIT's eye. It powers up with defaults that do not match what the
X11 protocol calls for. The X11 protocol wants to see each down
and each up key transition. It also want to be able to program
autorepeat on a per key basis. To do this, the LK200/400 is
reprogrammed to generate up/down transitions - but in this mode,
the keyboard does not autorepeat. So instead, autorepeat is done
by a software timer, and the 'click' is transmitted to the LKxxx
from the driver. On OpenVMS AXP, unless you are using something
like SoftPC - the main array is *not* reprogrammed, and instead
the main array is in down-only-autorepeat mode - the driver
fakes a up code every time it gets a down code, and the keyboard
itself generates the autorepeat. On OSF/1 the entire keyboard is
put in up/down mode.
Two types of problems can occur:
1) Failure to init the keyboard properly
In this case, the keyboard mode does not match what the driver
thinks it is in. The most obvious bug this causes is a runaway
DELETE key. The driver thinks the key is in up/down mode, but
the keyboard default is down-only-autorepeat. So, when you
press the key the code is sent, but nothing is sent for the
release. The driver thinks the key is held down, and starts
autorepeating. Pressing the DELETE key a second time makes the
driver think it is seeing the UP transition. Other bad keys are
things like needing to press RETURN twice. This is for the
same reason - but the RETURN key does not autorepeat. Once you
find yourself in this mode, the broken keys remain broken.
Unplugging the LK400 and plugging it back in will cause a power
up sequence, which will cause the driver to reinit the KB.
The usual ways a failure to init occurs is a bad interaction
in the transition from CONSOLE mode to the Window System. This
means at server startup, and when the console window is toggled
due to a ^F2. Usually it's because a key was pressed just at
the wrong time, and the driver got confused. The console wants
the keyboard in it's power up state, and the window system wants
a different state, so it's the switch between states that causes
the problem.
NOTE: This can also happen from a HALT/CONTINUE. HALT/CONTINUE
is NOT supported on the graphics console. You MUST be on a
serial line console to CONTINUE after a HALT. The window
system state is UNDEFINED after a CONTINUE when booted from
the graphics head.
A lot of work has been done to try and fix these problems, and
they should have been in V1.5. We are looking into this.
2) Lost character/interrupt
When doing a autorepeat in software, the driver depends on seeing
the UP transition. This is either the keycode a second time
or the ALLUPS character (which means all up/down keys are UP).
If the driver does not see the up transition, it will assume the
key is held down, and start to autorepeat. If a character is
lost, or not delivered, or if the interrupt is dropped - then
this would be the result.
This type failure is sporatic. The key is not always broken,
like it is in the other type failure mode. Pressing the key
a second time should fix the problem. It may reoccur later,
but usually this happens only when typing fast and autorepeating.
And on VMS, it only will happen with keys like the arrow, or the
DELEYE keys (unless SoftPC is installed, which asks for up/down
on all keys).
There was a bug in DEC 3000 firmware that would show this
problem. The timing was such that it showed up on the 3000-300
most frequently. This "should" be fixed in V2.4 firmware, and
I am following this up and verifying that it was. However,
this would only apply to VMS, as OSF (I think) does not use
the firmware to read the KB data.
In any case, we are looking at the problem both here in engineering,
and onsite with a custimer who can reproduce it frequently.
--
+--------------------------------------+
Fred Kleinsorge | All opinions expressed are mine, and |
kleinsorge@star.enet.dec.com | may not reflect those of my employer |
+--------------------------------------+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-02-24 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-23 16:46 Keyboard problem on Alpha under OpenVMS 1.5 Suomalainen
1994-02-24 21:18 ` Fred Kleinsorge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox