hieplpvip / AsusSMC

A VirtualSMC plugin provides native macOS support for ALS, keyboard backlight and Fn keys on Asus laptops
MIT License
170 stars 21 forks source link

Single FN Key for Keyboard Backlight (Comet Lake Laptop) #102

Open shiecldk opened 2 years ago

shiecldk commented 2 years ago

Hi my laptop (ASUS ZenBook Pro Duo 15 UX582) has only one key for keyboard backlight control. I've check the guide for SSDT/DSDT; however, it did not work. Also, is there a way to implement ASUS numpad as the Ubuntu python driver? https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver

I attached my Debug files. https://drive.google.com/file/d/1fB-K3Dw2CISDaLb6qZmpKOe4xM14fe5_/view?usp=sharing

Similar issue: https://github.com/hieplpvip/AsusSMC/issues/101

EC events (checked with ACPIDebug):

_QD3 = Fn Press _QD4 = Fn Release _QD5 = Fn Lock/Unlock

_Q0E = Fn+F4 = Brightness Down _Q0F = Fn+F5 = Brightness Up _Q12 = Fn + F6 = Enable/Disable Trackpad _Q0D = Fn + F7 = Keyboard Backlight KBLU = Fn + F7 = Keyboard Backlight Fn + F8 = nothing Fn + F9 = nothing _Q17 = Fn + F10 Fn + F11 = nothing _Q18 = Fn + F12 Pause = Brightness Up

_Q30 = Performance Mode Switch _Q31 = Main/Secondary Screen Switch _Q32 = Enable/Disable Secondary Screen

_Q80 = Close/Open LID

_QA3, _QA0 = Plug In/Remove Power Adaptor

Screen Shot 2021-08-06 at 12 20 34 AM
shiecldk commented 2 years ago

@Ubsefor @hieplpvip @AR-CADE Could you help?

Ubsefor commented 2 years ago

@Ubsefor @hieplpvip @AR-CADE Could you help?

Check #93 and #95

shiecldk commented 2 years ago

@Ubsefor @hieplpvip @AR-CADE I tried but the Keyboard Backlight FN key doesn't work. I also is it possible to enable the numpad? I can confirm this python diver work for me in Ubuntu. I was hoping to find a way to port it to macOS. https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver

robertr1229 commented 2 years ago

Same issue with Ice Lake. Laptop. I have tried multiple mappings without success to get the f4,f5, and f7 keys to function properly. The link to custom mappings in the wiki is dead with a page that says "to do"

shiecldk commented 2 years ago

@robertr1229 I actually got the FN key for volume, brightness, and keyboard backlight work on my UX582 laptop. Check my repo for ASUSFN.aml and AsusSMC.aml.

https://github.com/shiecldk/ASUS-ZenBook-Pro-Duo-15-OLED-UX582-Hackintosh/tree/main/EFI/OC/ACPI

ghost commented 1 year ago

Hi @shiecldk , Can you please help me with something? I have the same issue as the one you had previously. My keyboard backlight is not working and I have a single fn key for KB Backlight. What can I patch to make it work? The other keys are working just fine. I just need help with the Backlight power and fn + f7 to work.