linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>, LKML <linux-kernel@vger.kernel.org>
Cc: linux-input@vger.kernel.org, linux-pm@vger.kernel.org,
	Dell.Client.Kernel@dell.com, regressions@lists.linux.dev
Subject: Re: PS/2 keyboard of laptop Dell XPS 13 9360 goes missing after S3
Date: Sat, 20 Jan 2024 21:26:03 +0100	[thread overview]
Message-ID: <f27b491c-2f1c-4e68-804c-24eeaa8d10de@redhat.com> (raw)
In-Reply-To: <0aa4a61f-c939-46fe-a572-08022e8931c7@molgen.mpg.de>

Hi Paul,

On 1/18/24 13:57, Paul Menzel wrote:
> #regzbot introduced v6.6.11..v6.7
> 
> Dear Linux folks,
> 
> 
> There seems to be a regression in Linux 6.7 on the Dell XPS 13 9360 (Intel i7-7500U).
> 
>     [    0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022
> 
> The PS/2 keyboard goes missing after S3 resume¹. The problem does not happen with Linux 6.6.11.

Thank you for reporting this.

Can you try adding "i8042.dumbkbd=1" to your kernel commandline?

This should at least lead to the device not disappearing from

"sudo libinput list-devices"

The next question is if the keyboard will still actually
work after suspend/resume with "i8042.dumbkbd=1". If it
stays in the list, but no longer works then there is
a problem with the i8042 controller; or interrupt
delivery to the i8042 controller.

If "i8042.dumbkbd=1" somehow fully fixes things, then I guess
my atkbd driver fix for other laptop keyboards is somehow
causing issues for yours.

If "i8042.dumbkbd=1" fully fixes things, can you try building
your own 6.7.0 kernel with commit 936e4d49ecbc:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=936e4d49ecbc8c404790504386e1422b599dec39

reverted?

Regards,

Hans








> 
>     [    1.435071] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
>     [    1.435409] i8042: Warning: Keylock active
>     [    1.437624] serio: i8042 KBD port at 0x60,0x64 irq 1
>     [    1.437631] serio: i8042 AUX port at 0x60,0x64 irq 12
>     […]
>     [    1.439743] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
> 
>     $ sudo libinput list-devices
>     […]
>     Device:           AT Translated Set 2 keyboard
>     Kernel:           /dev/input/event0
>     Group:            15
>     Seat:             seat0, default
>     Capabilities:     keyboard
>     Tap-to-click:     n/a
>     Tap-and-drag:     n/a
>     Tap drag lock:    n/a
>     Left-handed:      n/a
>     Nat.scrolling:    n/a
>     Middle emulation: n/a
>     Calibration:      n/a
>     Scroll methods:   none
>     Click methods:    none
>     Disable-w-typing: n/a
>     Disable-w-trackpointing: n/a
>     Accel profiles:   n/a
>     Rotation:         0.0
> 
> `libinput list-devices` does not list the device after resuming from S3. Some of the function keys, like brightness and airplane mode keys, still work, as the events are probably transmitted over the embedded controller or some other mechanism. An external USB keyboard also still works.
> 
> I haven’t had time to further analyze this, but wanted to report it. No idea
> 
> 
> Kind regards,
> 
> Paul
> 
> 
> ¹ s2idle is not working correctly on the device, in the sense, that energy usage is very high in that state, and the full battery is at 20 % after leaving it for eight hours.



  parent reply	other threads:[~2024-01-20 20:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18 12:57 PS/2 keyboard of laptop Dell XPS 13 9360 goes missing after S3 Paul Menzel
2024-01-18 21:37 ` Christian A. Ehrhardt
2024-01-20 20:26 ` Hans de Goede [this message]
2024-01-21 14:26   ` Paul Menzel
2024-01-21 14:39     ` Hans de Goede
2024-01-22 13:43     ` Hans de Goede
2024-01-26  7:03       ` Paul Menzel
2024-01-26 13:32         ` Hans de Goede
2024-01-26 15:58           ` Hans de Goede
2024-02-03 16:16   ` + XPS 13 9343 Antoine
2024-02-04  7:24     ` Hans de Goede
2024-02-04 13:18       ` Antoine
2024-01-27  8:12 ` PS/2 keyboard of laptop Dell XPS 13 9360 goes missing after S3 Linux regression tracking #update (Thorsten Leemhuis)
2024-02-02  8:05   ` Linux regression tracking #update (Thorsten Leemhuis)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f27b491c-2f1c-4e68-804c-24eeaa8d10de@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pmenzel@molgen.mpg.de \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).