ps/2 mouse patch [intellimouse explorer detection]

Andriy Gapon avg at
Thu Feb 7 20:55:41 UTC 2008

Still nobody comes forward. Is there any maintainer of psm driver?

As a final authority I am forced to quote now Microsoft itself on this

I've also found a PR for the similar hardware from the same vendor with
the same symptoms:

I am moving this discussion there now, but knowing how the PRs are
handled for the bits without a maintainer or with very-low-activity
maintainer[*], this is a cry of hope and desperation.

[*] - Well, I know that I am talking about very old code, for very old
protocol where things should have long been settled. But apparently
there are cases when the code works in 99% of cases and nobody cares
about the rest 1%, even if that percent is not some quirky hardware, but
the hardware that does follows its specification, only too rigidly.

on 04/02/2008 18:09 Andriy Gapon said the following:
> on 01/02/2008 11:38 Vojtech Pavlik said the following:
>> On Fri, Feb 01, 2008 at 11:35:33AM +0200, Andriy Gapon wrote:
>>> I compared FreeBSD and Linux sources more thoroughly and found the
>>> following:
>>> static int im_explorer_detect(struct psmouse *psmouse, int set_properties)
>>> {
>>> struct ps2dev *ps2dev = &psmouse->ps2dev;
>>> unsigned char param[2];
>>> intellimouse_detect(psmouse, 0);
>>> I.e., first thing the explorer probe does is massaging a mouse with
>>> IntelliMouse magic commands.
>>> I did the same in FreeBSD psm.c, i.e., added a call to
>>> enable_msintelli() at the very start of enable_msexplorer(). And voilà -
>>> everything is perfect, correct ID is returned, probing succeeds, the
>>> mouse works great.
>>> I think that this change is quite safe to make in FreeBSD, because with
>>> Linux user-base we can be 99% percent sure that this change won't break
>>> anything.
>> It is even correct: A mouse isn't required to be able to jump straight
>> into the Explorer mode, it is supposed to always go through the
>> IntelliMouse mode.
> Any takers to test this change with your current PS/2 mouse (either
> working or non-working) ?
> Any takers to commit this change ? :-)
> Will this issue get more traction if I file a PR?

Andriy Gapon
freebsd-stable at mailing list
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

More information about the freebsd-current mailing list