

Tip: When using a smaller than default interval you may want to adjust the Mouse acceleration option VelocityScale to match. To change the polling interval without rebooting Similarly, you may use jspoll or kbpoll to change the polling rate of gamepads/joysticks or keyboards. This example requests a polling rate of 250Hz. etc/modprobe.d/nf options usbhid mousepoll=4 To change the configuration create the following file: $ systool -m usbhid -A mousepoll Module = "usbhid" The current value of the option can be verified with: The default value is 0 which means the module uses the interval requested by the device(s). To configure the polling rate use the mousepoll option of the usbhid kernel module. The Ivl of the hub is independent of the device and does not affect the polling rate of the device. S: Manufacturer=Linux 4.1.18-1-lts uhci_hcd The speed of the hub that the device is attached to can be shown with the following command with the same Bus=xx as the device: "Low Speed" devices may not be capable of polling at intervals less than 8ms.Īll USB hubs should be capable of at least "Full Speed" 12Mbit/s. The speed of a device can be shown as explained in #Display polling interval. Many pointing devices are "Low Speed" 1.5Mbit/s devices. USB devices are designed to operate at a certain bitrate. $ lsusb -vd 045e: 0024 | grep bInterval bInterval 10 If debugfs or root access are not available, the polling interval can be shown with: For information about the other fields, see the kernel documentation. The Spd is the device speed explained in #USB device speed. The Ivl is the polling interval this device has requested 10ms (and actually reports every 8ms as explained in #Polling rate and polling interval). Then run the following as root with those IDs to display the debug information for that device: Trackball Explorerīus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub $ lsusb Bus 001 Device 002: ID 045e: 0024 Microsoft Corp. See BBS.ĭevice information including polling interval can be found in debugfs if it is mounted and you have root access.įirst, find the vendor and product IDs of your device with:

Note: This only shows the polling interval requested by the device and not the actual interval being used. Or use a website based checker like the one provided by CPS-Check.
Mw2 mouse acceleration fix windows#
If the Latest value does not stabilize and switches between two values then the attempted polling rate is faster than the device is capable of, see #USB device speed.Īlternatively, Windows tools such as DirectX mouserate checker can be run using Wine.

Now move the mouse continuously in large circles until the displayed Average stabilizes then press Ctrl+c to exit.
Mw2 mouse acceleration fix install#
You can install it from evhz-git AUR and execute as root: The evhz tool can display the actual mouse refresh rate. However, this puts more load on the CPU, so care should be taken when adjusting this value. In situations where lag is critical-for example games-some users decrease the interval to as little as possible. If the polling rate is 125 Hz, the mouse position will be updated every 8 milliseconds. The following table shows the relation between polling rate Hertz and the corresponding interval milliseconds (rate = 1000 / interval). Thus, an interval setting of 10ms will actually use 8ms, 7ms will use 4ms, etc. However, USB controllers round the interval down to the nearest power of two. The polling interval is measured in milliseconds (ms) and equates to lag time. The polling rate of a device is measured in Hertz (Hz) and is determined by the polling interval.
