Mouse/touchpad lost upon sleep mode, but not hibernation (Fujitsu Lifebook)

Message
Author
User avatar
Lady Owl
Posts: 4
Joined: Sat Jan 04, 2025 2:54 pm

Mouse/touchpad lost upon sleep mode, but not hibernation (Fujitsu Lifebook)

#1 Post by Lady Owl »

Hi, I just installed MX Linux 23 KDE yesterday, and unsurprisingly, came across an issue I've had with other distros in the past as well (Kubuntu, Suse if I remember correctly, Bodhi, none were too recent) - and I've been too tired to find any solution whatsoever, but maybe this time... At least it isn't about some new hardware because this laptop is old.

So. Any time my laptop goes to sleep mode, I loose control of the mouse - it basically freezes wherever it happens to be on screen, no matter what I do on the touchpad. (If I do something with keyboard shortcuts, say closing a window, that does work, so the screen isn't all frozen.)
Restarting Linux does not get the mouse moving, I must restart the whole laptop. BUT interestingly, hibernation does not seem to do it! So I could just disable sleepmode I guess, and only use hibernation when needed, but a working sleep mode would be even better, if possible.

Then the system information:

Code: Select all

System:
  Kernel: 6.1.0-28-amd64 [6.1.119-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-28-amd64 root=/dev/mapper/system-root ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.4_KDE_x64 Libretto
    September 15 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: FUJITSU product: LIFEBOOK E744 v: 10601583215 serial: <superuser required>
    Chassis: type: 10 v: LIFEBOOK E744 serial: <superuser required>
  Mobo: FUJITSU model: FJNB26F v: M3 serial: <superuser required> UEFI: FUJITSU // Phoenix
    v: Version 1.17 date: 09/26/2014
Battery:
  ID-1: CMB1 charge: 46.3 Wh (93.9%) condition: 49.3/56.2 Wh (87.8%) volts: 11.9 min: 10.8
    model: Fujitsu CP633525-03 type: Li-ion serial: <filter> status: discharging
CPU:
  Info: model: Intel Core i5-4200M bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
    microcode: 0x28
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 996 high: 998 min/max: 800/3100 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 994 2: 997 3: 998 4: 998 bogomips: 19955
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Fujitsu driver: i915 v: kernel
    arch: Gen-7.5 process: Intel 22nm built: 2013 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    HDMI-A-1, HDMI-A-2, HDMI-A-3, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Device-2: Chicony FJ Camera type: USB driver: uvcvideo bus-ID: 1-12:5 chip-ID: 04f2:b3b4
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37") s-diag: 485mm (19.11")
  Monitor-1: eDP-1 res: 1600x900 hz: 60 size: N/A modes: 1600x900
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Fujitsu
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Fujitsu . 8
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.1.0-28-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I217-LM vendor: Fujitsu driver: e1000e v: kernel port: 3080
    bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-8:3
    chip-ID: 8087:07dc class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
    software: yes address: <filter>
  Info: acl-mtu: 1021:5 sco-mtu: 96:5 link-policy: rswitch hold sniff
    link-mode: peripheral accept
Drives:
  Local Storage: total: 111.79 GiB used: 18.15 GiB (16.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37120G size: 111.79 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0004 scheme: GPT
Partition:
  ID-1: / raw-size: 44.54 GiB size: 43.54 GiB (97.75%) used: 10.41 GiB (23.9%) fs: ext4
    dev: /dev/dm-2 maj-min: 254:2 mapped: system-root
  ID-2: /boot/efi raw-size: 500 MiB size: 499.7 MiB (99.94%) used: 360 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 59.09 GiB size: 57.86 GiB (97.92%) used: 7.74 GiB (13.4%) fs: ext4
    dev: /dev/dm-1 maj-min: 254:1 mapped: system-home
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 7.67 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-0
    maj-min: 254:0 mapped: system-swap
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2521 libs: 1342 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirror.accum.se/mirror/mxlinux.org/packages/mx/repo/ bookworm main non-free
    2: deb http://mirror.accum.se/mirror/mxlinux.org/packages/mx/repo/ bookworm ahs
Info:
  Processes: 213 Uptime: 16m wakeups: 2 Memory: 7.64 GiB used: 2.37 GiB (31.1%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Here's the touchpad info:

Code: Select all

 cat /proc/bus/input/devices
...
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input9
U: Uniq=
H: Handlers=mouse0 event5 
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=660800011000003
...
I already tried installing xserver-xorg-input-synaptics - unfortunately that didn't solve it.

Is there any other information that's relevant for this?
I'm suspecting driver issue, but I'm basically totally unused to dealing with this kind of stuff. I am also not comfortable with CLI, but can manage with guidance. (i.e. used to using linux in graphical mode, not tackling problems in it...)

User avatar
CharlesV
Administrator
Posts: 8178
Joined: Sun Jul 07, 2019 5:11 pm

Re: Mouse/touchpad lost upon sleep mode, but not hibernation (Fujitsu Lifebook)

#2 Post by CharlesV »

First, I would test out a liquorix kernel. (6.4 or 6.5), and see if that resolves this. ( You can always revert to your non liquorix kernel. ( MX Package installer - search for liquorix and check the one to test then install.)

If this does not resolve it then...

When the mouse is 'frozen' in a terminal find your mouse xinput ID# like so:

Code: Select all

xinput

It will look something / sort of like this:

Code: Select all

$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ELAN07C2:00 04F3:3298 Mouse             	id=9	[slave  pointer  (2)]
⎜   ↳ ELAN07C2:00 04F3:3298 Touchpad          	id=10	[slave  pointer  (2)]
⎜   ↳ ELAN2513:00 04F3:4194                   	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=12	[slave  keyboard (3)]
    ↳ Intel HID 5 button array                	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ HP WMI hotkeys                          	id=15	[slave  keyboard (3)]
    ↳ ACPI Virtual Keyboard Device            	id=16	[slave  keyboard (3)]



Then, using that ID# you found from above ( id=9 and id=10 in my case )...do the following in a terminal:
for the mouse:

Code: Select all

xinput disable 9
xinput enable 9


for the Touchpad:

Code: Select all

xinput disable 10
xinput enable 10

try to disable / enable the mouse first, then if that works, the touchpad.

If this works, then I would setup a script and do these four commands ( the disable / enable for both mouse and touchpad ) when you log in, coming back from suspend.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

MXRobo
Posts: 1843
Joined: Thu Nov 14, 2019 12:09 pm

Re: Mouse/touchpad lost upon sleep mode, but not hibernation (Fujitsu Lifebook)

#3 Post by MXRobo »

@Lady Owl
I'm sure you know what you meant to say, but perhaps "pointer" instead of "mouse"?
I ask because:
I loose control of the mouse - it basically freezes wherever it happens to be on screen....
Restarting Linux does not get the mouse moving....
- and I've done this myself. :frown:

And if so, then CharlesV's specific examples won't work.

Good Luck! :happy:

Post Reply

Return to “Hardware /Configuration”