Jump to content
About Just Joined group Read more... ×
soumaxetuirk

GUIDE: How to Fix Brightness hotkeys in DSDT

110 posts in this topic

Recommended Posts

It could be your DSDT is old enough to not have any checks for "Windows 2012".

 

You should read each patch carefully. And check your own DSDT for the code the patch is trying to match on.

hi rehabman,, i was try patch dsdt with OS Check Fix,, in my dsdt it's OOSI and i try rename all of OOSI to _OSI and use youre patch ,, i success compile that and no error, but and cant see generated key in system.log,, only if i press fn+f4 showing EC_ Q0A1 or EC_Q0A0,, 

here's my DSDT you can check my work : https://www.dropbox.com/s/4eleofoc1m305k8/DSDT.aml?dl=0

Share this post


Link to post
Share on other sites
Advertisement

hi rehabman,, i was try patch dsdt with OS Check Fix,, in my dsdt it's OOSI and i try rename all of OOSI to _OSI and use youre patch ,, i success compile that and no error, but and cant see generated key in system.log,, only if i press fn+f4 showing EC_ Q0A1 or EC_Q0A0,, 

here's my DSDT you can check my work : https://www.dropbox.com/s/4eleofoc1m305k8/DSDT.aml?dl=0

Yours is OOSI because you're using Clover autopatching. Not a good idea to mix Clover DSDT "Fixes" with manual patching.

Share this post


Link to post
Share on other sites

YES

Let's check.

 

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip

Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

 

In terminal,

if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Note: It is easier if you use copy/paste instead of typing the commands manually.

 

Post contents of Downloads/RehabMan directory (as ZIP).

 

Also, post ioreg with IORegistryExplorer v2.1.

Share this post


Link to post
Share on other sites

Yours is OOSI because you're using Clover autopatching. Not a good idea to mix Clover DSDT "Fixes" with manual patching.

so i need to extract my DSDT using windows or linux ?

Share this post


Link to post
Share on other sites

so i need to extract my DSDT using windows or linux ?

You can press F4 in Clover. It will write native files to EFI/Clover/ACPI/origin.

Share this post


Link to post
Share on other sites

You can press F4 in Clover. It will write native files to EFI/Clover/ACPI/origin.

i was try , and i get native dsdt,, and i try use your patch OS Checks fix, but still no key generated, i thinks my fn key is PS2 key not ACPI key

Share this post


Link to post
Share on other sites

i was try , and i get native dsdt,, and i try use your patch OS Checks fix, but still no key generated, i thinks my fn key is PS2 key not ACPI key

Post native and patched DSDT.

 

Also ioreg (IORegistryExplorer v2.1).

Share this post


Link to post
Share on other sites

DSDT is not patched to instrument EC query methods.

i was try to clean install and try to patch dsdt again, and it's work rehabman,, thank you for help me,,  :D

Share this post


Link to post
Share on other sites

If anyone has Elantech touchpad/keyboard, there is a very easy way to configure them, as well as other system functions.

You just need to edit the Info plist of the kext and switch between Apple mode or Vendor mode. i have the native sliders working thanks to that

 

post-1517295-0-48795600-1454402600_thumb.png

Share this post


Link to post
Share on other sites

here is my DSDT file, and thank you very much for your help in all thisattachicon.gifDSDT.aml.zip

 

OK, I patched your DSDT using the patch RehabMan developed for the HP Envy17-J series.  It worked on my laptop as well and makes the brightness keys (F2 + F3) functional.

 

DSDT.aml.zip

Share this post


Link to post
Share on other sites

OK, I patched your DSDT using the patch RehabMan developed for the HP Envy17-J series.  It worked on my laptop as well and makes the brightness keys (F2 + F3) functional.

 

attachicon.gifDSDT.aml.zip

I wanted to thank you for your help, the patch you did, it's working perfect, for your time and give away that little or great knowledge you have on the subject !!! "Mnfesq" Thank you !!! and a great excuse for my bad English !!!

Share this post


Link to post
Share on other sites

Hi! I got working brightness keys but Keyboard and Touchpad stop working 5sec after I press one of the keys.

What's the problem?

I installed Debug version of the Kext from RehabMan's Github and it just stops working, no warning or error.

Share this post


Link to post
Share on other sites

