usb/137190: [usb][patch] inhibit spurious button releases for some complex mices

Hans Petter Selasky hselasky at freebsd.org
Mon Jul 27 21:50:06 UTC 2009


The following reply was made to PR usb/137190; it has been noted by GNATS.

From: Hans Petter Selasky <hselasky at freebsd.org>
To: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Cc: FreeBSD-gnats-submit at 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.
 
 --HPS


More information about the freebsd-usb mailing list