Re: [PATCH] PS/2 mouse rate setting

From: jhf
Date: Mon Oct 27 2003 - 22:53:37 EST


On Mon, Oct 27, 2003 at 08:32:15AM -0800, Linus Torvalds wrote:
>
> On Mon, 27 Oct 2003, Andi Kleen wrote:
> >
> > Overall as KVM user I must say I'm not very happy with the 2.6 mouse
> > driver. 2.4 pretty much worked out of the box, but 2.6 needs
> > lots of strange options (psmouse_noext, psmouse_rate=80)
> > because it does things very differently out of the box.
>
> I agree. The keyboard driver has also deteriorated, I think.
>
> I'd suggest we _not_ set the rate by default at all (and let the default
> thing just happen). And only set the rate if the user _asks_ for it with
> your setup thing. Mind sending me that kind of patch?
>

I need this patch to use the scroll wheel on my Logitech mouse
with my Belkin KVM switch in 2.6. This patch was in -mm for a while
before some changes there broke the diff, and I got some mail from
people who said it was helpful. I didn't hear about any problems.

Linus, will you please consider applying it?

The new mouse autodetection sets my mouse up to use the Logitech
ps2++ protocol, but Belkin KVMs speak only the Microsoft Intellimouse
protocol and plain ps2. In 2.4, with X and GPM set up to use the
imps2 protocol, things work fine -- my mouse also speaks imps2 -- but
in 2.6 I don't get a choice.

One person also used it to disable the Synaptic touchpad driver at
runtime without disabling the scroll wheel on their external mouse. I
think the parameter this patch adds should cover most regressions that
have to do with the mouse autodetection, since the Intellimouse
protocol seems to be kind of a lowest common denominator because
Windows supports it out of the box.

Unfortunately, I was unable to get any sort of comment from
Vojtech Pavlik about this patch.

--
Joseph Fannin
jhf@xxxxxxxxxxxxxx

"That's all I have to say about that." -- Forrest Gump.

Attachment: signature.asc
Description: Digital signature