Mouse polling frequency

If anyone knows how to increase mouse polling frequency i would be happy.

Is this what you’re looking for?

It was helpful but i don’t thinks that’s what i’m looking for. What i mean is an actual polling frequency. With openSUSE it’s default 100Hz i think where i want 1000 (my mouse can do that).

Mice are not polled. They send data to the computer whenever they like.

Of course i agree with that but it depends from the computer “how often” it checks for changes thus the polling frequency.

The computer doesn’t “check”, it doesn’t poll, period. The mouse input data goes into the device driver, which then passes it on to the process which has the mouse device open, in this case the X server, which then passes it on to the X application as X events. What the app does is up to the app. A badly written app could neglect to look at incoming events for a while.

When the mouse is not moving, the computer is not sending commands asking where the mouse is. Rather, when the mouse moves, it sends delta position data. Same with keyboards. The computer is not sending commands asking is a key depressed? When a key is depressed, some data is sent.

Alright, i understand what You are saying but why then are there so many post how to get mouse polling frequency higher?? There are examples that if the polling frequency is too high computer might have problems to sleep. Is everything just a “hoax”?

Are these posts made by people who understand how operating systems work, or are they the kind of people who would buy gold plated speaker cable?

Mind you, the microcontroller in the mouse might poll and it could be that a mouse that checked its sensors more often would be more sensitive to small movements and have a lower latency. I don’t know that a difference of 100 vs 1000 times per second would be noticeable, given the delays in apps responding, but then I’m not a gamer.

Well that’s the point. When i was using XP there was a hack to change polling frequency and after applying that the mouse worked reeeeeaaallllyyy fast. And i mean FAST not just fast. I want to apply such “patch” in Linux (i already have a problem where i can’t set 75Hz refresh frequency on my monitor when using DVI, yes it supports it).

Maybe you have to send some command to the mouse to set its polling frequency, dunno.

There are two things DPI which i can have up to 2500 (at least vendor says so) and that polling frequency. I found how to do it.
On Ubuntu forum
type in as ROOT
rmmod usbhid && modprobe usbhid mousepoll=2

I wonder now how to make it automatic so that every start i can have it…Any thoughts? I understand i need to pass it to some startup script but where can i find that script connected with usbhid?

I found such solution here but i don’t know how to set it in openSUSE as settings for usbhid are stored somewhere else?

Changing the mouse polling? - Ubuntu Forums

Any help appreciated

Those settings seem to suggest its not polling they are changing but rather the resolution of the mouse. It “faster” because they make the mouse “cover more ground” with the same displacement.

I’m wondering
is putting

options usbhid mousepoll=1
the same as in Ubuntu putting it in /etc/modules?

Well it’s natural you’ll increase resolution of the mouse by increasing polling :slight_smile: Well to be honest it is weird but even using the wheel while browsing is smoother.

I have something like a “better feeling” of the pointer now.

No, the two are independent. Polling affects how often the position is updated whereas resolution affects the ratio of delta positions to the physical displacement. Don’t confuse time and space. That’s easy to do after a few beers. :stuck_out_tongue:

Well polling frequency affects smoothness and DPI can be set manually (in my case at least with a button on the mouse). So for example having high DPI while having low polling frequency won’t help too much. But having high poll will help with high DPI. Anyway i’m set :slight_smile: