From owner-freebsd-usb@FreeBSD.ORG Tue Jul 14 13:26:00 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE0C81065676 for ; Tue, 14 Jul 2009 13:26:00 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id 72EA28FC24 for ; Tue, 14 Jul 2009 13:26:00 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,397,1243807200"; d="scan'208";a="8394971" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 14 Jul 2009 15:25:59 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 7DCAB1B07E4; Tue, 14 Jul 2009 15:25:59 +0200 (CEST) Date: Tue, 14 Jul 2009 15:25:59 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Hans Petter Selasky Message-ID: In-Reply-To: <200907141338.29120.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: settings usb mouse rate 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, 14 Jul 2009 13:26:01 -0000 i tested the patch with rates of 1, 100 and 1000: 1: random copy&pastes when moving the mouse 100: also random copy&pastes when moving the mouse 1000: OK setting hw.usb.ums.debug=15 indicates that the polling rate is set exactly to moused's -F value. at some point i experienced a crash including a reboot. no core dump was produced however. i've tried to reproduce the crash but wasn't able to. i think the crash occured when i booted with a low -F value, then set -F to a higher value in /etc/rc.conf and after that unplugged the mouse and plugged it in again. as i said i'm not able to produce the panic any longer. might have been caused by old code fragments in my /usr/src. alex Hans Petter Selasky schrieb am 2009-07-14: > Hi, > On Tuesday 14 July 2009 13:28:28 Alexander Best wrote: > > thx for the patch. i'm recompiling my kernel right now and will > > test the > > changes right away. any reason you limited the rate to <= 1000? i > > had a > > quick look at the specs of my mouse: > USB has a limitation of polling 1000 times per second. > > - 6400 frames per second (5.8 megapixels per second) > > - 1800dpi Razer Precision 3G infrared sensor > > what about the mouse resolution? moused comes has the "-r" switch > > to change > > it. would usb mice benefit from that option? > I'm not sure if setting the mouse resolution has a standard USB > request yet. > Else it would not be much trouble adding support for that aswell. > --HPS