Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 18:17:44 +0200
From:      Grzegorz Blach <magik@back-up.pl>
To:        Kai Wang <kaiwang27@gmail.com>
Cc:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-usb@FreeBSD.org
Subject:   Re: usb/125941: not working wheel on my microsoft notebook optical mouse 3000
Message-ID:  <20080812181744.5b7be17c@silver.doors>
In-Reply-To: <20080812150139.GA9769@plan0>
References:  <200807242330.m6ONU70T091921@freefall.freebsd.org> <5d252c1d8f1ddaed55d2467adea536ca@chi.fastbighost.com> <20080811133434.GA4224@plan0> <0ed513c9800b730fff47034b86526e5d@chi.fastbighost.com> <20080811151941.GA4590@plan0> <310aef2cb8e5bbcc7cf345f962cb102b@chi.fastbighost.com> <20080812022710.GA7527@plan0> <20080812143016.2ac5a7a4@silver.doors> <20080812133029.GA9576@plan0> <20080812165329.47bc22d8@silver.doors> <20080812150139.GA9769@plan0>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Aug 2008 17:01:39 +0200
Kai Wang <kaiwang27@gmail.com> wrote:

> > > > > Could you please try the patch attached
> > > > > against /sys/dev/usb/hid.c along with the debug printf patch
> > > > > for ums.c, and see what the result will be?
> > > > > 
> > > > > 
> > > > 
> > > > kernel with appiled this two patches reports that:
> > > > 
> > > > ums0: <Microsoft Microsoft Notebook Optical Mouse with Tilt
> > > > Wheel, class 0/0, rev 2.00/1.20, addr 2> on uhub0 ums0: mouse
> > > > has no Y report device_attach: ums0 attach returned 6
> > > > 
> > > 
> > > Sorry I made a mistake in previous patch. 
> > > 
> > > How about this one?
> > > 
> > 
> > Again, the same message as above:
> > 
> > ums0: <Microsoft Microsoft Notebook Optical Mouse with Tilt Wheel,
> > class 0/0, rev 2.00/1.20, addr 2> on uhub0
> > ums0: mouse has no Y report
> > device_attach: ums0 attach returned 6
> 
> Strange.. This should not happen. Did you revert previous hid.c
> patch before applying this one?

OK, I have updated source from cvs, then appiled hid.diff and rebuild
kernel, when kernel boot I see:

  ums0: <Microsoft Microsoft Notebook Optical Mouse with Tilt Wheel,
  class 0/0, rev 2.00/1.20, addr 2> on uhub0 wheel=1
  sc->flags=0x0001
  ums0: 3 buttons and Z dir.
  sc->sc_loc_z.size=8

Wheel is working correctly, but I don't have info about TILT dir (but
I never used this direction).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080812181744.5b7be17c>