-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FN Keyboard Brightness ASUS UX32VD macOS 11.1 #93
Comments
@hieplpvip @Ubsefor @gulios any ideas on this? |
Could it be that you need to check your DSDT in terms of correct port mapping? The issue can be due to system not restoring correct power states after sleep => this can be a signal of bad USB port mapping or USB power management. The patch is in DSDT. There isn’t much I can do to pin-point the problem, I suggest using darwin dumper or system tools to collect boot and sleep logs and check the things I mentioned. P.S. I hope you use OpenCore instead of Clover, as there are many problems with Acidanthera kexts usage with the latter from what I heard, the devs also suggest using OC with their kexts. |
Thank you for the answer! I will check the USB port mapping. When running At the moment I am still using clover, as the transition to OC will cost me a lot of time. |
It is actually not that hard to transition from clover to OC, there are guides out there. Either way, if you have your DSDT patches, then it shouldn’t be hard at all. |
Ok after completely re-patching the whole DSDT (which seemed not to work correctly in the previous attempt) it is working now!!! This kext is really great work - thanks to everybody involved! On small problem remains: Using the "Pause" key which is located right to F12 causes display brightness to increase... any idea on how to disable this? |
How can I find out the correct key code to patch this key? |
Use Karabiner in order to remap Function keys :-) |
Its a dirty hack. The author needs to find correct keycodes for his keyboard. I suggest browsing through hieplpvip’s ACPI patches as there are the keycodes you are looking for. |
@Ubsefor I actually tried the transition to OC, the system boots and most things are working. But it seems that loading a patched DSDT is not recommended/working at all. So FN keys are without function with OC now. Yes I do have all my DSDT patches, but how are they applied with OC? |
Finally I got FN keys working - I had some trouble injecting the VoodooPS2 kext. Now everything works except changing the keyboard backlight. When pressing the keys I see the overlay symbol which shows that the OS is receiving the commands. But no changes are applied to keyboard backlight. Any idea how to fix this? |
No backlight after sleep is back too -> so I am stuck with the original problem: #93 (comment) EDIT1: I use the debug kext now with
|
Today I got control over keyboard-backlight twice, but I have no clue where to search for a correlation. It worked after re-patching the DSDT (not reproducible). I thought it might be related to previous USB- or following ALS-Patches but I tried all possible combinations -> not reproducible. I investigated if the selected keyboard type has influence (there are When testing, if automatic display brightness in system-settings (based on ALS) has influence, I couldn't find a relation. Switching between debug and release versions of OpenCore and AsusSMC, seems to have no influence. Of course I reset nvram and re-installed AsusSMCDaemon a multiple times without any improvement. EDIT: While further testing parallel to this writing, I swapped my boot stick to another USB-Ports and voila backlight-control of the keyboard works. But only on first boot on the corresponding USB-port. So I installed OpenCore on internal EFI partition -> not working 🤬 |
This is working by the way -> will keep it as solution |
Already working sleep breaks with OpenCore too - although correctly applied GPRW-Patch (works on other machine). Without any help I need to transition back to Clover for now... |
Using OpenCore on my main system now, the move back to clover feels like going a step back/giving up with this laptop. Therefore in a last effort I rebuilt the Hackintosh from scratch following all the way down of OpenCore's guides. As OC prefers ACPI-hot-patching with SSDT's instead of static ACPI-patching via DSDT, I needed to find solutions for all kind of static DSDT-patches which made the UX32VD working nearly perfect also with Big Sur. With the latest release I gave OC 0.6.6 a try, as it's the first version running as application instead of a driver. Finding replacement SSDT's for all DSDT-patches was no easy work, but I cover everything important now in form of a SSDT patch (I will update my repo soon). Therefore I created a working USB-Mapping with USBMap and fixed Power-Management with ssdtPRGen-method to exclude errors @Ubsefor suggested to investigate. I was able to fix the broken sleep with a custom GPRW-patch too. The most complicated part was to transition the Battery-Patch as OC-Guide says: must be done manually. But with help of RehabMans guide for Battery Status Hotpatch an a lot of patience it was successful at the end. I am writing all of this to discuss with @hieplpvip which transition will be necessary for this repo to integrate in a future based on OC-conform ACPI-patching. It is also related to #89 and might help answering it. The necessary process of a transition from static DSDT-patching to dynamic SSDT-hotpatch works as follows:
I did this with
I booted with AsusSMC.kext and SSDT-ASMC.aml included and enabled in OC. On one boot I had success in controlling the keyboard-backlight, but this was again a one-time shot and no reproducable behavior. So this method seems to work and adapt to OC's way of ACPI-patching, but it doesn't solve the problem which came with the transition to OC. On every boot the option of changing keyboard-backlight is visible which means the required device is recognized correctly. But the alternation of keyboard-backlight is rarely/randomly working wether with static or dynamic ACPI-patch. |
just found SSDT-ATK-BDW.dsl and SSDT-RALS.dsl in hieplpvip/Asus-Zenbook-Hackintosh repo - will give it a try. |
Ok with hieplpvip's repo I was finally able to nail the issue: Now with just AsusSMC.kext enabled and SSDT-patches inspired by SSDT-ATK-BDW.dsl and SSDT-RALS.dsl the control of keyboard backlight is working again - what a ride 😬 |
As the required keycodes for |
I am wondering about two last things:
These are really cosmetic things, but would improve daily work with a Hackintosh using AsusSMC. Thanks again everybody for this great kext and sorry for flooding this issue with the progress of my problem, but it might help others to read this. |
@rafaelmaeuer @Ubsefor I followed this topic to create my SSDT for my ASUS Comet Lake laptop. However, I cannot get the keyboard backlight and other FN keys work pm Catalina 10.15.7, nor is ASUSSMC.kext seemed to be loaded when I checked |
Hey everyone, is there anyway guide for patch keyboard blacklight? tks |
Have a look at the following links which should get you started: |
I tried patch according to SSDT-ATK.dsl.txt |
Just wanted to mention that I gained some insight from this thread on how to successfully build my own SSDT patch for Kaby Lake based systems!
|
Hi and thanks all very much for this great kext.
FN keyboard brightness stopped working on my ASUS UX32VD with upgrading to Catalina.
Now when doing a re-install with Big Sur I try to fix this problem.
I am using the newest kexts: AsusSMC 1.4.1, Lilu 1.5.0 and WEG 1.4.5.
I re-patched my DSDT according to instructions with kbl_ivybridge.txt.
I also tried applying the single fn-key patches, but without any improvements.
After Installation of AsusSMCDaemon everything works perfect, except two things:
After reading lots of old issues, it seemed the problem relates to Big Sur, but regarding #20 (comment) and #74 (comment) the issue seems solved and it should work.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: