Package: xfce4-session
Version: 4.12.1-6
Severity: important

Dear Maintainer,

My laptop is running stock Debian 10 with up-to-date software,
and no custom kernel or such modifications.
I am using the stock XFCE packages provided by Debian.
I notice that at random times (not quite sure the context of the
happenings, i.e. the precise cause of the issue), the synaptic
touchpad was no longer working after the laptop was suspended to RAM
then resumed.

Note: I file this bug against "xfce4-session" initially because I do
not know which package may cause the issue.

Desktop: XFCE, under Debian 10
Hardware: Lenovo Thinkpad T450s
Screen-saver: xscreensaver
(It has light-locker installed but not running)

After resume from suspend, the mouse was locked.
Clicking works, but the mouse would not move.

The last time this happened, the sequence of events was as follows:

1) the computer was completely connected to external USB mouse and keyboard

2) the computer was suspended using "xfce4-session-logout --suspend"

3) the peripheral devices were removed

4) the computer was resumed

Upon resumption, the mouse no longer moves according to the synaptic
touchpad's input.
But pressing the mechanical buttons (left/right buttons) worked.

I am not 100% confident if the external device being removed when
sleeping was the cause of the touchpad not working.

At first I thought this was a hardware error.
But today I diagnosed the situation with "libinput debug-events",
the movements of finger on the touchpad were registered, like:

    event12  POINTER_MOTION    +4.68s        0.00/ -0.48 ( +0.00/ -1.00)
    event12  POINTER_MOTION    +4.70s        0.48/  0.00 ( +1.00/ +0.00)
    event12  POINTER_MOTION    +4.70s        0.00/ -1.04 ( +0.00/ -2.00)
    event12  POINTER_MOTION    +4.71s        0.00/ -0.52 ( +0.00/ -1.00)
    event12  POINTER_MOTION    +4.74s       -0.38/  0.00 ( -1.00/ +0.00)
    event12  POINTER_MOTION    +4.75s        0.00/ -0.38 ( +0.00/ -1.00)
    event12  POINTER_MOTION    +4.76s       -0.48/  0.00 ( -1.00/ +0.00)
    event12  POINTER_MOTION    +4.77s       -1.03/  0.00 ( -2.00/ +0.00)
        
Which means, the hardware was fine, and the hardware driver was fine too.
But for some reason the events was ignored by the desktop or the GUI.
Or was the touchpad input grabbed by a program--a screen saver??

This laptop has been running on Debian 10 since April 2021.
The issue only happened a few times.
Usually, when this issue happened, I could put the laptop through one
more suspend/resume cycle, then the touchpad became responsive again.
Which is annoying but not too bad.

But with the latest system reboot, the issue happened again only within 2-3
suspend/resume cycles from the boot-up.
This was "the last time this issue happened" again as described in
detail above.
But this time, the touchpad never became responsive again, despite the
"libinput" program showed activites from the hardware while my finger
was moving on the touchpad.
This is now counterproductive, since I am treating the OS as a
"server OS", i.e. I expect to rarely reboot the system so that I don't
have to restart all the open windows and documents.

PS: I will wait for responses from the community for a while before
rebooting the current OS.  I am doing so to keep this system running
in this erroneous state so that you can get whatever diagnostics
needed from this buggy state, if at all possible.

Thanks,
Wirawan

-- System Information:
Debian Release: 10.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xfce4-session depends on:
ii  libatk1.0-0            2.30.0-2
ii  libc6                  2.28-10
ii  libcairo2              1.16.0-4+deb10u1
ii  libdbus-1-3            1.12.20-0+deb10u1
ii  libdbus-glib-1-2       0.110-4
ii  libfontconfig1         2.13.1-2
ii  libfreetype6           2.9.1-3+deb10u2
ii  libgdk-pixbuf2.0-0     2.38.1+dfsg-1
ii  libglib2.0-0           2.58.3-2+deb10u3
ii  libgtk2.0-0            2.24.32-3
ii  libice6                2:1.0.9-2
ii  libpango-1.0-0         1.42.4-8~deb10u1
ii  libpangocairo-1.0-0    1.42.4-8~deb10u1
ii  libpangoft2-1.0-0      1.42.4-8~deb10u1
ii  libpolkit-gobject-1-0  0.105-25
ii  libsm6                 2:1.2.3-1
ii  libwnck22              2.30.7-6
ii  libx11-6               2:1.6.7-1+deb10u2
ii  libxfce4ui-1-0         4.12.1-3
ii  libxfce4util7          4.12.1-3
ii  libxfconf-0-2          4.12.1-1
ii  xfce4-settings         4.12.4-1
ii  xfconf                 4.12.1-1

Versions of packages xfce4-session recommends:
ii  dbus-x11           1.12.20-0+deb10u1
ii  libpam-systemd     241-7~deb10u8
ii  light-locker       1.8.0-3
ii  systemd-sysv       241-7~deb10u8
ii  upower             0.99.10-1
ii  x11-xserver-utils  7.7+8
ii  xfdesktop4         4.12.4-2
ii  xfwm4              4.12.5-1

Versions of packages xfce4-session suggests:
pn  fortunes-mod  <none>
ii  sudo          1.8.27-1+deb10u3

-- no debconf information

Reply via email to