On 2/10/19 9:45 PM, Andy Shevchenko wrote: > On Sun, Feb 10, 2019 at 9:24 PM Marcos Paulo de Souza > wrote: >> >> Hi, >> >> Since 5.0.0-rc4 I vefiried that my ASUS laptop > > Can you be more specific, what model, BIOS version, etc (also would be > nice to have dmi strings from it, I guess dmidecode tool would help). dmidecode attached. >> cannot turn the screen of >> anymore. There were several commits in 5.0 merge window touching this >> functionality like: >> >> 71b12beaf12f platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes >> b3f2f3799a97 platform/x86: asus-nb-wmi: Map 0x35 to KEY_SCREENLOCK >> 78f3ac76d9e5 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey >> > > Can you bisect or just try to revert one-by-one from above and see > which one is a culprit? I already did some primary analysis, and it seems the commit 3f2f3799a97 maps the x035 (which is Alt+f7 in my laptop) to SCREENLOCK, which is wrong because alt+f7 should be Screen Toggle. I will try to revert this commit, or remap to KEY_DISPLAYTOGGLE or KEY_DISPLAY_OFF, and test if it works. But yes, I'll do my best to track the problem ASAP at my side. Please let me know if I can provide any additional information. > > >> I didn't have time to track it down, and my previous working kernel was 4.12 >> (default in openSUSE Leap 15), but I hope I will be able to test older kernels this week. >> >> -- >> Thanks, >> Marcos > > >