Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 15:44:29 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: settings usb mouse rate
Message-ID:  <200907141544.31338.hselasky@c2i.net>
In-Reply-To: <permail-20090714132559f7e55a9d00003cc6-a_best01@message-id.uni-muenster.de>
References:  <permail-20090714132559f7e55a9d00003cc6-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907141544.31338.hselasky>