Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix touchpad disabled when resuming from suspend (maybe KDE specific) #49

Open
cies opened this issue Aug 14, 2021 · 10 comments
Open

Fix touchpad disabled when resuming from suspend (maybe KDE specific) #49

cies opened this issue Aug 14, 2021 · 10 comments
Labels
need-os-information Need version information (OS and kernel)

Comments

@cies
Copy link

cies commented Aug 14, 2021

I found my touchpad not working after resume. I found some instructions here by user cscs, combined them with instructions from here and made them copy-pasteable:

sudo bash -c "cat > /usr/local/bin/restart-touchpad.sh" << EOL
#!/bin/bash
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/$USER/.Xauthority"
sleep 1 # ensure the X server has started
xinput disable 'PNP0C50:00 06CB:CDB0 Touchpad'
xinput enable 'PNP0C50:00 06CB:CDB0 Touchpad'
EOL

sudo chmod +x /usr/local/bin/restart-touchpad.sh

sudo bash -c "cat > /lib/systemd/system-sleep/touchpad" << EOL
#!/bin/sh

case \$1 in
  post)
    /usr/local/bin/restart-touchpad.sh
  ;;
esac
EOL

sudo chmod +x /lib/systemd/system-sleep/touchpad
@cies cies changed the title Touchpad not working after resume from suspend (maybe KDE specific) Fix touchpad disabled when resuming from suspend (maybe KDE specific) Aug 14, 2021
@jrandiny
Copy link
Owner

Can you specify your OS and kernel version because I haven't encountered this problem

@jrandiny jrandiny added the need-os-information Need version information (OS and kernel) label Aug 19, 2021
@cies
Copy link
Author

cies commented Sep 1, 2021

Kubuntu, kernel: 5.13.9-051309-generic

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

@daniandtheweb
Copy link

Same problem here, Arch Linux with Plasma, Kernel 5.15 rc4.
The only temporary solution I found is to assign a function key to toggle the touchpad on.

@hodunov
Copy link

hodunov commented Jun 7, 2022

Did you find any solution other than manually enabling the touchpad?
I find gnome 40 pretty good so far, but would like to go back to KDE

Same problem here, Arch Linux with Plasma, Kernel 5.15 rc4. The only temporary solution I found is to assign a function key to toggle the touchpad on.

@daniandtheweb
Copy link

I've tried the latest unstable Plasma from arch's kde-unstable repo and the issue is still there.

@sarvasana
Copy link

sarvasana commented Jun 7, 2022

No issues here. Never had the issue either.

I am on:

  • 5.18.1-arch1-1
  • Plasma 5.24.5

I have blacklisted elan_i2c:

❯ cat /etc/modprobe.d/blacklist.conf
blacklist elan_i2c

@jameswilliamknight
Copy link

jameswilliamknight commented Jul 7, 2022

I am experiencing this issue

  • Yoga Slim 7 15ITL05
  • 5.18.9-arch1-1
  • Plasma 5.25.2

have also blacklisted elan_i2c as above.

@ghost
Copy link

ghost commented Sep 11, 2022

For anyone interested, I've found a "fix" which makes me think this whole thing is just a Plasma bug. You need to go into the keyboard shortcuts settings then deselect all of the keyboard shortcuts assigned to anything related to the touchpad. This fixed it for me.

Tested on Fedora Kinoite & KDE Spin.

@joseluisgs
Copy link

For anyone interested, I've found a "fix" which makes me think this whole thing is just a Plasma bug. You need to go into the keyboard shortcuts settings then deselect all of the keyboard shortcuts assigned to anything related to the touchpad. This fixed it for me.

Tested on Fedora Kinoite & KDE Spin.

Thank you so much. This solution solve my problem

@wooolfy12
Copy link

Thank you for the solution. Issue still there. In my case deactivating disable touchpad shortcut helps.

  • Acer Aspire VN7-592G
  • Linux 6.8.7-arch1-1
  • Plasma 6.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-os-information Need version information (OS and kernel)
Projects
None yet
Development

No branches or pull requests

8 participants