Differences between revisions 5 and 6
Revision 5 as of 2007-08-05 05:43:44
Size: 4265
Editor: ?timrichardson
Comment:
Revision 6 as of 2008-10-08 19:15:29
Size: 5016
Editor: ?FrodeHatlevik
Comment: Adding info on using syndaemon
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
3. install a package to act as a control panel for the touchpad. I used gsynaptics; there are a number of choices. 3. install a package to act as a control panel for the touchpad. I used gsynaptics; there are a number of choices, including ksynaptics and qsynaptics.
Line 86: Line 86:

=== The syndaemon Helper ===
syndaemon is able to help with a number of things, including palm-check and such. one possibility for loading this at X startup for all users is to add a separate file in /etc/X11/Xsession.d (i.e. /etc/X11/Xsession.d/98x11-syndaemon){{{
# This file is sourced by Xsession(5), not executed.

# Load settings from ~/.qsynaptics
/usr/bin/qsynaptics -r

# start synaptics daemon to enable proper communication with touchpad
/usr/bin/syndaemon -d -t -k -i 1
}}}This also loads settings from the qsynaptics controlpanel. This can of course be omited. If you leave it in, you should make sure all new users have sensible options set by copying a working .qsynaptics to /etc/skel.

Debian Lenny (testing), kernel 2.6.21

On a Dell Latitude C610, very little was needed to configure the more advanced features of the touchpad. The touchpad was detected and package free86-driver-synaptics was already installed.

1. Edit /etc/X11/xorg.conf. Find the section regarding the Touchpad (which is correctly recognised during installation) and add the option SHMConfig "on"

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"     "on"
EndSection

2. Restart X: close all unsaved documents, then ctrl-alt-backspace (you could also reboot)

3. install a package to act as a control panel for the touchpad. I used gsynaptics; there are a number of choices, including ksynaptics and qsynaptics.

4. Launch your control panel to finish configuration. The touchpad works as a mouse even before these steps, but with the control panel you can add the functionality of the right edge of the touchpad being a scroll cursor zone (like a mouse scroll wheel).

At this point, the touchpad works, including in firefox/iceweasel.

Read the rest of this page for more tips, which are still relevant to recent kernels.

Debian 3.1, kernel 2.6.10

Here is my experience installing the software for a Synaptics touchpad on a Compaq Presario 1690 laptop. Note that this is based on a fresh Debian 3.1 testing install with a 2.6.10 kernel from unstable. Some config file lines may differ from your setup:

1. Using apt or the Synaptic Package Manager (not to be confused with the Synaptics touchpad software), install "xfree86-driver-synaptics". Then read and follow the package's README.Debian file since it is likely more up to date and correct than this document.

2. I recommend you install "qsynaptics" as well, or perhaps "ksynaptics" if you prefer; in this case I am using qsynaptics.

3. Open a terminal, "su" to root, and open "/etc/X11/["XF86Config"]-4" in your text editor.

4. Add/replace in the "?InputDevice" section for the touchpad the following lines:

 Section "InputDevice"
  Identifier    "Synaptics Mouse"
  Driver        "synaptics"
  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"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.09"
  Option        "MaxSpeed"      "0.18"
  Option        "AccelFactor"   "0.0015"
  Option        "["SHMConfig"]" "on"
 #  Option      "Repeater"      "/dev/ps2mouse"
 EndSection

5. Add/replace these lines to the "?ServerLayout" section:

      Section "ServerLayout"
      ...
              InputDevice    "ConfiguredMouse" "CorePointer"
              InputDevice    "Generic Mouse"   "AlwaysCore"
              InputDevice    "Synaptics Mouse" "AlwaysCore"
      ...

6. Save the file and restart X (Ctrl+Alt+Backspace). (You may have to reboot, as well. I don't know why, but it didn't work for me until I rebooted, and I'm not knowledgable enough to know what to do to make it work without rebooting.)

7. Log in to your GUI and try running qsynaptics or ksynaptics. If all is well, qsynaptics should report that all is well and you should be able to configure your touchpad.

(Thanks to Craig Fields of houseofcraig.net for his assistance.)

8. Firefox has the default configuration to interpret horizontal scrolling as back or forward button events. If you don't want this you can disable horizontal scrolling via qsynaptics or ksynaptics, but if you want to keep horizontal scrolling (e.g. for viewing large images) do the following:

  • open Mozilla/Firefox
  • enter about:config in the location bar
  • set mousewheel.horizscroll.withnokey.action to "0"
  • set mousewheel.horizscroll.withnokey.sysnumlines to "true"

(This is not stricktly about touchpad configuration, but there is a lot of wrong information on that configuration on google, so I thought it would be useful here.)

The syndaemon Helper

syndaemon is able to help with a number of things, including palm-check and such. one possibility for loading this at X startup for all users is to add a separate file in /etc/X11/Xsession.d (i.e. /etc/X11/Xsession.d/98x11-syndaemon)

# This file is sourced by Xsession(5), not executed.

# Load settings from ~/.qsynaptics
/usr/bin/qsynaptics -r

# start synaptics daemon to enable proper communication with touchpad
/usr/bin/syndaemon -d -t -k -i 1

This also loads settings from the qsynaptics controlpanel. This can of course be omited. If you leave it in, you should make sure all new users have sensible options set by copying a working .qsynaptics to /etc/skel.