[gpm]Bug with IMPS/2 w/ Microsoft Intellimouse 1.3A on Linux

Peter Berg Larsen pebl@math.ku.dk
Mon, 17 Jun 2002 16:08:21 +0200 (MET DST)


On Mon, 17 Jun 2002, Pozsar Balazs wrote:


> > But... as I also said it is a problem every nontrivial mouse
> > initialization is having, so why not make a general file with ps2
> > functions such as reset, flush, enable, disable streaming etc?

> Well, I am just about to do it :)

Good.

> But... one question: Isn't the mouse supposed to 'shut up', after
> receiving a 0xFF, until it is initialized? (ie. a 0xF4 is sent to it).

No. You are only ensured that you (the host) will not reacive any other
data before the client is ready. And it signals this with AA 00, if the
client is a mouse. There is ofcause some mice that don't stick to the
specifications and sends the AA 00 at once. Thats another reason why I
suggested a disable stream first.

While you at imps2 couldn't you rewrite it all to automaticly find the
best imps2 mode the mouse knows? 5 button wheel is missing (which I have
just bought:) Here is a link about imps2 and how to detect the features of
present imps2 mice:

http://www.microsoft.com/hwdev/tech/input/mcompat.asp

If you don't I will (in the future).

Peter
--
E-Mail:       pebl@math.ku.dk 
Real name:    Peter Berg Larsen 
Where:        Department of Computer Science, Copenhagen Uni., Denmark