Differences between revisions 1 and 43 (spanning 42 versions)
Revision 1 as of 2005-01-15 03:58:35
Size: 1956
Editor: anonymous
Comment:
Revision 43 as of 2014-02-05 14:59:15
Size: 5687
Editor: ?meffisto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en
Line 2: Line 3:
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: ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/SynapticsTouchpad|Français]] - [[it/SynapticsTouchpad|Italiano]]-~
----
Line 4: Line 6:
1. Using apt or the Synaptic Package Manager (not to be confused with the Synaptics touchpad software), install "xfree86-driver-synaptics". <<TableOfContents>>
Line 6: Line 8:
2. I recommend you install "qsynaptics" as well, or perhaps "ksynaptics" if you prefer; in this case I am using qsynaptics. == Introduction ==
Line 8: Line 10:
3. Open a terminal, "su" to root, and open "/etc/X11/["XF86Config"]-4" in your text editor. This document is applicable to squeeze, wheezy and jessie.
Line 10: Line 12:
4. Add/replace in the "InputDevice" section for the touchpad the following lines: == Determining the type of Touchpad ==

The following command will tell you whether you have a Synaptics, ALPS or [[DebianEeePC/HowTo/ElantechTouchpad|Elantech touchpad]]:
Line 12: Line 17:
 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
egrep -i 'synap|alps|etps' /proc/bus/input/devices
Line 34: Line 20:
5. Add/replace these lines to the "ServerLayout" section: (Elantech support was enabled in Linux kernel 2.6.32-4.)

== Desktop configuration ==

Some desktop environments such as GNOME and KDE can allow you to adjust settings of your touchpad through a graphical system settings panel.

If you can't find a Touchpad or Synaptics tab in your system settings, or the settings you wish to change cannot be changed through the gui, follow the instructions below to configure system-wide via {{{/etc/xorg.conf.d/synaptics.conf}}}. However, be aware that it is likely your desktop preferences, if you have them, will override your system-wide settings.

=== Squeeze ===

On GNOME, go to System -> Preferences -> Mouse, there should be a "Touchpad" tab.

On KDE, go to System Settings -> Input Devices, there should be a "Touchpad" tab. For KDE4, you might need to install the DebianPkg:kde-config-touchpad package first (eg: {{{sudo apt-get install kde-config-touchpad}}}).

== System-wide configuration ==

=== Read the manual ===

This manual will tell you all the options that are available for the synaptics driver:
Line 36: Line 41:
      Section "ServerLayout"
      ...
              InputDevice "ConfiguredMouse" "CorePointer"
              InputDevice "Generic Mouse" "AlwaysCore"
              InputDevice "Synaptics Mouse" "AlwaysCore"
      ...
man 4 synaptics
Line 44: Line 44:
6. Save the file and reboot. (You may be able to modprobe the synaptics module and restart X instead of rebooting, but this is how I did it.) === Override options in /etc/X11/xorg.conf.d/synaptics.conf ===
Line 46: Line 46:
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. At start, Xorg reads vendor-supplied configuration commands from directory /usr/share/X11/xorg.conf.d (details in {{{man xorg.conf.d}}}).

If you want to override the defaults system-wide, use a file in {{{/etc/X11/xorg.conf.d}}}, e.g. {{{/etc/X11/xorg.conf.d/synaptics.conf}}}, for configuration (but this will work just as well in a combined {{{/etc/X11/xorg.conf}}} file). {{{/usr/share/X11/xorg.conf.d}}} contains distro-supplied samples which can be copied over (or at least keep an eye on their settings when creating your own configuration). The following example shows how to enable tapping and how to configure various other options; you probably won't need everything in it. Comment out any old config for synaptics before replacing it with this new config.

(DebianPkg:xserver-xorg-input-synaptics has tapping disabled by default for touchpads with one or more physical buttons; see {{{/usr/share/doc/xserver-xorg-input-synaptics/NEWS.Debian.gz}}}. For a list of available options, see {{{synclient -l}}} . Not all options are appropriate; for example, Elantech touchpads don't support pressure, and many other touchpads don't support multitouch.)

{{{
Section "InputClass"
 Identifier "Touchpad" # required
 MatchIsTouchpad "yes" # required
 Driver "synaptics" # required
 Option "MinSpeed" "0.5"
 Option "MaxSpeed" "1.0"
 Option "AccelFactor" "0.075"
 Option "TapButton1" "1"
 Option "TapButton2" "2" # multitouch
 Option "TapButton3" "3" # multitouch
 Option "VertTwoFingerScroll" "1" # multitouch
 Option "HorizTwoFingerScroll" "1" # multitouch
 Option "VertEdgeScroll" "1"
 Option "CoastingSpeed" "8"
 Option "CornerCoasting" "1"
 Option "CircularScrolling" "1"
 Option "CircScrollTrigger" "7"
 Option "EdgeMotionUseAlways" "1"
 Option "LBCornerButton" "8" # browser "back" btn
 Option "RBCornerButton" "9" # browser "forward" btn
EndSection
}}}

It is normal for a touchpad to be presented as both a Synaptics device and as an ImPS/2 device. If this is so, then {{{/var/log/Xorg.0.log}}} should show that X has found a touchpad on {{{/dev/input/event6}}} (for example) and probably also that it has failed to do so on {{{/dev/input/mouse0}}} (for example). This is fine.

=== Multitouch ===