Hi! I got working brightness keys but Keyboard and Touchpad stop working 5sec after I press one of the keys.

What's the problem?

I installed Debug version of the Kext from RehabMan's Github and it just stops working, no warning or error.

You probably have a Dell with breakless Fn+Fx keys.

See SSDT-KEY-DELL-WN09.dsl at github for VoodooPS2Controller.

Share this post


Link to post
Share on other sites

You probably have a Dell with breakless Fn+Fx keys.

See SSDT-KEY-DELL-WN09.dsl at github for VoodooPS2Controller.

Hi RehabMan! I have an HP Pavilion, not Dell, but I'll try your recomendation.

Share this post


Link to post
Share on other sites

Is this still working ?

I have a VAIO SVS15 and nothing is visible in system.log when I use my keyboard.

 

ACPIdebug seems to work because it populates the log when I'm using the trackpad. But not the keyboard.

Anyone can help ? ;) 

 

Thanks !

Share this post


Link to post
Share on other sites

When this thread was started, this was the code we were all using:

into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end;

Now that I am running Sierra 10.12.1, Brightness Up is controlled with the code 0x0205 and 0x0285 (not 0x0206 and 0x0286).  I can't seem to find any code that controls brightness down.  I have modified my DSDT to make the Brightness Up key (F3) work.  Does anyone else running Sierra 10.12.1 have this issue?

Share this post


Link to post
Share on other sites

When this thread was started, this was the code we were all using:

into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end;
Now that I am running Sierra 10.12.1, Brightness Up is controlled with the code 0x0205 and 0x0285 (not 0x0206 and 0x0286).  I can't seem to find any code that controls brightness down.  I have modified my DSDT to make the Brightness Up key (F3) work.  Does anyone else running Sierra 10.12.1 have this issue?

 

It is best to change the keyboard driver such that it generates F14/F15 instead of the real brightness ADB codes.

In my driver, can be done in ACPI. Not sure about other drivers.

Share this post


Link to post
Share on other sites

It is best to change the keyboard driver such that it generates F14/F15 instead of the real brightness ADB codes.

In my driver, can be done in ACPI. Not sure about other drivers.

 

 

Hi, haven't seen you much since Sierra came out.  Hope you were busy in a good way.  I'm using your June 16th version of VoodooPS2Controller.  I tried installing ACPIDebug and also used ioio to try to find the right codes.  I must not have done it right because I only got what was already in my DSDT and not what was actually needed to control brightness.  Is it possible that Apple's ADB codes have changed and that the DSDT patches are calling different ADB codes now?  If you recall, my laptop, like the Haswell Envy uses the same HKNO in _Q13 for both brightness up and down, but the F2 key is 0x07 and the F3 key is 0x08.

Share this post


Link to post
Share on other sites

Hi, haven't seen you much since Sierra came out.  Hope you were busy in a good way.  I'm using your June 16th version of VoodooPS2Controller.  I tried installing ACPIDebug and also used ioio to try to find the right codes.  I must not have done it right because I only got what was already in my DSDT and not what was actually needed to control brightness.  Is it possible that Apple's ADB codes have changed and that the DSDT patches are calling different ADB codes now?  If you recall, my laptop, like the Haswell Envy uses the same HKNO in _Q13 for both brightness up and down, but the F2 key is 0x07 and the F3 key is 0x08.

ADB codes are determined by code in the keyboard kext itself (the keymap).

You can use "Custom ADB Map" to change the PS2->ADB assignments.

Share this post


Link to post
Share on other sites

ADB codes are determined by code in the keyboard kext itself (the keymap).

You can use "Custom ADB Map" to change the PS2->ADB assignments.

 

I got a better idea of what you were saying when I read your post "[README] Common (some unsolved) Problems in 10.12 Sierra" on another forum.  If I were to use the SSDT method you displayed there, would I modify it, save it as SSDT2.aml and put it in Clover\ACPI\Patched?

Share this post


Link to post
Share on other sites

I got a better idea of what you were saying when I read your post "[README] Common (some unsolved) Problems in 10.12 Sierra" on another forum.  If I were to use the SSDT method you displayed there, would I modify it, save it as SSDT2.aml and put it in Clover\ACPI\Patched?

