Synaptics (alps) touchpad after suspend/hibernation
Łukasz Maśko
ed at yen.ipipan.waw.pl
Mon Nov 29 03:48:41 PST 2010
Dnia poniedziałek, 29 listopada 2010, Peter Hutterer napisał:
> On Sun, Nov 28, 2010 at 12:33:43PM +0100, Łukasz Maśko wrote:
> > I've noticed, that after suspend/hibernation the "tapping"
> > functionality is not restored properly - all the TapButton* properties
> > are set to 0. I have to manually set TapButton1 to 1, then tapping
> > starts to work properly. Is it a "standard" behaviour?
>
> how did you set the tap buttons?
> what version of the driver/server?
> does the device disappear during suspend (Xorg.log will show)
The buttons are set via an /etc/X11/xorg.conf.d/50-synaptics.conf file,
which looks like this:
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "SHMConfig" "true"
Option "LeftEdge" "120"
Option "RightEdge" "900"
Option "TopEdge" "120"
Option "BottomEdge" "660"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
Option "HorizEdgeScroll" "1"
Option "VertEdgeScroll" "1"
Option "UpDownScrolling" "1"
Option "LeftRightScrolling" "1"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "VertTwoFingerScroll" "0"
Option "HorizTwoFingerScroll" "0"
Option "HorizScrollDelta" "20"
Option "VertScrollDelta" "20"
Option "FingerLow" "18"
Option "FingerHigh" "19"
Option "FingerPress" "256"
Option "PalmDetect" "0"
Option "PalmMinWidth" "10"
Option "PalmMinZ" "200"
Option "MinSpeed" "2"
Option "MaxSpeed" "2.5"
Option "AccelFactor" "0.020"
Option "MaxTapMove" "110"
Option "MaxTapTime" "180"
Option "MaxDoubleTapTime" "300"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "0"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "Emulate3Buttons" "on"
EndSection
Most of it is probably not needed, for I have an Alps, not a Synaptics
touchpad. I'm using Xorg server ver. 1.9.2 with synaptics driver 1.3.0.
During startup, I'm getting something like this in my Xorg log file:
[ 97.614] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint
TouchPad (/dev/input/event10)
[ 97.614] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"evdev touchpad catchall"
[ 97.614] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"touchpad catchall"
[ 97.614] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"touchpad catchall"
[ 97.614] (II) LoadModule: "synaptics"
[ 97.615] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 97.627] (II) Module synaptics: vendor="X.Org Foundation"
[ 97.627] compiled for 1.9.0, module version = 1.3.0
[ 97.627] Module class: X.Org XInput Driver
[ 97.627] ABI class: X.Org XInput driver, version 11.0
[ 97.627] (II) Synaptics touchpad driver version 1.3.0
[ 97.627] (**) Option "Device" "/dev/input/event10"
[ 97.732] (--) AlpsPS/2 ALPS DualPoint TouchPad: x-axis range 0 - 1023
[ 97.732] (--) AlpsPS/2 ALPS DualPoint TouchPad: y-axis range 0 - 767
[ 97.732] (--) AlpsPS/2 ALPS DualPoint TouchPad: pressure range 0 - 127
[ 97.732] (--) AlpsPS/2 ALPS DualPoint TouchPad: buttons: left right
middle
[ 97.732] (**) Option "SHMConfig" "true"
[ 97.732] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid finger width
range. defaulting to 0 - 16
[ 97.732] (**) Option "LeftEdge" "120"
[ 97.732] (**) Option "RightEdge" "900"
[ 97.732] (**) Option "TopEdge" "120"
[ 97.733] (**) Option "BottomEdge" "660"
[ 97.733] (**) Option "FingerLow" "18"
[ 97.733] (**) Option "FingerHigh" "19"
[ 97.733] (**) Option "FingerPress" "256"
[ 97.733] (**) Option "MaxTapTime" "180"
[ 97.733] (**) Option "MaxTapMove" "110"
[ 97.733] (**) Option "MaxDoubleTapTime" "300"
[ 97.733] (**) Option "EmulateMidButtonTime" "75"
[ 97.733] (**) Option "EmulateTwoFingerMinZ" "100"
[ 97.733] (**) Option "VertScrollDelta" "20"
[ 97.733] (**) Option "HorizScrollDelta" "20"
[ 97.733] (**) Option "VertEdgeScroll" "1"
[ 97.733] (**) Option "HorizEdgeScroll" "1"
[ 97.733] (**) Option "VertTwoFingerScroll" "0"
[ 97.733] (**) Option "HorizTwoFingerScroll" "0"
[ 97.733] (**) Option "EdgeMotionMinSpeed" "200"
[ 97.733] (**) Option "EdgeMotionMaxSpeed" "200"
[ 97.733] (**) Option "RTCornerButton" "0"
[ 97.733] (**) Option "RBCornerButton" "0"
[ 97.734] (**) Option "LTCornerButton" "0"
[ 97.734] (**) Option "LBCornerButton" "0"
[ 97.734] (**) Option "TapButton1" "1"
[ 97.734] (**) Option "TapButton2" "3"
[ 97.734] (**) Option "TapButton3" "0"
[ 97.734] (**) Option "ClickFinger1" "1"
[ 97.734] (**) Option "ClickFinger2" "3"
[ 97.734] (**) Option "ClickFinger3" "2"
[ 97.734] (**) Option "PalmDetect" "0"
[ 97.734] (**) Option "PalmMinWidth" "10"
[ 97.734] (**) Option "PalmMinZ" "200"
[ 97.734] (**) Option "MinSpeed" "2"
[ 97.734] (**) Option "MaxSpeed" "2.5"
[ 97.734] (**) Option "AccelFactor" "0.020"
[ 97.812] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
[ 97.812] (**) AlpsPS/2 ALPS DualPoint TouchPad: always reports core
events
[ 97.852] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS
DualPoint TouchPad" (type: TOUCHPAD)
[ 97.852] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) MinSpeed is now
constant deceleration 0.5
[ 97.852] (**) AlpsPS/2 ALPS DualPoint TouchPad: MaxSpeed is now 1.25
[ 97.852] (**) AlpsPS/2 ALPS DualPoint TouchPad: AccelFactor is now 0.020
[ 97.852] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) keeping
acceleration scheme 1
[ 97.852] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
profile 1
[ 97.853] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
factor: 2.000
[ 97.853] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
threshold: 4
[ 97.932] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
and it is OK. During suspend/hibernation touchpad is removed from the system
and is reconfigured after resuming. But then something strange happens, for
in the log file I can see something like this:
[ 9230.150] (--) AlpsPS/2 ALPS DualPoint TouchPad auto-dev sets device to
/dev/input/event10
[ 9230.210] (**) Option "Device" "/dev/input/event10"
[ 9230.330] (--) AlpsPS/2 ALPS DualPoint TouchPad: x-axis range 0 - 1023
[ 9230.330] (--) AlpsPS/2 ALPS DualPoint TouchPad: y-axis range 0 - 767
[ 9230.330] (--) AlpsPS/2 ALPS DualPoint TouchPad: pressure range 0 - 127
[ 9230.330] (--) AlpsPS/2 ALPS DualPoint TouchPad: buttons: left right
middle
[ 9230.330] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid finger width
range. defaulting to 0 - 16
[ 9230.410] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
[ 9230.410] (**) AlpsPS/2 ALPS DualPoint TouchPad: always reports core
events
[ 9230.450] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS
DualPoint TouchPad" (type: TOUCHPAD)
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) MinSpeed is now
constant deceleration 2.5
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: MaxSpeed is now 1.75
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: AccelFactor is now 0.156
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) keeping
acceleration scheme 1
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
profile 1
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
factor: 2.000
[ 9230.450] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration
threshold: 4
[ 9230.530] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
[ 9230.530] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint
TouchPad (/dev/input/event10)
[ 9230.530] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"evdev touchpad catchall"
[ 9230.530] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"touchpad catchall"
[ 9230.530] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass
"touchpad catchall"
[ 9230.530] (II) Synaptics touchpad driver version 1.3.0
[ 9230.530] (**) Option "Device" "/dev/input/event10"
[ 9230.570] (**) Option "SHMConfig" "true"
[ 9230.570] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid x-axis range.
defaulting to 1615 - 5685
[ 9230.570] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid y-axis range.
defaulting to 1729 - 4171
[ 9230.570] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid pressure range.
defaulting to 0 - 256
[ 9230.570] (--) AlpsPS/2 ALPS DualPoint TouchPad: invalid finger width
range. defaulting to 0 - 16
[ 9230.570] (**) Option "LeftEdge" "120"
[ 9230.570] (**) Option "RightEdge" "900"
[ 9230.570] (**) Option "TopEdge" "120"
[ 9230.570] (**) Option "BottomEdge" "660"
[ 9230.570] (**) Option "FingerLow" "18"
[ 9230.570] (**) Option "FingerHigh" "19"
[ 9230.570] (**) Option "FingerPress" "256"
[ 9230.570] (**) Option "MaxTapTime" "180"
[ 9230.570] (**) Option "MaxTapMove" "110"
[ 9230.570] (**) Option "MaxDoubleTapTime" "300"
[ 9230.570] (**) Option "EmulateMidButtonTime" "75"
[ 9230.570] (**) Option "EmulateTwoFingerMinZ" "100"
[ 9230.570] (**) Option "VertScrollDelta" "20"
[ 9230.570] (**) Option "HorizScrollDelta" "20"
[ 9230.570] (**) Option "VertEdgeScroll" "1"
[ 9230.570] (**) Option "HorizEdgeScroll" "1"
[ 9230.570] (**) Option "VertTwoFingerScroll" "0"
[ 9230.570] (**) Option "HorizTwoFingerScroll" "0"
[ 9230.570] (**) Option "EdgeMotionMinSpeed" "200"
[ 9230.570] (**) Option "EdgeMotionMaxSpeed" "200"
[ 9230.570] (**) Option "RTCornerButton" "0"
[ 9230.570] (**) Option "RBCornerButton" "0"
[ 9230.570] (**) Option "LTCornerButton" "0"
[ 9230.570] (**) Option "LBCornerButton" "0"
[ 9230.570] (**) Option "TapButton1" "1"
[ 9230.570] (**) Option "TapButton2" "3"
[ 9230.570] (**) Option "TapButton3" "0"
[ 9230.570] (**) Option "ClickFinger1" "1"
[ 9230.570] (**) Option "ClickFinger2" "3"
[ 9230.570] (**) Option "ClickFinger3" "2"
[ 9230.571] (**) Option "PalmDetect" "0"
[ 9230.571] (**) Option "PalmMinWidth" "10"
[ 9230.571] (**) Option "PalmMinZ" "200"
[ 9230.571] (**) Option "MinSpeed" "2"
[ 9230.571] (**) Option "MaxSpeed" "2.5"
[ 9230.571] (**) Option "AccelFactor" "0.020"
[ 9230.571] (--) AlpsPS/2 ALPS DualPoint TouchPad: no supported touchpad
found
[ 9230.571] (EE) AlpsPS/2 ALPS DualPoint TouchPad Unable to
query/initialize Synaptics hardware.
[ 9230.590] (EE) PreInit failed for input device "AlpsPS/2 ALPS DualPoint
TouchPad"
[ 9230.590] (II) UnloadModule: "synaptics"
Almost everything is exactly the same as during startup, but finally I have
an error, that the hardware is not recognized. And tapping is not working
(although the rest is working fine and I can turn tapping back on using
synclient).
--
Łukasz Maśko GG: 2441498 _o)
Lukasz.Masko(at)ipipan.waw.pl /\\
Registered Linux User #61028 _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
More information about the xorg
mailing list