-
Notifications
You must be signed in to change notification settings - Fork 25
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
Brightness Key #146
Comments
I don't have experience on other vendors and I can't guarantee the result. Please attach ioreg & ACPI dump. Meanwhile, please check if it works in linux. |
SysReport.zip these are the two files you asked me ... thanks for the support. there are the ACPI attualy used |
|
for better communication, my telegram is @ pierpaolo2395 |
Just grab any Linux LiveCD for testing in case a firmware issue. No need for installation. DebugEnhancer just provides a OOBE experience for debugging on Big Sur+. The rest is the same approach for getting log from Lilu plugin. |
ok, I can try a Linux Live CD, what exactly should I do? |
Oops... Missed this issue. Just check if the brightness key works in Linux. Some vendors have broken implementation that only works in Windows. |
I also have a laptop that has non-working brightness keys. It is a HP notebook. Ive tried the BrightnessKeys kext and the Q11 to XQ11 and Q12 to XQ12 renames with notifying PS2k. None of these seem to work. It does work properly in linux and both keys seem to send the same ps2 codes to the computer. Ive resorted to disabling F2 and F3 and remapping them to brightness for now Any thoughts? |
Try unload the hp-wmi module in Linux (modprob -r or blacklist at boot) https://github.com/torvalds/linux/blob/master/drivers/platform/x86/hp-wmi.c and try if brightness keys still work. If not, it's possible to achieve it through the WMI interface. I have implemented that part in DYVPC but haven't tested nor linked to the actual key. |
It does not appear as though removing HP-WMI does anything. EVTEST on linux behaves the same way as on mac when it comes to the brightness keys... Code ab is sent on both brightness up and brightness down. How does linux know which is which? Update: I think I have something.
|
MacOS also fails to detect my laptop lid switch which EVTEST sees as /dev/input0
Any idea what causes this? |
"Video Bus" should be an ACPI driver per https://github.com/torvalds/linux/blob/master/drivers/acpi/acpi_video.c, so do "Lid Switch": https://github.com/torvalds/linux/blob/master/drivers/acpi/button.c . Events are sent to some ACPI devices which didn't report it correctly. Can you try blacklist the |
I blacklisted hp_wmi completely and tested it. All laptop functions still work. Here's all the buses evtest sees now.
Note: before I blacklisted HP_WMI at boot, there was a /dev/input/event(x): HP_WMI Hotkeys |
In this case, the events seem to be reported according to the ACPI spec and should be received by BrightnessKeys. One possible cause is that EC is not initialized correctly, you will need to study the DSDT. Another one is that the event is sent to other devices. In this case, ACPI rename should work at least. |
Hi zhen-zen,
I need your great help ... 🙏🏻
I can't get the lum keys to go on the Corebook Pro
I have tried with both SSDT and DSDT having EC Brightness Key enabled on the kext, but if I press on the keys, after numerous repetitions it only moves a notch.
Thanks a lot again for your availability.
I used this issue off topic as I had no other contact availability. Sorry.
The text was updated successfully, but these errors were encountered: