From: Johan Myreen (jem@snakemail.hut.fi)
Date: 04/07/93


From: jem@snakemail.hut.fi (Johan Myreen)
Subject: Re: PS/2 BusMouse doesn't Work
Date: 7 Apr 1993 18:55:50 GMT

In article <FOX.93Apr7103528@graphics.nyu.edu> fox@graphics.cs.nyu.edu (David Fox) writes:

>In article <rco.734173100@gui> rco@gui (Rui Carlos Oliveira) writes:

> I have a Data General Notebook with p7A installed. It reconizes my
> PS/2 busmousebut running X it doesn't even move. In /dev/MAKEDEV
> says to get a busmouse patch from tsx-11, but I couldn't find it.

I have never seen this MAKEDEV script (where does it come from?), so I
can't say what patch it talks about. But here's a patch from Dean
Troyer, which is supposed to fix the driver on some laptops. (PS/2
mice are not bus mice, by the way, so the MAKEDEV script may be
referring to some other type of mouse.)

>> >You need one more thing... get the file
>> >/pub/Linux/system/ps2mouse-emul.c from sunsite.unc.edu. It
>> >contains a Ps/2-mouse to Microsoft mouse protocol
>>
>> ps2mouse-emul.c has been moved on sunsite. It's now buried in
>> /pub/Linux/system/Misc/low-level/ps2mouse-emul.c

As of XFree86 version 1.2 this isn't needed anymore, v1.2 already
knows the PS/2 mouse protocol, so there's no need to emulate a
Microsoft mouse.

Other things to check if the PS/2 mouse isn't working:

- see if you can produce any output with the command 'od -c
/dev/psaux' (Or whatever the PS/2 mouse is called on your machine... I
guess the PS/2 mouse device name fell for the NIH disease... Anyway,
it should have major number 10 and minor number 1.) Moving the mouse
should print a stream of bytes on the screen.

- Make sure you have the right entry in Xconfig: for XFree86 1.2 it
should be PS/2 "/dev/psaux" (Or whatever the PS/2 mouse is called...
(grr..)) For XFree86 1.1 and older you *do* need the protocol
converter. In this case the mouse type should be Microsoft.

Johan Myreen
jem@cs.hut.fi

-- 
Here's the patch to linux/kernel/chr_drv/psaux.c