Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Second mouse doesn't work in X
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
Tyris
n00b
n00b


Joined: 04 May 2003
Posts: 44
Location: Cincinnati, OH

PostPosted: Fri Jan 14, 2005 11:12 pm    Post subject: Second mouse doesn't work in X Reply with quote

Hi, I'm using X.org 6.8.1.901 on my laptop with the gentoo-dev-sources-2.6.8-r10 kernel. The laptop has a synaptics touchpad and I also have a USB mouse that I prefer to use. If I connect the USB mouse after X has started, the mouse doesn't work even though a device file is created for it. Restarting X or connecting the mouse before X loads works fine. Right now, I have each one set up as separate input devices because I want to use the synaptics driver on the touchpad. While I did learn from the forums here that I could use one input device pointed to /dev/input/mice (mostly likely this would allow the USB mouse to be plugged in at any time), this prohibits me from using the special synaptics driver on the touchpad. Is there a way to be able to connect the USB mouse at any time, and still use the synaptics driver? Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54397
Location: 56N 3W

PostPosted: Fri Jan 14, 2005 11:30 pm    Post subject: Reply with quote

Tyris,

Are both your pointers declared as CorePointers?
I have PS/2 and USB set up as different devices OK.

Code:
Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
#    Option     "Protocol" "ExplorerPS/2"
    Option      "Protocol"      "Auto"
    Option "Device"      "/dev/input/mice"

# Allow Both mice to work for debugging
    Option "SendCoreEvents"
EndSection

Option "Device" "/dev/input/mouse0" works too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tyris
n00b
n00b


Joined: 04 May 2003
Posts: 44
Location: Cincinnati, OH

PostPosted: Sat Jan 15, 2005 5:50 am    Post subject: Reply with quote

Here are those sections of my xorg.conf:

Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "SynMouse" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice     "USBMouse" "SendCoreEvents"
EndSection

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

Section "InputDevice"
        Identifier      "SynMouse"
        Driver          "synaptics"
        Option        "Device"          "/dev/input/mouse0"
        Option        "Protocol"      "auto-dev"
        Option        "LeftEdge"      "1700"
        Option        "RightEdge"     "5300"
        Option        "TopEdge"       "1700"
        Option        "BottomEdge"    "4200"
        Option        "FingerLow"     "25"
        Option        "FingerHigh"    "55"
        Option        "MaxTapTime"    "180"
        Option        "MaxTapMove"    "220"
        Option        "VertScrollDelta" "100"
        Option        "MinSpeed"      "0.06"
        Option        "MaxSpeed"      "0.15"
        Option        "AccelFactor" "0.001"
        Option        "SHMConfig"     "on"
EndSection


I believe the problem is that without the USB mouse connected, the device /dev/input/mouse1 does not exist, so X will ignore that input section, even if the mouse is connected after X loads. Any suggestions? Thanks!
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