LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mounting USB mouse? (https://www.linuxquestions.org/questions/slackware-14/mounting-usb-mouse-236010/)

percent20 09-27-2004 09:07 PM

Mounting USB mouse?
 
Hello I am new to slackware I have been using suse 9.1 pro and it automatically mounts my usb mouse when i plug it in. But now i am running slackware 10.0 and i am needint to mount my usb mouse and i have no idea how. I have been doing some searching on the forums to no avail so now i am posting.

Plz help.

Berto 09-27-2004 09:21 PM

Well, USB mice actually aren't mountable. But if you just need to get it going you'll need to run gpm-config for the console, and xorgconfig for X-Windows (remembering to select "IMPS/2" as your mouse type).

But it's funny that you'd run into that problem if you've allready been running Slackware, since GPM is supposed to get configured during setup. How long have you been running Slackware?

percent20 09-27-2004 09:35 PM

3 days

carboncopy 09-28-2004 08:09 AM

What does lsusb says?

jdvelasquezs 09-28-2004 10:43 AM

I had the same problem and it was cause /dev/mouse was pointing to /dev/psaux, try changing it to /dev/input/mice insted.

# rm /dev/mouse

then

# ln -sf /dev/input/mice /dev/mouse

and then reboot

it worked for me :)

eyeliner 10-09-2004 05:19 PM

Hi jdvelasquezs!

I've followed your sugestion and found it works.

BUT!

If I unplug my USB mammal, how will I make X use
my laptop's default rat? I can only use the USB one.

Thanks for your help.

blk96gt 10-09-2004 09:25 PM

If you don't mind the USB mouse only working in X, then you can do the following.

First, delete the symlink you made to /dev/mouse by doing:
Code:

rm /dev/mouse
and then making a symlink back to the default mouse by using this command:
Code:

ln -s /dev/psaux /dev/mouse
Next add the following to your xorg.conf file underneath where your your other mouse is configured:
Code:

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

Then add the following line to Section "ServerLayout":
Code:

InputDevice "USBMouse" "AlwaysCore"
Make sure the other mouse is set to CorePointer and then this should work.

chriscore 10-10-2004 02:36 AM

Quote:

Originally posted by jdvelasquezs
I had the same problem and it was cause /dev/mouse was pointing to /dev/psaux, try changing it to /dev/input/mice insted.

# rm /dev/mouse

then

# ln -sf /dev/input/mice /dev/mouse

and then reboot

it worked for me :)

Thanks jdvelasquezs, this also worked for me. Great work!

eyeliner 10-10-2004 02:27 PM

Did it. Worked.

Strange that the two devices work at the same time,
but I guess it will have to suffice.

Thanks.:D


All times are GMT -5. The time now is 10:39 AM.