From owner-freebsd-usb@freebsd.org Wed Sep 28 19:11:39 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 540EDBECFB8 for ; Wed, 28 Sep 2016 19:11:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43E49173B for ; Wed, 28 Sep 2016 19:11:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8SJBd1g057517 for ; Wed, 28 Sep 2016 19:11:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 170358] [ums] Wrong (duplicate) button numbers Date: Wed, 28 Sep 2016 19:11:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek.apostata@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 19:11:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D170358 --- Comment #14 from tomek.apostata@gmail.com --- Hi, Unfortunately I do not have this mouse anymore - 4 years :). One comment regarding this patch - it works for logitech that uses tilt as = real "buttons" but it may break other devices. I have now a Rapoo 7100P which has standard buttons, wheel, 2 side buttons = and a tilt wheel - works like horizontal scroll. Mouse is properly detected, has dt set, reports dt -1 or +1 but only for pr= ess - no release (like scroll). So if we assign buttons 5 and 6 we never get release event and mouse is bricked (we have permanent mask 32 or 64 or both set). To get it to work I made a dirty fix - take out mask 32 or 64 from sc->sc_status.button in USB_ST_SETUP case. -- Tomek --=20 You are receiving this mail because: You are the assignee for the bug.=