Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 22:52:43 +0200 (CEST)
From:      Markus Wild <mwild@vianetworks.ch>
To:        "Jin Guojun [DSD]" <g_jin@lbl.gov>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Fix for Logitech DiNovo cordless mouse
Message-ID:  <200406092052.i59Kqhre068486@smsgw.vianetworks.ch>
In-Reply-To: <40C75F55.ABD6CBB8@lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
> By looking the code, the fix should be something like in attachment.
> Since I have not such device, I cannot test it.
> Let me know if attached patch works.

No, it did not. Reason is you're exiting out of the loop
too early this way, and a side effect of the loop is determining
the size of the request... 

Your version:
Jun  9 22:36:27 mothra kernel: ums_attach: bLength=7 bDescriptorType=5 bEndpointAddress=2-in bmAttributes=3 wMaxPacketSize=8 bInterval=10
Jun  9 22:36:27 mothra kernel: ums0: 7 buttons and Z dir.
...
Jun  9 22:36:27 mothra kernel: ums_attach: size=1, id=2

Mine:
Jun  9 22:46:53 mothra kernel: ums_attach: bLength=7 bDescriptorType=5 bEndpointAddress=2-in bmAttributes=3 wMaxPacketSize=8 bInterval=10
Jun  9 22:46:53 mothra kernel: ums0: 7 buttons and Z dir.
...
Jun  9 22:46:53 mothra kernel: ums_attach: size=36, id=2

Cheers,
Markus



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