LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Starting 2nd mouse with gpm (https://www.linuxquestions.org/questions/slackware-14/starting-2nd-mouse-with-gpm-239065/)

promark 10-05-2004 11:27 AM

Starting 2nd mouse with gpm
 
Ok, I have a laptop with a ps2 mouse and a usb mouse plugged in. in XP I can use both at the same time, however under Slackware 9.1 I can't seem to accomplish this. I set xf86config to use the auto mouse option, but it still won't work. So I think it might be a gpm option... I could be wrong but if i were to have 2 mouses with gpm and x to auto it should work shouldn't it??
What would I type that into konsole/bash?

KMcD 10-05-2004 11:38 AM

put the following into your /etc/X11/xorg.conf (or xfree86.conf) as the case may be:

Code:

Section "InputDevice"
    Identifier        "Mouse2"
    Driver        "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"

just after the EndSection for your mousepad (which will prob be called Mouse1).

Then at the end of the file add this line after the line for the usb mouse after the similar line for Mouse1

Code:

    InputDevice "Mouse2" "SendCoreEvents"
That worked for my laptop.

promark 10-06-2004 02:34 PM

That didn't work. I've even tried setting up diffrent /dev/mouse and diffrent dev/input/mouse and so on, are there any other options that I could mess around with? Is there a way i could link my usb mouse to /dev/mouse? I'm using slackware 9.1 so it would be xfree86 also.

promark 10-06-2004 02:41 PM

nevermind, it works now.. Would anybody know how to stop gpm from loading at startup?

gbonvehi 10-06-2004 02:53 PM

Just type: chmod -x /etc/rc.d/rc.gpm
Remember that non executable files won't be loaded :)


All times are GMT -5. The time now is 07:24 PM.