Synaptics (alps) touchpad after suspend/hibernation

Peter Hutterer peter.hutterer at who-t.net
Mon Nov 29 19:00:17 PST 2010


On Mon, Nov 29, 2010 at 12:48:41PM +0100, Łukasz Maśko wrote:
> 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*"
[...]

you have an input class configuration for touchpads...
 
> 
> [    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"

. which is applied with on startup (with all options)...

> [    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.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

.. but something else is hooking onto the device after resume, but
unfortunately you cut off the bit that may contain this information.
please attach your whole log file, not just excerpts.

Cheers,
  Peter

> [  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).



More information about the xorg mailing list