you were right. i attached a different usb mouse and setting the rate to 10 or
100 didn't cause the random copy&paste issue.

what's the reason the usb polling rate is limited to 1000? performance?
because gaming devices feature a very high rate. would be great to have full
support for them. i've seen laser mice with a rate of 10.000.

i've attached the output of hw.usb.ums.debug=15 and included a note where the
copy&paste occured. however when the debug output is enabled the random
copy&paste issue doesn't appear that often. if a disable the debug output ~ 2
lines per second get pasted to the console when moving the mouse.

alex

Hans Petter Selasky schrieb am 2009-07-14:
> 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

Attachment: rates.log
Description: Binary data

_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to