Bug 60586

Summary: USB/OHCI & HID - mouse polling at only half rate
Product: Drivers Reporter: SGT CAPSLOCK (sgtcapslock)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: NEW ---    
Severity: normal CC: dach, empire, martinstasik19, sgtcapslock, tnelis, veselu, virtuousfox
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.10.1 Subsystem:
Regression: No Bisected commit-id:

Description SGT CAPSLOCK 2013-07-19 20:32:20 UTC
usbhid's mousepoll parameter is setting all of the gaming mice I've tested to exactly 1/2 of the expected polling rate that I specify, but only if the gaming mice are using the ohci-hcd driver.

To test polling rates, I use the evhz utility:
http://web.archive.org/web/20060623094750/http://homepages.nildram.co.uk/~kial/evhz.c

Here is an example using a Zowie EC1 eVo gaming mouse with usbhid.mousepoll=1:

[ohci]
From dmesg:
[ 9998.795207] usb 7-3: new full-speed USB device number 2 using ohci_hcd

From evhz:
event3: latest hz = 500 (average hz = 500)
event3: latest hz = 500 (average hz = 500)
event3: latest hz = 500 (average hz = 500)
event3: latest hz = 500 (average hz = 500)

[ehci]
From dmesg:
[10217.625617] usb 2-1.1: new full-speed USB device number 5 using ehci-pci

From evhz:
event3: latest hz = 1000 (average hz = 1000)
event3: latest hz = 1000 (average hz = 1000)
event3: latest hz = 1000 (average hz = 1000)
event3: latest hz = 1000 (average hz = 1000)

My motherboard is an Asus Sabertooth 990FX/GEN3 R2.0, which uses the SB950 south bridge chip to provide USB.  I've also tested a Gigabyte GA-990FXA-UD3 which uses the same south bridge chip and have the exact same problem.
Comment 1 Greg Kroah-Hartman 2013-07-19 23:13:08 UTC
On Fri, Jul 19, 2013 at 08:32:20PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> usbhid's mousepoll parameter is setting all of the gaming mice I've tested to
> exactly 1/2 of the expected polling rate that I specify, but only if the
> gaming
> mice are using the ohci-hcd driver.

Please send this to the linux-usb@vger.kernel.org mailing list
Comment 2 SGT CAPSLOCK 2013-07-19 23:47:37 UTC
> Please send this to the linux-usb@vger.kernel.org mailing list

Message deployed.
Comment 3 Sergey Kondakov 2013-11-16 20:09:51 UTC
Same here on GA-990XA-UD3 with kernel 3.12.
After reading this i worked it around by plugging the mouse into an USB3 port, which uses xhci_hcd instead.

So, how's it going with merging that patch from the mailing list ?
Comment 4 John K. 2015-05-12 18:07:16 UTC
I too have the same problem with kernel 4.0.1. ehci-pci USB ports work correctly up to 1000hz whereas the uhci_hcd ones only go up to 500hz.

Any chance this can be fixed?
Comment 5 Marius P 2015-05-13 04:34:31 UTC
Same problem here with kernel 4.0.1.
Comment 6 AntonĂ­n Dach 2016-12-02 18:23:32 UTC
Any news there? It's already 4.8 and the bug is still there.
I have mx518 and can't pass 500hz,
Comment 7 Sergey Kondakov 2019-08-09 20:04:02 UTC
(In reply to Sergey Kondakov from comment #3)
> Same here on GA-990XA-UD3 with kernel 3.12.
> After reading this i worked it around by plugging the mouse into an USB3
> port, which uses xhci_hcd instead.
> 
> So, how's it going with merging that patch from the mailing list ?

Just for completion and remembrance: https://www.mail-archive.com/linux-usb@vger.kernel.org/msg24948.html - this is what I was referring to.