LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Switch mice? (https://www.linuxquestions.org/questions/red-hat-31/switch-mice-345814/)

MadSkillzMan 07-22-2005 04:56 PM

Switch mice?
 
hey guys i installed RH9 on the gfs compaq. Problem is, i used an optic mouse on the PS/2 port to instlal it. Whenever she uses a ball mouse on the PS/2 port, i guess it spazzes out and the cursor goes all over.

Anyway to switch it to standard PS2? without having to reinstall? im sure there is.

thanks in advance.

aikidoist72 07-24-2005 02:10 AM

The solution is easy, however the question took a while to understand. Please ensure your questions are more concise.

At the top of your xorg.conf file located in /etc/X11 folder you will see this at the top

Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard" "CoreKeyboard"
EndSection

This tells Xorg what to look for regarding mouse, keyboard etc. To load a trackball (or usb mouse etc) you need to tell xorg what to look for by pointing to it's "Identifier"

The "Mouse1" relates to your mouse settings
Eg:-
Code:

Section "InputDevice"
        Identifier        "Mouse1"
        Driver                "mouse"
        Option                "Device"        "/dev/input/mice"
        Option                "Protocol"        "ImPS/2"
        Option                "Buttons"        "12"
        Option                "ZAxisMapping"        "6 4 5 7"
EndSection

Replace the "Mouse1" with the identifier for the trackball and reload the Xserver - or reboot.


All times are GMT -5. The time now is 05:42 AM.