Subject: Re: Keyboard and mouse problems on current
To: D. Sean Davidson <davidson@zk3.dec.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 08/08/1997 07:20:19
On Thu, 07 Aug 1997 10:58:58 -0400 "D. Sean Davidson" wrote:
> Simon Burge wrote:
> >
> > On Wed, 06 Aug 1997 12:54:30 -0400 "D. Sean Davidson" wrote:
> >
> > > Has anyone else been having problems with the X server and current.
> > >
> > > I've had to drop back to about July 25'th code base to not have the
> > > mouse and keyboard input screw up on me all time. If I type too fast,
> > > which means more than a single character every half second, keys get
> > > missed, the shift key stays locked after I release it, and the mouse
> > > buttons sometimes think they are still pressed.
> >
> > What machine is this on? On the faster machines (the /50's and /60's)
> > with scc's, a delay loop for letting the serial chip settle is too
> > slow, at least for serial consoles. Look at sys/arch/pmax/tc/scc.c,
> > there's two DELAY(2)'s (around lines 1161 and 1336) that you can change
> > to DELAY(4). I'm looking at a proper fix to this at the moment, but
> > haven't finished yet.
> >
> > Simon.
>
> This is a 5000/150 (R4000 cpu).
>
> I tried DELAY(4) but that didn't help. I pushed it to DELAY(6) and
> it works much better now.
Damn CPU's too fast. Get a slower one :-)
Jonathan, can you commit a patch for this as a short term fix - the
extra delay _shouldn't_ slow things down too much? Or maybe multiply
cpuspeed by 3 if "!CPUISMIPS3" somewhere in machdep.c? I can put a
small patch together when I get to work...
Simon.