From owner-freebsd-usb@FreeBSD.ORG Tue Dec 12 03:06:08 2006 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2201616A403 for ; Tue, 12 Dec 2006 03:06:08 +0000 (UTC) (envelope-from blue@white.lv) Received: from purple.the-7.net (purple.the-7.net [64.71.156.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3131D43C9E for ; Tue, 12 Dec 2006 03:04:47 +0000 (GMT) (envelope-from blue@white.lv) Received: from seerajeane.astralblue.net (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by purple.the-7.net (8.13.8/8.13.8) with ESMTP id kBC353hG043918 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 11 Dec 2006 19:05:04 -0800 (PST) (envelope-from blue@white.lv) Received: from [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73] (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by seerajeane.astralblue.net (8.13.8/8.13.8) with ESMTP id kBC362SP017454 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 11 Dec 2006 19:06:03 -0800 (PST) (envelope-from blue@white.lv) Message-ID: <457E1C9A.8060509@white.lv> Date: Mon, 11 Dec 2006 19:06:02 -0800 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.8 (X11/20061202) MIME-Version: 1.0 To: usb@freebsd.org X-Spam-Status: No, score=-0.3 required=10.0 tests=AWL, HTML_MESSAGE, NO_RELAYS autolearn=disabled version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on purple.the-7.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Request for testing, PR usb/106565: [PATCH] ums(4) does not work if the mouse defaults to boot protocol X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 03:06:08 -0000 Greetings, If you have a mouse that exhibits some of the following symptoms, could you test the patch found within http://www.freebsd.org/cgi/query-pr.cgi?pr=106565 and provide feedback? * The mouse wheel does not work. * In some cases, when you move the mouse cursor and/or presses a button, the mouse behaves as if its wheel were turned (and consequently moves the scrollbar of the current window, for example). * Rarely, the mouse is recognized but does not work at all, except when you press a certain combination of buttons (usually the left button only) and the cursor moves erratically and spurious button events are generated (i.e. the mouse behaves as if some other buttons are pressed). * You cannot bring a window to the top by clicking in it; you have to click its window decoration (such as the title bar or a border). At least this happened to me when using metacity, the default window manager of GNOME. In a nutshell, the problem is that the mouse erroneously defaults not to the standard "report" protocol, but to the "boot" protocol (used by motherboards and embedded systems for "legacy emulation") when it is attached and configured. This presumably happened because developers of the problematic model of mouse had a broken motherboard that did not specifically configure the mouse into the boot protocol, which they had to work around. The patch solves the problem by forcing ums(4) to reset the mouse back into the report protocol so that it reports its full status that includes mouse wheels and more than three buttons. This aligns to the USB 2.0 specification, which recommends resetting the protocol although the mouse should already default to the report protocol. Cheers, Eugene