Using kvm switch mouse scrolls too fast - keeps resetting

Asked by heather michel

My mouse scrolls really fast when I use the mouse wheel. It is a Microsoft wireless mouse. My dell usb mouse does the same thing.
I went to about:config in firefox and reset the following however sometimes that fixes it for a while (then mysteriously resets) and sometimes it does not fix it..
mousewheel.withnokey.sysnumlines = false
mousewheel.withnokey.numlines = 1

today it is scrolling at dizzying speeds! Yesterday it was fine... Ideas??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Duane Hinnen
Solved:
Last query:
Last reply:
Revision history for this message
Best Duane Hinnen (duanedesign) said :
#1

Are you dual-booting into Windows or running Ubuntu through Wubi? With some mice booting into Windows changes something in the hardware that must be reset. Try this, while running Ubuntu unplug and plug the mouse back in. This has worked for a lot of people on the forums.

Mouse scroll wheel is actually registered as mouse clicks. You can see how many mouse clicks are happening with each 'notch' of the scroll wheel by running the following command in Terminal (Applications > Accessories > Terminal):

xev

A little window will appear. Position your mouse over the window and try the scroll wheel. Hold the mouse still because it will register mouse movement as well.

The mouse wheel 'up' and 'down' are actually buttons with numbers (4 & 5 on mine). L-click is button 1, R-click button 2, scroll-wheel click button 3, you get the point :) This number assignment will depend on the number of buttons your mouse has. Here is what mine looks like:

ButtonRelease event, serial 33, synthetic NO, window 0x4400001,
    root 0x13f, subw 0x0, time 79907519, (68,73), root:(730,127),
    state 0x800, button 4, same_screen YES

ButtonPress event, serial 33, synthetic NO, window 0x4400001,
    root 0x13f, subw 0x0, time 79908559, (68,73), root:(730,127),
    state 0x0, button 5, same_screen YES

The output is quite verbose, but just try to establish that each notch up or down on the wheel produces one ButtonPress event.

If each wheel notch is producing more than one ButtonPress event, it's a (hardware) mouse problem.
If each wheel notch is producing only one ButtonPress event, it's a system problem (not Firefox).

Revision history for this message
heather michel (hmemichel) said :
#2

I think each scroll is producing more than one click event. I tried my old dell mouse and it is MUCH Better... I really like the side buttons on the microsoft one
cause it goes back / forward on firefox... oh well. lol

I do not dual boot. I do not run ubuntu through wubi.
Unplugging and replugging in the microsoft wireless mouse/keyport port thing worked! (I discovered that it is plugged into the kvm switch... hmmm)

Revision history for this message
heather michel (hmemichel) said :
#3

Mouse is still behaving itself after the last unplug/plug back in.

Revision history for this message
heather michel (hmemichel) said :
#4

Thanks duanedesign, that solved my question.