Hello all,
I'm trying to change the mouse poll of the usbhid driver by using
Code:
sudo modprobe -r usbhid && sudo modprobe usbhid mousepoll=x
where x is the value I want, and this does change the value within /sys/modules/usbhid/parameters/mousepoll, however it doesn't actually affect the polling rate as measured by the tool 'evhz' which shows that the mouse still polls at 125hz.
I'm pretty sure it's using the usbhid driver as when I run.....there is a line under bus 03 which reads...
Code:
|__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
... and the mouse is device 2 on bus 3. It is a cheapy Hewlett Packard optical mouse so maybe it doesn't support different poll rates? but any advice would be great.
Bonus question: is there a better way to discover which driver a device uses than lsusb -t?
Edit: just for completion, there is a page here on the arch Linux wiki that talks about how, due to a bug, the usb 3.0 xhci_hcd driver may not heed the usbhid drivers mousepoll rate request, I have however also tried the mouse in a usb port connected to an ohci_hcd root hub (I think this is usb 1.0?) and still have the same problem. I dont have any usb 2.0 ports to try I'm afraid
Edit 2: tried setting the mousepoll parameter through a .conf file in /etc/modprobe.d which did change the value under /sys but still has no real effect.
Bookmarks