LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   usb optical mouse (https://www.linuxquestions.org/questions/slackware-14/usb-optical-mouse-286427/)

ftbreak 02-04-2005 10:59 PM

usb optical mouse
 
i just installed slack 10 on my laptop and the fingerpad works but my mouse won`t. any help? thanks.

tw001_tw 02-04-2005 11:03 PM

(see next post in thread)
gbhil - you put my suggestion to shame! :)

-tw

gbhil 02-04-2005 11:43 PM

Relavant sections of x-config file below -

Code:

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "USB Mouse"
        InputDevice        "Synaptics Touchpad"
EndSection

Section "InputDevice"
        Identifier        "USB Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection
Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
EndSection

of course you may have to change driver and device settings for your touchpad.

ftbreak 02-05-2005 08:49 AM

i`m brand new to linux can you help me on how i get to editing that?

ftbreak 02-05-2005 10:04 AM

i got the mouse working but now the fingerpad doesn`t work.

also the scroll button on the mouse doesn`t work.

gbhil 02-05-2005 08:24 PM

The file you want to edit is /etc/X11/xorg.conf
open it in a text editor, as root.

Look for the section similiar to:

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Likely it will not be called USB mouse, but just mouse.
The line with ZaxisMapping is the control of the wheel. Add this line to your file.
Save the file and restart X server. If wheel does not work, add the following line to the section:

Option "Buttons" "5"

restart x server. If mouse wheel still doesn't work, change the line:

Option "CorePointer"
to this:
Option "SendCoreEvents" "True"


All times are GMT -5. The time now is 06:26 PM.