settings usb mouse rate

Hans Petter Selasky hselasky at c2i.net
Tue Jul 14 13:44:52 UTC 2009


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



More information about the freebsd-usb mailing list