Open imrtoyi opened 2 years ago
Keyboard backlight and fn keys also works in Ubuntu. acpi_listen: If i turn on the backlight in windows or linux the backlight level is saved on macos boot and the backlight turns off after waking up from sleep
@hieplpvip @Ubsefor @AR-CADE can you help? 👉👈
Hello! For several days I tried to get my keyboard backlight and some fn keys to work, but I did not succeed, so I'm asking for help here. There was a post in 2019 with a similar issue, it was marked as #TODO, but apparently the issue was not resolved. Below I will write all the information that I could find out, I hope it will help in solving the problem. Thanks in advance!
Notebook Information Laptop model: Asus Vivobook Flip 14 TP412F Processor: Core i3 8145U (Whiskey Lake) MacOS Monterey 12.3
Keyboard layout:
Non-standard DSDT for ASUS laptops. In this laptop, as I understand it, the _Qxx methods refer to EC with the name H_EC, while, as usual with ASUS laptops, EC has the name EC0. That is why the patches suggested for MaciASL are not suitable. In addition, a non-standard method for changing the keyboard backlight (1 button) is used. Apparently, this method is responsible for this. 
ASUSSMC finds my ATKD device. 
For some reason, EC Events are not generated when Fn keys are pressed. Maybe I did something wrong, but with ACPIDebug running and the necessary patches, when pressing the fn keys, there were no changes in the logs. At first I thought that the problem was in ACPIDebug, but I tried to apply the same to other methods, for example, related to sleep work, the corresponding data appeared in the log, so I think that the problem is with H_EC or ATKD.
I suspect that the problem may be related to the fact that Kext does not provide hardware, like mine, so I ask you to help me, since my knowledge in writing kexts and ACPI is not so great. If I can help in any way, I'm ready, thanks!
Logs, EFI, ACPI.zip