You are not logged in.

#1 2024-02-09 10:55:18

produnis
Member
From: Germany
Registered: 2014-09-29
Posts: 50

[SOLVED] No keyboard and mouse after suspend (Plasma/Wayland)

Hi there,
I am using Plasma with Wayland on an Dell Latitude 3340 Laptop.
My problem is, that after suspend, my keyboard and mouse get unresponsive.

cat /proc/bus/input/devices

gives

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd leds event4 
B: PROP=0
B: EV=120013
B: KEY=1100f02902000 8380307cf910f001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I tried it with Xfce4 and Xorg, and all works well. But with Plasma and Wayland, my keayboard is dead after resume.

$ sudo dmesg | egrep "i8042|input"

[    0.454974] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.455089] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    0.455177] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[    0.455238] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    1.484251] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.485555] i8042: Warning: Keylock active
[    1.487711] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.487805] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.590193] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    2.691950] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
[  586.356946] input: DELL Wireless hotkeys as /devices/virtual/input/input7
[  586.578395] input: PC Speaker as /devices/platform/pcspkr/input/input8
[  586.696082] input: Dell WMI hotkeys as /devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input10
[  587.560392] dell_laptop: Using i8042 filter function for receiving events
[  587.639522] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input11
[  587.639666] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input12
[  587.639794] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
[  587.730766] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[  587.847957] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input9
[  587.925079] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input14

I do not get what the problem could be.....

$ systemctl suspend
$ journalctl --system --boot=0 --priority=3 | tail --lines=50

gives

Feb 09 11:57:25 Igor kernel: usb 2-4: Failed to access otp area (-110)

Last edited by produnis (2024-02-09 22:16:01)

Offline

#2 2024-02-09 21:17:59

thosearentmuskets
Member
Registered: 2024-02-09
Posts: 1

Re: [SOLVED] No keyboard and mouse after suspend (Plasma/Wayland)

I actually on Fedora, and I have a Dell XPS with Wayland+KDE, and I started getting the same issue as you today.

I got it fixed by adding this to my GRUB command line arguments.
`i8042=dumbkbd=1`

At first, I had thought it might be related to the `i8042: Warning: Keylock active` which I also had, so I tried adding `i8042.unlock=1` to the GRUB command line arguments, but that didn't fix it.

I'm not sure if I lose any features using `dumbkbd=1` but everything seems to work fine so far.

Offline

#3 2024-02-09 22:15:45

produnis
Member
From: Germany
Registered: 2014-09-29
Posts: 50

Re: [SOLVED] No keyboard and mouse after suspend (Plasma/Wayland)

Thank you so much! This works for me!!!

As I use systemd-boot, I had to change my

$ sudo nano /boot/loader/entries/arch.conf

to something like:

title    Arch Linux
linux    /vmlinuz-linux
initrd   /initramfs-linux.img
options root=LABEL=arch rw  i8042.dumbkbd=1

Thanks again for setting up a user account and answering me!
Made my day!

Offline

Board footer

Powered by FluxBB