From owner-freebsd-usb@FreeBSD.ORG Tue Jul 14 13:44:52 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 1AFED1065672 for ; Tue, 14 Jul 2009 13:44:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id A1D008FC14 for ; Tue, 14 Jul 2009 13:44:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=gg2W7PyvkLb8p4ie143lBA==:17 a=FQZRU4LPQ26zwr6WUpcA:9 a=mzlfj_70qz5_mqYlR7AA:7 a=9B0Xvw2tMsbh-dIsye9L1kOGG4sA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1278710039; Tue, 14 Jul 2009 15:44:49 +0200 From: Hans Petter Selasky To: Alexander Best Date: Tue, 14 Jul 2009 15:44:29 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA1; KDE/4.2.4; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907141544.31338.hselasky@c2i.net> 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:44:52 -0000 On Tuesday 14 July 2009 15:25:59 Alexander Best wrote: > 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 Could you try another USB mouse. Also I would like to see some ums debug prints when you see random mouse clicks. I'm not sure, but probably your mouse expects a certain minimum polling rate, which is passed through the endpoint descriptor, else it goes mad :-) > setting hw.usb.ums.debug=15 indicates that the polling rate is set exactly > to moused's -F value. Good. > 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. --HPS