Bug 422797 - The laptop keyboard and touchpad dont work after a suspend in wayland.
Summary: The laptop keyboard and touchpad dont work after a suspend in wayland.
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-11 04:56 UTC by dineshdevkota
Modified: 2020-06-16 17:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dineshdevkota 2020-06-11 04:56:39 UTC
SUMMARY
the laptop keyboard and touchpad dont work after a suspend in wayland session.
when suspended by closing the lid the internal inputs stop working.

STEPS TO REPRODUCE
1. log in to wayland session and suspend the computer
2. open the computer again
3. the inputs dont work

OBSERVED RESULT
the inputs stop working.
however the external USB device are still working. The keyboard and touchpad start working after i go to the sddm screen using the USB mouse. The behavior is random when the suspending was done for a long time: about 10 mins.
however a 100% problem rate was seen while starting immediately.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.6.15
(available in About System)
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Laptop: Acer Nitro AN515-53
Comment 1 Nate Graham 2020-06-11 13:44:53 UTC
But this works on X11?
Comment 2 dineshdevkota 2020-06-12 03:41:41 UTC
(In reply to Nate Graham from comment #1)
> But this works on X11?

Yes, it works perfectly on X11. This is the only thing stopping me from using wayland.
Comment 3 Nate Graham 2020-06-12 05:06:39 UTC
Thanks. Which laptop do you have?
Comment 4 dineshdevkota 2020-06-12 05:37:57 UTC
(In reply to Nate Graham from comment #3)
> Thanks. Which laptop do you have?

Acer Nitro 5
Model Number: AN515-53
Comment 5 Nate Graham 2020-06-12 21:22:18 UTC
Cannot reproduce in a Wayland session with my Lenovo ThinkPad X1 Yoga.
Comment 6 dineshdevkota 2020-06-16 12:09:59 UTC
(In reply to Nate Graham from comment #5)
> Cannot reproduce in a Wayland session with my Lenovo ThinkPad X1 Yoga.

Sorry for replying late..
I cannot recall any setting i changed which might cause this. However, later i tried with different kernel version {5.6.14 mainline arch}, i got no problem as well. However the problem still exists with the newer kernels {>5.6.15 MAINLINE and 5.4.42 LTS} which i tried. I have no idea what is causing this. and i can still reproduce the problem in my system.
Comment 7 Nate Graham 2020-06-16 14:06:50 UTC
Yep, I had a feeling it was a kernel issue. Please report it to the kernel developers in a bug report at https://bugzilla.kernel.org/. Thanks!
Comment 8 dineshdevkota 2020-06-16 15:48:08 UTC
(In reply to Nate Graham from comment #7)
> Yep, I had a feeling it was a kernel issue. Please report it to the kernel
> developers in a bug report at https://bugzilla.kernel.org/. Thanks!

Once, i thought i should report it as a kernel bug as well but since x11 works perfectly,i thought that i should submit it here.
Thank you for your time.
Comment 9 Nate Graham 2020-06-16 17:07:11 UTC
You're welcome!