THEDEVIOUS1 / CHUWI-MINIBOOK-HACKINTOSH

EFI files for hackintosh on the CHUWI Minibook
39 stars 7 forks source link

Native Brightness Keys don't function on cold boot #15

Open balopez83 opened 4 years ago

balopez83 commented 4 years ago

Native Brightness Keys do not function on a cold boot or after device sleep after a warm boot despite method being properly patched in Clover & OpenCore.

Due to limitations in the Embedded Controller firmware, special DSDT/SSDT code will be needed for reading/writing of system memory to enable this function.

This issue is being added for tracking purposes.

ThongSong7 commented 4 years ago

Until the DSDT/SSDT is found and implemented, a work-around could be :

https://apps.apple.com/us/app/brightness-slider/id456624497?mt=12

It is only a "veil" for the screen and I believe not actually changing the brightness per-se but it offers hotkey recognition which can be programmed in the software. It works quite well as a work-around until the internal device is recognized and controlled. Just my €0.02

balopez83 commented 4 years ago

Hi @ThongSong7, while the brightness keys dont work, brightness adjustment actually does work. You can go to settings and display and you will see the slider which will allow you to adjust the brightness from there.

You can also go to keyboard and change the brightness display shortcuts from F14 & F15 to any other keys of your choice to get brightness control from your keyboard again. Personally I use F11 & F12.

ThongSong7 commented 4 years ago

Thanks for the tip, I have read about a few places about this but I do not have these shortcuts available for me :( - This is why I needed to search out another alternative solution with the software stated above. I should have this available since we have the same device but I don't...

image
ThongSong7 commented 4 years ago

Qppqrently the problem that I have is based upon the type of Keyboard the system sees you have, if you plug in another external then you get the Display to show.

https://discussions.apple.com/thread/7757244?page=3

weachy commented 3 years ago

Any news about Native Brightness Keys?

mishurov commented 2 years ago

@weachy I suspect it uses WMI for brightness. It would require writing a kext like hieplpvip's AsusSMC. Also Linux has an ACPI-WMI mapping driver.

balopez83 commented 2 years ago

@weachy no progress has been made on this as our minibooks have died. Developing a kext or "smart" ssdt like is needed to make the fan run properly would be impossible for us at this point without the computers working. The easiest recommendation is to plug in an external keyboard and go to settings to change the brightness shortcuts. Under keyboard settings you can manually change the F-keys to get brightness working from the keyboard. If you have a Logitech or Microsoft usb receiver that should work to trigger the option in settings even without the keyboard.

mishurov commented 2 years ago

@weachy it seems that 2 WMI devices (SampleDev and TestDev) in the DSDT are dummy ones, they don't have events from these keys. Apart from that, I tried everything, Fn+F6 and Fn+F7 just don't generate PS2 interrupts nor EC (_QXX) queries in MacOS. Yet in Linux showkey --scancodes shows PS2 scancodes from these shortcuts. I gave up. At least Ventura clean install allows to set brightness shortcuts without an external keyboard, no need to remap it via your SSDT.

weachy commented 2 years ago

I have set brightness shortcuts also. Thanks for your reply.