Date: Mon, 27 Jul 2009 21:50:05 GMT From: Hans Petter Selasky <hselasky@freebsd.org> To: freebsd-usb@FreeBSD.org Subject: Re: usb/137190: [usb][patch] inhibit spurious button releases for some complex mices Message-ID: <200907272150.n6RLo5MF011578@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR usb/137190; it has been noted by GNATS. From: Hans Petter Selasky <hselasky@freebsd.org> To: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/137190: [usb][patch] inhibit spurious button releases for some complex mices Date: Mon, 27 Jul 2009 22:43:38 +0200 On Monday 27 July 2009 21:58:03 Eygene Ryabinkin wrote: > The problem is that this mice is "complex": it has other output descriptors > whose output also goes to the ums(4) driver. It produces no data that will > be consumed by the driver, but due to the logics of the callback function, > variable 'buttons' will be different from the initial softc's button state > of some button was physically pressed when this "foreign" data comes. > > The following patch makes ums(4) to be resistant to such callback input. For multi descriptor mouse devices, please try this patch and report back. http://perforce.freebsd.org/chv.cgi?CH=166592 http://perforce.freebsd.org/chv.cgi?CH=166590 Download the latest version from USB P4 and report back. --HPShelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907272150.n6RLo5MF011578>
