Thread (53 messages) 53 messages, 5 authors, 2025-06-27

Re: [PATCH v3 4/4] Input: Don't send fake button presses to wake system

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2025-06-26 14:37:21
Also in: linux-acpi, linux-gpio, lkml

On Wed, Jun 25, 2025 at 04:58:13PM -0500, Mario Limonciello wrote:
Sending an input event to wake a system does wake it, but userspace picks
up the keypress and processes it.  This isn't the intended behavior as it
causes a suspended system to wake up and then potentially turn off if
userspace is configured to turn off on power button presses.

Instead send a PM wakeup event for the PM core to handle waking the system.
It seems the Subject is incorrect WRT the pattern used in input subsystem
(in this and in the previous patches).

Should be something like: Input: $driver - $summary

where $driver and $summary the exact driver name and summary you want to put.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help