LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Mouse Scrollwheel Doesn't work (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-scrollwheel-doesn%27t-work-340438/)

alan_daniel 07-05-2005 11:06 PM

USB Mouse Scrollwheel Doesn't work
 
I just installed Debian 3.1 on an IBM Thinkpad R31, and I have a USB optical mouse (Microsoft) with two buttons and a scrollwheel, which can act as a third button (5 total in linux I guess). The scrollwheel doesn't work, however. It will act as a third mouse button when clicked, but it won't scroll. Here's the mouse section of my XF86Config-4:

Code:

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"      "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "IMPS/2"
        Option          "ZaxisMapping"          "4 5"
        Option          "Buttons"              "5"
EndSection

Anyone know what I can do to make this correct?

HenchmenResourc 07-05-2005 11:16 PM

First thing I'm noticing is that your setup to emulate a 3 button mouse when you are using a three button mouse, unless you like to press both the left and right mouse buttons to do the same thing as pressing the middle button (mouse wheel press) you should go ahead and delete that line from you config file, after making a backup of your config file of course. After fixing that try restarting you X windows server and see if that changes anything, if not I have noticed in my own config file that the line:

Option "Buttons" "5"

has always listed two more buttons than there really are on my mouse ie. my mouse has 7 buttons but in the config file it says

Option "Buttons" "9"

you might try changing that to 7 too see if it changes anything.


if nether of these help write back and let us know what happened.

alan_daniel 07-05-2005 11:26 PM

Oh, I'm sorry, I didn't mention that the first section is the trackpoint mouse that is actually in the laptop. Only the second section is the usb mouse. I will still try the 7-button mouse thing and see if that works. Should I change the ZAxisMapping to 6 7 instead of 4 5?

HenchmenResourc 07-05-2005 11:29 PM

I would leave the ZaxisMapping alone at first if it doesn't work with then change the mapping.

Rast 07-06-2005 12:57 PM

i have simular problem, here is the topic http://www.linuxquestions.org/questi...hreadid=339972
plz help


All times are GMT -5. The time now is 01:32 AM.