If multitouch doesn't work for you, your hardware may not support it, but you can use the following options to emulate multitouch which allows most of the features to work. Try adding these lines to the Touchpad section (shown above):

{{{
        Option "EmulateTwoFingerMinZ" "35"
        Option "EmulateTwoFingerMinW" "8"
}}}

You can check which buttons are reported in Xorg.0.log to see if you have multitouch. A touchpad without this capability reports only the usual "left", "right" and "middle" buttons:

{{{
$ grep "TouchPad: buttons:" /var/log/Xorg.0.log
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle
}}}

A touchpad with multitouch reports "double" for two-finger multitouch and "triple" for three-finger multitouch:

{{{
$ grep "TouchPad: buttons:" /var/log/Xorg.0.log
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple
}}}

== 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 control panel. This can of course be omitted. If you leave it in, you should make sure all new users have sensible options set by copying a working .qsynaptics to {{{/etc/skel}}}.

----
CategoryLaptopComputer

Translation(s): English - Français - Italiano


Introduction

This document is applicable to squeeze, wheezy and jessie.

Determining the type of Touchpad

The following command will tell you whether you have a Synaptics, ALPS or Elantech touchpad:

egrep -i 'synap|alps|etps' /proc/bus/input/devices

(Elantech support was enabled in Linux kernel 2.6.32-4.)

Desktop configuration

Some desktop environments such as GNOME and KDE can allow you to adjust settings of your touchpad through a graphical system settings panel.

If you can't find a Touchpad or Synaptics tab in your system settings, or the settings you wish to change cannot be changed through the gui, follow the instructions below to configure system-wide via /etc/xorg.conf.d/synaptics.conf. However, be aware that it is likely your desktop preferences, if you have them, will override your system-wide settings.

Squeeze

On GNOME, go to System -> Preferences -> Mouse, there should be a "Touchpad" tab.

On KDE, go to System Settings -> Input Devices, there should be a "Touchpad" tab. For KDE4, you might need to install the kde-config-touchpad package first (eg: sudo apt-get install kde-config-touchpad).

System-wide configuration

Read the manual

This manual will tell you all the options that are available for the synaptics driver:

man 4 synaptics

Override options in /etc/X11/xorg.conf.d/synaptics.conf

At start, Xorg reads vendor-supplied configuration commands from directory /usr/share/X11/xorg.conf.d (details in man xorg.conf.d).

If you want to override the defaults system-wide, use a file in /etc/X11/xorg.conf.d, e.g. /etc/X11/xorg.conf.d/synaptics.conf, for configuration (but this will work just as well in a combined /etc/X11/xorg.conf file). /usr/share/X11/xorg.conf.d contains distro-supplied samples which can be copied over (or at least keep an eye on their settings when creating your own configuration). The following example shows how to enable tapping and how to configure various other options; you probably won't need everything in it. Comment out any old config for synaptics before replacing it with this new config.

(xserver-xorg-input-synaptics has tapping disabled by default for touchpads with one or more physical buttons; see /usr/share/doc/xserver-xorg-input-synaptics/NEWS.Debian.gz. For a list of available options, see synclient -l . Not all options are appropriate; for example, Elantech touchpads don't support pressure, and many other touchpads don't support multitouch.)

Section "InputClass"
        Identifier      "Touchpad"                      # required
        MatchIsTouchpad "yes"                           # required
        Driver          "synaptics"                     # required
        Option          "MinSpeed"              "0.5"
        Option          "MaxSpeed"              "1.0"
        Option          "AccelFactor"           "0.075"
        Option          "TapButton1"            "1"
        Option          "TapButton2"            "2"     # multitouch
        Option          "TapButton3"            "3"     # multitouch
        Option          "VertTwoFingerScroll"   "1"     # multitouch
        Option          "HorizTwoFingerScroll"  "1"     # multitouch
        Option          "VertEdgeScroll"        "1"
        Option          "CoastingSpeed"         "8"
        Option          "CornerCoasting"        "1"
        Option          "CircularScrolling"     "1"
        Option          "CircScrollTrigger"     "7"
        Option          "EdgeMotionUseAlways"   "1"
        Option          "LBCornerButton"        "8"     # browser "back" btn
        Option          "RBCornerButton"        "9"     # browser "forward" btn
EndSection

It is normal for a touchpad to be presented as both a Synaptics device and as an ImPS/2 device. If this is so, then /var/log/Xorg.0.log should show that X has found a touchpad on /dev/input/event6 (for example) and probably also that it has failed to do so on /dev/input/mouse0 (for example). This is fine.

Multitouch

If multitouch doesn't work for you, your hardware may not support it, but you can use the following options to emulate multitouch which allows most of the features to work. Try adding these lines to the Touchpad section (shown above):

        Option          "EmulateTwoFingerMinZ"  "35"
        Option          "EmulateTwoFingerMinW"  "8"

You can check which buttons are reported in Xorg.0.log to see if you have multitouch. A touchpad without this capability reports only the usual "left", "right" and "middle" buttons:

$ grep "TouchPad: buttons:" /var/log/Xorg.0.log
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle

A touchpad with multitouch reports "double" for two-finger multitouch and "triple" for three-finger multitouch:

$ grep "TouchPad: buttons:" /var/log/Xorg.0.log
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple

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 control panel. This can of course be omitted. If you leave it in, you should make sure all new users have sensible options set by copying a working .qsynaptics to /etc/skel.


CategoryLaptopComputer