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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20090714132559f7e55a9d00003cc6-a_best01>