All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Schwartz <matthew.schwartz@linux.dev>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	Matthew Schwartz <matthew.schwartz@linux.dev>
Subject: [PATCH 0/2] Add nokbdwakeup quirk and enable it for MSI Claw
Date: Mon, 16 Jun 2025 22:19:28 -0700	[thread overview]
Message-ID: <20250617051930.3376981-1-matthew.schwartz@linux.dev> (raw)

This patch series aims to solve an issue on the MSI Claw, a series of
handheld gaming PCs, where their volume buttons will wake the system out
of s2idle because they are registered via an i8042 keyboard device. This
is not expected behavior on a handheld device that lacks an actual
keyboard, as it is very easy to press the volume buttons while handling
the device in its suspended state. 

To solve this, introduce a new quirk based on DMI match that will disable
the wakeup property of an i8042 keyboard device and enable it for current
MSI Claw models.

Matthew Schwartz (2):
  Input: i8042 - Add nokbdwakeup quirk to stop keyboard wakeup from
    s2idle
  Input: i8042 - Disable keyboard wakeup from s2idle on MSI Claw devices

 drivers/input/serio/i8042-acpipnpio.h | 32 +++++++++++++++++++++++++--
 drivers/input/serio/i8042.c           |  8 +++++--
 2 files changed, 36 insertions(+), 4 deletions(-)

-- 
2.49.0


             reply	other threads:[~2025-06-17  5:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-17  5:19 Matthew Schwartz [this message]
2025-06-17  5:19 ` [PATCH 1/2] Input: i8042 - Add nokbdwakeup quirk to stop keyboard wakeup from s2idle Matthew Schwartz
2025-06-17  5:19 ` [PATCH 2/2] Input: i8042 - Disable keyboard wakeup from s2idle on MSI Claw devices Matthew Schwartz
2025-06-17 20:50 ` [PATCH 0/2] Add nokbdwakeup quirk and enable it for MSI Claw Dmitry Torokhov
2025-06-17 21:33   ` Matthew Schwartz
2025-06-17 21:45     ` Dmitry Torokhov
2025-06-17 21:50       ` Matthew Schwartz

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=20250617051930.3376981-1-matthew.schwartz@linux.dev \
    --to=matthew.schwartz@linux.dev \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.