Subject: Re: keyboard after exiting X
To: None <static@mail.velenje.cx>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-pmax
Date: 08/12/1999 23:18:04
On Fri, 13 Aug 1999 static@mail.velenje.cx wrote:

> I found that unplugging the keyboard for a few seconds then plugging it
> back in effectively fixes this. This is a hassle, but its much easier than
> rebooting every time I exit X.
> 
> 
> On Fri, 13 Aug 1999 static@mail.velenje.cx wrote:
> 
> > I'm running 1.4 with a 1.4.1 snap kernel on a Decstation 5000/200, and I
> > finally got everything working today after upgrading to the 1.4.1 kernel
> > (due to the scsi problems). I got X working on the first try, but I get a
> > strange problem- after I quit X, my keyboard doesn't work right- if I type
> > in "root", it comes out with extra characters, like "rorort", depending on
> > how fast I type. Is this a widely known problem I'm unaware of (I got this
> > dec for free a few days ago, I'd never used one before), or is it a
> > problem that only I'm having? In any case, does anyone know how to fix it?

  This seems somewhat familiar - I think I was looking at a similar
problem a while ago.  I think what I may have been looking at was
mis-behaviour in X though, but I don't remember clearly.

  You might want to run running the X server with the -xb option.  I think
the X11R6 server defaults to the keyboard extensions, and I think the
server fiddles with the keyboard settings.  It probably doesn't reset it
the way the NetBSD keyboard driver expects it when the server exits.  I
think using the -xb option will let the pmax-specific code in the server
deal with the keybard, which may leave it in a state the NetBSD driver
expects.

---
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA