You are not logged in.

#1 2018-10-20 21:16:41

tejonaco
Member
Registered: 2018-08-05
Posts: 37

[solved] libinput-gestures not working after suspend / hibernate

Hi everyone, I have a laptop and I would like to configure some touchpad gestures, I almost get it with libinput-gestures, but it only works before suspend/hibernate, options that I use a lot.

My system:

Acer E5 laptop, using arch linux with gnome and xwayland.
I also have this script in /usr/lib/systemd/system-sleep to make touchpad work after hibernation:

rmmod i2c_hid && modprobe i2c_hid

What I have been tried so far:

I realised that do libinput-gestures-setup restart makes everything working fine so:

Try to modify the .desktop autostart file to do the above command instead of libinput-gestures only. Not work
Try to use the touchpad-fix script to also do this or make a new script. Not work
Try to unload and reload psmouse kernel module. Not work
Ask for please to the laptop to work. Not work

I don't know how to log this "libinput-gestures-setup status" is showing:

libinput-gestures is installed.
libinput-gestures is set to autostart.
libinput-gestures is running.
libinput-gestures is using custom configuration.

EDIT: SOLVED:

Finaly I found a solution, I post it here for someone who can use it in the future. The problem is related with the i2c_hid module.

Step 1: Be sure you have libinput driver, not synaptics.
Step 2: In my case, remove the script I told avobe for reload i2c_hid module, it breaks libinput-gestures
Step 3: Put i2c_hid in mkinitcpio modules

sudo nano /etc/mkinitcpio.conf

then

sudo mkinitcpio -p linux

now all works fine. smile

Last edited by tejonaco (2018-10-22 17:30:14)

Offline

#2 2018-10-21 12:38:03

tejonaco
Member
Registered: 2018-08-05
Posts: 37

Re: [solved] libinput-gestures not working after suspend / hibernate

PD: I'm quite new in the forum and not know if I should put [solved] tag somehow or it is put on by admins.

Offline

#3 2018-10-21 13:01:37

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [solved] libinput-gestures not working after suspend / hibernate

You need to do it...
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB