On Tue, Feb 12, 2019 at 4:31 AM Marcos Paulo de Souza <marcos.souza.org@xxxxxxxxx> wrote: > On 2/11/19 5:14 PM, João Paulo Rechi Vita wrote: > > Hello Marcos, > > On Sun, Feb 10, 2019 at 5:05 PM Marcos Paulo de Souza > > <marcos.souza.org@xxxxxxxxx> wrote: > > You can check what is being sent by the kernel with evtest, and what > > is being sent by X with "xinput test <device id>" (and you can find > > the device id with "xinput list"). And you can re-map it without > > having to rebuild the kernel using udev's hwdb. But simply re-mapping > > should not change anything, since userspace does not act on > > KEY_DISPLAYTOGGLE / KEY_DISPLAY_OFF. If you want to switch back to the > > old behavior you need to revert "78f3ac76d9e5 platform/x86: asus-wmi: > > Tell the EC the OS will handle the display off hotkey". > > I tried reverting the patch and only recompiling/reinstalling the > platform/x86 modules, but the problem still happens. My next step will > be testing agains't 4.20, since my machine was working with 4.12, so I > might try the major releases first. When you are going to try older releases, it would be nice to see if LTS kernels (v4.14.y, v4.19.y from Linux stable tree [1]) behave differently [1]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ -- With Best Regards, Andy Shevchenko