Contribute
Register

[solved] [HELP]: Please help me remap Brightness Keys

Status
Not open for further replies.
Joined
May 5, 2010
Messages
102
Motherboard
DELL Inspiron 5370
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. iOS
@RehabMan : I am using using a DELL Inspiron 5370, with UHD 620. I was able to get the brightness slider, but I am unable to map the Brightness keys F11 and F12. Could you please help me? I will include the problem reporting files in the next post, then.
 
I have got Brightness Controls working with SSDT-PNLF with the brightness slider.

I want to have Brightness Control working with F Keys.

I am using @RehabMan 's VoodooPS2controller kext that maps the brightness controls to F14 and F15 keys. But unfortunately, on my DELL these are Fn+S and Fn+B.

Is there a way to edit a DSL or something, such that I get the default DELL mapping:

Fn+F1 => Mute
Fn+F2 => Vol. Down
Fn+F3 => Vol. Up
Fn+F4 => Rewind Media
Fn+F5 => Play/Pause
Fn+F6 => FF Media
Fn+F7 => <BLANK>
Fn+F8 => <BLANK>
Fn+F9 => <BLANK>
Fn+F10 => Keyboard Backlight toggle
Fn+F11 => Brightness Down
Fn+F12 => Brightness Up
 
I have got Brightness Controls working with SSDT-PNLF with the brightness slider.

I want to have Brightness Control working with F Keys.

I am using @RehabMan 's VoodooPS2controller kext that maps the brightness controls to F14 and F15 keys. But unfortunately, on my DELL these are Fn+S and Fn+B.

Is there a way to edit a DSL or something, such that I get the default DELL mapping:

Fn+F1 => Mute
Fn+F2 => Vol. Down
Fn+F3 => Vol. Up
Fn+F4 => Rewind Media
Fn+F5 => Play/Pause
Fn+F6 => FF Media
Fn+F7 => <BLANK>
Fn+F8 => <BLANK>
Fn+F9 => <BLANK>
Fn+F10 => Keyboard Backlight toggle
Fn+F11 => Brightness Down
Fn+F12 => Brightness Up
there is some info about that here:
https://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/ in post 1
 

Thanks. Actually, I have read that post. As @RehabMan says, the brightness keys are F14 and F15. So when I open Karabiner EventViewer, and Press Fn+S/ Fn+B 0x69/F14 and 0x6A/F15 are getting generated.

What I want is some sort of customization, such that instead of pressing Fn+S and Fn+B, it should be Fn+F11 and Fn+F12.
 
Attached Problem Reporting files ...
 

Attachments

  • ProblemReportingfiles.zip
    3.1 MB · Views: 112
Attached Problem Reporting files ...
so basically you need to open up DSDT.dsl and run a patch to change the notify

looking around i saw this:

Code:
into method label BRT6 replace_content
begin
    If (LEqual (Arg0, One))\n
    {\n
// Brightness Up\n
        Notify (^^LPCB.PS2K, 0x0406)\n
    }\n
    If (And (Arg0, 0x02))\n
    {\n
// Brightness Down\n
        Notify (^^LPCB.PS2K, 0x0405)\n
    }\n
end;
from here:
https://www.tonymacx86.com/threads/guide-dell-inspiron-13-5378-2-in-1-macos-10-12-6.230009/

(slightly different model)

once you know the numbers generated by pressing your F11 and F12 you can add that patch in MacIASL and it should do the job
 
so basically you need to open up DSDT.dsl and run a patch to change the notify

looking around i saw this:

Code:
into method label BRT6 replace_content
begin
    If (LEqual (Arg0, One))\n
    {\n
// Brightness Up\n
        Notify (^^LPCB.PS2K, 0x0406)\n
    }\n
    If (And (Arg0, 0x02))\n
    {\n
// Brightness Down\n
        Notify (^^LPCB.PS2K, 0x0405)\n
    }\n
end;
from here:
https://www.tonymacx86.com/threads/guide-dell-inspiron-13-5378-2-in-1-macos-10-12-6.230009/

(slightly different model)

once you know the numbers generated by pressing your F11 and F12 you can add that patch in MacIASL and it should do the job
I tried to go to 2 methods down. After that, I am lost.


@RehabMan , please help
 
Last edited:
I may be wrong, but I think the call sequence is _Q66->NEVT->WMNF ... cannot figure out anymore.

@RehabMan , please help
 
Just found out that I can increase my brightness up with fn+b and decrease brightness down with fn+s. Is there a way to switch it back to original brightness control keys like it was before update?
Same situation with me. Could you resolve the issue @holypaulie ?
 
I may be wrong, but I think the call sequence is _Q66->NEVT->WMNF ... cannot figure out anymore.

@RehabMan , please help

BRT6 is the correct method needing patching.
Read the guide carefully.
 
Status
Not open for further replies.
Back
Top