Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synaptics touchpad & optional PS2 mouse problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
samoverton
n00b
n00b


Joined: 24 Mar 2004
Posts: 7

PostPosted: Fri Mar 26, 2004 2:43 pm    Post subject: Synaptics touchpad & optional PS2 mouse problem Reply with quote

I have the synaptics driver installed for my touchpad and I have tried my best to follow the guides on these forums for writing my XF86Config, but I have run in to some problems.

I have a PS2 mouse plugged in, and with the config I paste below, everything works fine, no problems. The touchpad has all the extra synaptics features, the ps2 mouse works etc.

However, if I start X without the PS2 mouse plugged in, then a strange thing happens. The touchpad reverts to its non-synaptics behaviour (i.e. the tap-to-click and scroll functions dont work) and the keyboard stops working.

If anybody can suggest what I can do to my X config to make my ps2 mouse optional and not break my keyboard and touchpad when it is unplugged, I would be very grateful. Here is the (relevant parts of) XF86Config:

Code:

Section "Module"
    Load        "dbe"

    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "speedo"
    Load       "glx"
    Load   "synaptics"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"   "true"
EndSection
   
Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "us"
    Option "XkbVariant"   "uk"
EndSection

Section "InputDevice"
    Identifier   "touchpad"
    Driver   "synaptics"
    Option   "Device"   "/dev/input/event1"
    Option   "Protocol"    "event"
    Option      "LeftEdge"     "1900"
    Option      "RightEdge"    "5400"
    Option      "BottomEdge"   "1800"
    Option      "TopEdge"      "3900"
    Option      "FingerLow"    "25"
    Option      "FingerHigh"   "30"
    Option      "MaxTapTime"   "180"
    Option      "MaxTapMove"   "220"
    Option      "VertScrollDelta" "100"
    Option      "MinSpeed"     "0.06"
    Option      "MaxSpeed"     "0.06"
    Option      "AccelFactor"  "0.0010"
    Option   "SendCoreEvents"
EndSection

Section "InputDevice"
    Identifier  "PS2Mouse"
    Driver      "mouse"
    Option      "Protocol"      "IMPS/2"
    Option      "Device"        "/dev/psaux"
    Option   "ZAxisMapping"   "4 5"
    Option   "Emulate3Buttons" "no"
    Option   "SendCoreEvents"
EndSection

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


Thanks again.
Back to top
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Fri Mar 26, 2004 2:51 pm    Post subject: Reply with quote

Try changing protocol to "auto-dev" in Synaptics section. What I think happens is when you don't have your PS/2 mouse plugged in synaptics device shifts to /dev/input/event0. "auto-dev" should discover currently used device automatically (but may introduce slight startup delay as it scans the devices).
_________________
Dmitry
Back to top
View user's profile Send private message
samoverton
n00b
n00b


Joined: 24 Mar 2004
Posts: 7

PostPosted: Fri Mar 26, 2004 3:12 pm    Post subject: Reply with quote

Yes, that was it!

Thanks very much for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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