From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 19:23:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E518A1065704; Tue, 17 Feb 2009 19:23:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 608D48FC2F; Tue, 17 Feb 2009 19:23:17 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl126-61.kln.forthnet.gr [77.49.245.61]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-6) with ESMTP id n1HJN48a008729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Feb 2009 21:23:10 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n1HJN4MQ012914; Tue, 17 Feb 2009 21:23:04 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n1HJN3Ff012874; Tue, 17 Feb 2009 21:23:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Hans Petter Selasky References: <87mycme9wc.fsf@kobe.laptop> <200902170848.28659.hselasky@freebsd.org> <87eixxpgya.fsf@kobe.laptop> <200902171436.58658.hselasky@freebsd.org> <87tz6sdhb1.fsf@kobe.laptop> Date: Tue, 17 Feb 2009 21:23:03 +0200 In-Reply-To: <87tz6sdhb1.fsf@kobe.laptop> (Giorgos Keramidas's message of "Tue, 17 Feb 2009 20:55:30 +0200") Message-ID: <87tz6sj2aw.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Hellug-MailScanner-ID: n1HJN48a008729 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.875, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.52, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: usb2 moused issue (Microsoft Wireless Optical) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 19:23:20 -0000 On Tue, 17 Feb 2009 20:55:30 +0200, Giorgos Keramidas wrote: > The code of hid_report_size() is similar in old usb and the new usb > stack, but I am not sure about all the differences I see. The > calculation of `size' is done correctly with old usb code, so I am > testing the patch attached below now. It essentially pulls in the > hid_report_size() from the old usb code, with the if (h.kind == k) check > reversed to remove one spurious indentation level: No luck with the old usb code for hid_report_size() either. We may be looking at the wrong place. I'll build a kernel with a pre-usb2 stack and see what ums debugging shows for this mouse. If it used to work with size=2 then we might have to look elsewhere for the bug.