Synaptics Touchpad

Place to discuss Fedora and/or Red Hat
Post Reply
User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Synaptics Touchpad

Post by Void Main » Sun Mar 14, 2004 11:46 pm

I currently have a Compaq Armada E500 laptop and a couple of Dell Latitude laptops all with Synaptics Touchpads. I used to use the tpconfig utility to turn off the tap mode (I can't stand tap mode). Since that utility can't be run while X is running (and while GPM is running) I had a service script that would execute tpconfig prior to starting X. It used to work very well but with FC1 it seems to only work sometimes.

I notice the driver/utility hasn't been updated in a couple of years so I decided to look for an alternative. Low and behold there is an X module specifically for this, designed for XFree v4.x. It works very well and actually allows you to control all of the options of the Synaptics touchpad. Another bonus is that the options can be manipulated while X is running, as well as have the defaults set in your /etc/X11/XF86Config file.

I have created an RPM for it and added it to my Fedora Repository. See the synaptics* RPMs. I could just let you read the included INSTALL file but it's pretty easy to set up so I'll just give you the basics. I installed the RPM ("apt-get install synaptics", not to be confused with "synaptic"). Then I modified my /etc/X11/XF86Config (always make a backup copy of this file before modifying). I commented out the first "InputDevice" mouse section containing (Mouse0) and added the Synaptics replacement:

Code: Select all

Section "InputDevice"
  Driver        "synaptics"
  Identifier    "Mouse0"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
# Turn this sucker off!!!
#  Option        "MaxTapTime"    "180"
  Option        "MaxTapTime"    "0"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection
Notice I changed "MaxTapTime" default from 180 to 0 which in effect shuts off the "tap mode" (at least it seems to work for me). I got tired of accidentally selecting text by touching the pad. I prefer to have to press the buttons to select text. Refer to the /usr/share/doc/synaptics-0.12.5/INSTALL document if this doesn't work for you.

In addition to these defaults you can change the settings interactively with the included "synclient" command:

Code: Select all

$ synclient
Usage: synclient [-m interval] [-h] [-l] [-?] [var1=value1 [var2=value2] ...]
  -m monitor changes to the touchpad state.
     interval specifies how often (in ms) to poll the touchpad state
  -h Show detected hardware properties
  -l List current user settings
  -? Show this help message
  var=value  Set user parameter 'var' to 'value'.

Code: Select all

$ synclient -h
Hardware properties:
    Model Id     = 00165eb1
    Capabilities = 00804713
    Identity     = 00064715

Code: Select all

$ synclient -l
Parameter settings:
    LeftEdge             = 1700
    RightEdge            = 5300
    TopEdge              = 1700
    BottomEdge           = 4200
    FingerLow            = 25
    FingerHigh           = 30
    MaxTapTime           = 0
    MaxTapMove           = 220
    EmulateMidButtonTime = 75
    VertScrollDelta      = 100
    HorizScrollDelta     = 100
    MinSpeed             = 0.06
    MaxSpeed             = 0.12
    AccelFactor          = 0.001
    EdgeMotionMinZ       = 30
    EdgeMotionMaxZ       = 160
    EdgeMotionMinSpeed   = 1
    EdgeMotionMaxSpeed   = 200
    EdgeMotionUseAlways  = 0
    UpDownScrolling      = 1
    TouchpadOff          = 0
    LockedDrags          = 0
    RTCornerButton       = 2
    RBCornerButton       = 3
    LTCornerButton       = 0
    LBCornerButton       = 0
    TapButton1           = 1
    TapButton2           = 2
    TapButton3           = 3
    CircularScrolling    = 0
    CircScrollDelta      = 0.1
    CircScrollTrigger    = 0

Code: Select all

$ synclient MaxTapTime=180
$ synclient -l
Parameter settings:
    LeftEdge             = 1700
    RightEdge            = 5300
    TopEdge              = 1700
    BottomEdge           = 4200
    FingerLow            = 25
    FingerHigh           = 30
    MaxTapTime           = 180
    MaxTapMove           = 220
    EmulateMidButtonTime = 75
    VertScrollDelta      = 100
    HorizScrollDelta     = 100
    MinSpeed             = 0.06
    MaxSpeed             = 0.12
    AccelFactor          = 0.001
    EdgeMotionMinZ       = 30
    EdgeMotionMaxZ       = 160
    EdgeMotionMinSpeed   = 1
    EdgeMotionMaxSpeed   = 200
    EdgeMotionUseAlways  = 0
    UpDownScrolling      = 1
    TouchpadOff          = 0
    LockedDrags          = 0
    RTCornerButton       = 2
    RBCornerButton       = 3
    LTCornerButton       = 0
    LBCornerButton       = 0
    TapButton1           = 1
    TapButton2           = 2
    TapButton3           = 3
    CircularScrolling    = 0
    CircScrollDelta      = 0.1
    CircScrollTrigger    = 0
Have Fun!

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Fri Mar 19, 2004 5:15 pm

wow! cool! as you know i have a compaq laptop! sadly, i actually like the tapping thing, and am happy with the way it works already!

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Mar 19, 2004 5:55 pm

With this module installed you can change the sensitivity of the tap mode if you want. It also provides virtual scrollbars on the right side and the bottom that works like a mouse wheel. You slide your finger on the right edge and it works just like as if you were moving the right scroll bar. Bottom edge for scrolling left and right (the mouse can be anywhere in the window to do this). Of course I don't like this either so I turn it off as well. :) You also can have virtual buttons by tapping on specific areas of the pad (and of course also something I don't want). :) I personally only want it to do cursor movement but if you like all that other stuff it gives you that ability.

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Sat Mar 20, 2004 11:23 pm

fly us a laptop over void.


i need a laptop :(

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sun Mar 21, 2004 7:30 am

I do have 2 Dell's that I don't use. One is a really old one that is a P100 and I have 2 500MB hard drives for it. One drive I have Debian SID and the other I think has Win98 or 95 on it. Only does 640x480 on the video. The other laptop is like a 300Mhz with like a 4GB drive and does 800x600. I have either RH9 or FC1 on it. Shipping is probably expensive though huh?

Post Reply