[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4086b017d678f2edaea3a87b8eae18a85cc8e89d.camel@suse.com>
Date: Tue, 25 May 2021 11:55:46 +0200
From: Oliver Neukum <oneukum@...e.com>
To: 马强 <maqianga@...ontech.com>,
Alan Stern <stern@...land.harvard.edu>
Cc: jikos <jikos@...nel.org>,
"benjamin.tissoires" <benjamin.tissoires@...hat.com>,
linux-usb <linux-usb@...r.kernel.org>,
linux-input <linux-input@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Re: [PATCH] HID: usbhid: enable remote wakeup for mouse
Am Donnerstag, den 20.05.2021, 14:40 +0800 schrieb 马强:
> This is caused by external reasons, as the kernel cannot sense
> whether it is accidentally triggered or actively triggered.
> If this kind of unintentional situation is avoided,
> the keyboard should also be disabled wakeup by default.
> Otherwise, the normally used computer may be awakened
> by someone else accidentally pressing the keyboard on standby.
>
The kernel has to manage keyboards. There just is no genuine
keyboard device user space could open, nor could we do sysrq
or sak if we left the keyboard fully to user space.
Hence keyboards are a special case unfortunately. We will
have to live with two classes of wakeup, keyboards and power
buttons on the one hand, versus everything else.
Regards
Oliver
Powered by blists - more mailing lists