You are not logged in.

#1 2024-01-24 08:40:58

rocka
Member
Registered: 2017-01-18
Posts: 9
Website

[SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

After upgrade to kernel 6.7.0, I found that my laptop's keyboard stopped working when close the lid and then open it again. I went ahead and downgrade the kernel to 6.6.12 LTS and it worked again.
However, after upgrading to linux-lts 6.6.13 yesterday, the same problem hits again: the keyboard won't work after suspend. I have no choice but to downgrade to 6.6.12 again.
The exact model of laptop I'm using is Dell XPS 9350: https://wiki.archlinux.org/title/Dell_XPS_13_(9350)

Here's my observation:

in kernel 6.6.12, evemu-describe reports 19 devices:

Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Power Button
/dev/input/event2:      Sleep Button
/dev/input/event3:      Power Button
/dev/input/event4:      AT Translated Set 2 keyboard
/dev/input/event5:      Intel HID events
/dev/input/event6:      PC Speaker
/dev/input/event7:      DLL0704:01 06CB:76AE Mouse
/dev/input/event8:      ELAN Touchscreen
/dev/input/event9:      ELAN Touchscreen UNKNOWN
/dev/input/event10:     DLL0704:01 06CB:76AE Touchpad
/dev/input/event11:     ELAN Touchscreen UNKNOWN
/dev/input/event12:     Dell WMI hotkeys
/dev/input/event13:     Video Bus
/dev/input/event14:     HDA Intel PCH Headphone Mic
/dev/input/event15:     HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event16:     HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event17:     HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event18:     PS/2 Synaptics TouchPad

then after suspend for once, it reports 18 devices instead, the last one "/dev/input/event18" was missing.

But on 6.6.13 or 6.7.0, evemu-describe reports 18 devices just after a fresh reboot, without "/dev/input/event18".
After suspend for once, it would report 17 devices, this time with "/dev/input/event4: AT Translated Set 2 keyboard" missing, and the laptop keyboard stopped working.

Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Power Button
/dev/input/event2:      Sleep Button
/dev/input/event3:      Power Button
/dev/input/event5:      Intel HID events
/dev/input/event6:      PC Speaker
/dev/input/event7:      ELAN Touchscreen
/dev/input/event8:      ELAN Touchscreen UNKNOWN
/dev/input/event9:      ELAN Touchscreen UNKNOWN
/dev/input/event10:     DLL0704:01 06CB:76AE Mouse
/dev/input/event11:     DLL0704:01 06CB:76AE Touchpad
/dev/input/event12:     Dell WMI hotkeys
/dev/input/event13:     Video Bus
/dev/input/event14:     HDA Intel PCH Headphone Mic
/dev/input/event15:     HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event16:     HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event17:     HDA Intel PCH HDMI/DP,pcm=8

Info of the keyboard (from evemu-describe):

# EVEMU 1.3
# Kernel: 6.6.13-1-lts
# DMI: dmi:bvnDellInc.:bvr1.12.2:bd12/15/2019:br1.12:svnDellInc.:pnXPS139350:pvr:rvnDellInc.:rn09JHRY:rvrA00:cvnDellInc.:ct9:cvr:sku0704:
# Input device name: "AT Translated Set 2 keyboard"
# Input device ID: bus 0x11 vendor 0x01 product 0x01 version 0xabba

I've put dmesg of both good and bad kernels here: https://gist.github.com/rocka/0ed65870e … 96e5a7c4d0

Last edited by rocka (2024-01-26 17:05:19)

Offline

#2 2024-01-25 05:00:59

smabbasht
Member
Registered: 2022-10-22
Posts: 1

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Hello, I was having the same issue with my update to 6.7.0. I have downgraded my kernel to 6.6.10 which works like a charm, To be exact, I did:

cd /var/cache/pacman/pkg
sudo pacman -U file://linux-6.6.10.arch1-1-x86_64.pkg.tar.zst file://linux-headers-6.6.10.arch1-1-x86_64.pkg.tar.zst

Offline

#3 2024-01-25 09:14:59

seth
Member
Registered: 2012-09-03
Posts: 58,683

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Good:

[  121.383254] atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.

https://github.com/gregkh/linux/commit/ … 8f8cfd5612 ?!

Offline

#4 2024-01-25 13:45:54

rocka
Member
Registered: 2017-01-18
Posts: 9
Website

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Yes it is! I built linux-lts 6.6.13 with that patch reverted, and the keyboard works fine after suspend.
Here's the dmesg: https://gist.github.com/rocka/0ed65870e … tched-good

So I guess it's time to report the issue to kernel bug tracker?

Offline

#5 2024-01-25 13:59:48

seth
Member
Registered: 2012-09-03
Posts: 58,683

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Yup, quite frankly I'm not even sure what might have justified the LTS commit.

Offline

#6 2024-01-25 14:54:04

rocka
Member
Registered: 2017-01-18
Posts: 9
Website

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

I've reported the issue on kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=218424

Offline

#7 2024-01-26 16:10:17

hansdegoede
Member
Registered: 2014-09-12
Posts: 16

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Thank you for reporting this and sorry about the trouble.

I have submitted a patch-series fixing this upstream:
https://lore.kernel.org/linux-input/202 … edhat.com/

For now as a workaround I suggest staying with 6.6.12. Hopefully the fixes will get accepted upstream soon and also added to the 6.6.y (and other stable) series.

Offline

#8 2024-01-26 17:03:45

rocka
Member
Registered: 2017-01-18
Posts: 9
Website

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

hansdegoede wrote:

I have submitted a patch-series fixing this upstream:
https://lore.kernel.org/linux-input/202 … edhat.com/

Thank you for the fix! I will stay with 6.6.12 and mark this thread as solved. Looking forward for it to be merged. wink

Offline

#9 2024-01-28 22:35:48

Necoro
Member
From: Hamburg
Registered: 2024-01-28
Posts: 1

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Just wondering (esp. @hansgoede): Isn't the underlying bug one device vanishing after waking up? And only the patch removing the "dummy" device that took the fall until now?

Offline

#10 2024-01-30 02:32:24

polm23
Member
Registered: 2017-09-13
Posts: 15

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

Thanks for posting this. I had the same issue on a desktop machine, with my keyboard not functioning at all after the update. Downgrading the kernel fixed it.

Last edited by polm23 (2024-01-30 02:32:36)

Offline

#11 2024-03-04 02:46:02

rocka
Member
Registered: 2017-01-18
Posts: 9
Website

Re: [SOLVED] Laptop keyboard stopped working after suspend in 6.6.13/6.7.0

This should have been fixed in linux 6.7.5 or linux-lts 6.6.17. Confirmed in linux 6.7.8.arch1-1.

Offline

Board footer

Powered by FluxBB