Re: [PATCH] Revert "HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK"

From: Jiri Kosina
Date: Fri Nov 12 2021 - 05:28:53 EST


On Thu, 11 Nov 2021, Vinícius Angiolucci Reis wrote:

> This reverts commit 2ea5999d07d2a0ab6ad92ccf65524707f2c5e456.
>
> As Dmitry Torokhov pointed out, the previous code (KEY_DISPLAY_OFF) is
> actually correct. The real issue is that current desktop environments
> don't deal it properly. Mapping it to another event does not solve the
> issue.
>
> So I'm reverting that change, keeping key 0x35 mapped to KEY_DISPLAY_OFF
>
> Signed-off-by: Vinícius Angiolucci Reis <angiolucci@xxxxxxxxx>

Queued for 5.16-rc, thanks.

--
Jiri Kosina
SUSE Labs