SSDT name is not important. I would give it a more meaningful name. If you're using SortedOrder, don't forget to add the SSDT to the list.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By MaLd0n
      -OpenCore Vanilla TUTORIAL-
       
       
      -USB Port Mapping TUTORIAL-
       
        1 -Create a USB bootable
       
      Create your usb installer, use this tool and download Catalina or Big Sur from Apple servers
       
      Catalina
      installScript_allfullapp.zip
       
      Big Sur
      installScript_1016fullapp.zip
       
      Credits: crazybirdy
       
      Copy Catalina / Big Sur installer to Applications folder, open terminal and run
       
      Catalina
       
       
      Big Sur
       
       
      If you want check one step by step, check here
       
      -Opencore Vanilla Tutorial
      https://tinyurl.com/ycvcnp8h
       
      2- EFI folder USB installation
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/y6avuxsv
       
       
      3- EFI folder SSD
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD 
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD
      https://tinyurl.com/y6avuxsv
       
      4- Start Fine Tune
       
      Run this app and post full dump here for full ACPI solution
       
      RunMe.app
      https://tinyurl.com/y9562hz7
       
       
      If you like a SSDT way, here we go
      SSDT-OLARILA.aml.zip
       
      5- USB Solution
      USB INTEL SERIE 400.zip
       
      Use these kexts, enable XHCI port limit patch and follow this tutorial for remap USB ports
       
       
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -HDMI / HDAU  
      --SCREENSHOTS--































      -If you want to buy me a beer - Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!

      We're all here to have fun and learn from each other!
    • By tapochek2004
      Hello. I am experiencing a problem with my Catalina vanilla installation.
      My Dell 7567's screen is constantly blinking. This started in the installer and persisted after successful installation. Apart from the mentioned, the system is working perfectly fine.
      I am able to disable the backlight completely by pressing F11/brightness down button. I am barely able to see the on-screen text using a desk lamp afterwards.
      I have tried installing AppleBacklightFixup.kext, Lilu.kext and WhateverGreen.kext and setting my SMBIOS to iMac18,1 but none of those proposed solutions have helped me so far.
      To illustrate the problem, I have recorded a video (link) of my laptop booting into the installer and then shutting down. I have also included my CLOVER folder.
       
      I would appreciate any help or advice.
       
      Best regards, Luka
      CLOVER.zip
    • By Del
      I have been trying to get my Lenovo G570 i5 2430M with HD3000 (id: 116) to work for almost 2 months. Mountain Lion works flawlessly but Mavericks onwards, display stays off with the exact same setup (Chameleon: Extra folder with smbios mbp8,1 included in attachment)
       
      I'm able to boot and see the screen with remote desktop but internal display stays off.
       
      found an old post which fixed issue for few users
       
      I understand HD3000 is natively supported till High Sierra, which is why I'm totally baffled and out of ideas to proceed with.
       
      Any help is greatly appreciated
      Thanks
       
      @jl4c
      Alex.zip
    • By tapochek2004
      Hello. I have recently installed a "Hackintosh Sierra Zone" 10.12.3 distro (yes, I know they are unstable and might contain malware) on my Dell Inspiron 7567. I am now experiencing trouble with the integrated GPU, Intel HD (not UHD!) Graphics 630: there is no acceleration, I can observe noticeable screen flickering and the displayed amount of VRAM is 7MB.
       
      Here's what I've tried so far:
       
      1. Enabling InjectIntel and disablegfxfirmware and setting Fake ID = 0x59120000.
      2. Changing SMBIOS to iMac 18,1 (still displayed as a 21,5 in About This Mac).
      3. The last thing I tried was installing Lilu and WhateverGreen as per this manual, which required me to disable the first workaround completely.
       
      I have included my Clover's config.plist and the output of kextstat.
       
      Thanks in advance!
       
      Best regards, Luka
       
      P. S. Is it possible to move this topic into 'Intel Graphics'?
      config.plist
      kextstat.rtf
      report.tiff
    • By adobasy9
      Hello everybody
      After 3 months of reading , troubleshooting , and trying different OS versions which all failed on just getting a bootable USB installer , I finally gave up and decided to ask for help , I would appreciated any advice or help you can give me .
      HP Laptop 15 da-nxxx , with a built-in battery
      CPU : i7-7500U
      GPU : HD 620 ,MX 130 " disabled with -wegnoegpu "
      RAM : 16 GB
       
      EFI Folder + DSDT.aml from SysReport
×