Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple Mice?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sharky44
n00b
n00b


Joined: 13 Jul 2002
Posts: 48
Location: USA

PostPosted: Sat Jul 13, 2002 4:41 pm    Post subject: Multiple Mice? Reply with quote

Hi. I've installed Gentoo on my IBM ThinkPad A22m this week, and (with a few glitches along the way, of course) have it working pretty well.

My question is: I have basically two mice -- the trackpoint in the middle of the keyboard, as well as an external USB mouse. It would be very convenient if both of them were functional at the same time. I can get either one to work fine by itself in X, but not both. Here's the relevant portions of my XF86Config file:

-----------------------------------

# TrackPoint
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection

# USB Mouse
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

# This is where the problem lies, I believe:

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

----------------------------------

With this configuration, only the USB mouse works. If I change the line about the mouse to:
InputDevice "Mouse1" "CorePointer"
then the trackpoint works. BUT - If I, say, put both mouse lines in at the same time, only the first one listed works correctly.

Let me know if anyone has had any luck with this. Thanks :-)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Jul 13, 2002 4:46 pm    Post subject: Reply with quote

Out of curiosity, what are /dev/mouse and /dev/input/mouse linked to? (ls -l)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sat Jul 13, 2002 4:46 pm    Post subject: Reply with quote

here the config that works, both touchpad (equals to trackpoint in config) and usb-mouse at the same time:
Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice     "Mouse1" "SendCoreEvents"
EndSection
# touchpad
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
EndSection
# usb optical logitech mouseman with wheel
Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
EndSection

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!
Back to top
View user's profile Send private message
sharky44
n00b
n00b


Joined: 13 Jul 2002
Posts: 48
Location: USA

PostPosted: Sat Jul 13, 2002 5:11 pm    Post subject: Reply with quote

Thanks, it's working now. This is what I was trying to do:

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

But taking your suggestion, ElCondor, this is working great. Thanks:

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

And, just to satisfy your curiousity, kanuslupus: :-)

lr-xr-xr-x 1 root root 10 Jul 13 05:46 /dev/mouse -> misc/psaux
crw-r--r-- 1 root root 13, 63 Dec 31 1969 /dev/input/mice

Thanks for your help!!!
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sat Jul 13, 2002 9:48 pm    Post subject: Reply with quote

sharky44 wrote:
Thanks for your help!!!

That's what we are here for :D

Next time it's your turn to help someone else ;)

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum