Subject: Re: scroll wheel on i386?
To: None <port-i386@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: port-i386
Date: 01/24/2002 14:18:09
In message <Pine.NEB.4.30.0201222231270.5004-100000@triton.invisible.ca>, "Jare
d D. McNeill" writes:
>On Tue, 22 Jan 2002, Peter Seebach wrote:
>> I have a scroll wheel mouse. It works fine if it's connected via USB. It
>> even works fine if it's connected via a USB<->PS/2 adapter. However, if it'
>s
>> plugged in as a PS/2, the scroll wheel doesn't work.
>Is it detected using the pms or pmsi driver?
Some followup: It's detected using pms. The pmsi driver says "intellimode ->
6". A bit of further followup shows that, when trying to set intellimode, the
driver returns ENXIO if resp[0] isn't 3. In fact, resp[0] is 0 on this mouse.
If I override this and make it probe anyway, I get very strange behavior, so
the mouse really isn't using the intellimode protocol - but it has a
functioning scroll wheel, which works perfectly on a Mac through either
of two PS/2<->USB adapters, and works fine under Windows, and works fine under
NetBSD with the same PS/2<->USB adapters.
This suggests to me that the regular psm driver probably ought to know about
scroll wheels, and that there is some tolerably standard practice for how to
interpret them.
-s