Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Joined
Oct 26, 2016
Messages
9
Motherboard
HP Omen 15 ce0xx
CPU
Intel core I5 7300HQ
Graphics
Intel HD630 ----- NVIDIA Geforce GTX 1050Ti
Hello every one.
I am trying to map the key with the brightness and it is very strange that both of brighter and dimmer key have the same code. Is anyone face with the same problem ?
 

Attachments

Joined
Dec 24, 2019
Messages
8
Motherboard
HM370
CPU
i7-9750H
Graphics
GTX 1650
The 0x0405 corresponds to PS2 keydown/keyup are automatic (e005/e085) for the brightness down key used by Dell laptops. In the default keyboard profile, these correspond to ADB codes 91/90 (brigthness down/up). If your laptop uses a keyboard profile other than the default, you may need to use different codes.
@RehabMan

Hi, I am trying to add Fn key functions like 'sleep' and 'disable touchpad', with DSDT patch and VoodooPS2Controller.

I know that the ACPI notifies PS2 driver with something like 'Notify (PS2K, 0x0405)', so the VoodooPS2Keyboard can get the notification and adjust the brightness. But I don't figure out what the relationship is between the 0x0405 and the scan code 0xe005. What does the 0x0405 mean here, and how can I compute the value for a custom Fn key?

Any detail or a link for documentation or related source code would be appreciated.

Thank you.
 
Last edited:
Joined
Aug 4, 2016
Messages
103
Motherboard
Asus Q170t
CPU
i5-6600
Graphics
HD 530
Mobile Phone
iOS
Hello! For some reason I can't execute the ioio, terminal outputs: zsh: operation not permitted: ioio. sip is disabled, termnal has full disk access. Don't know what to do
 
Joined
Mar 29, 2011
Messages
62
Motherboard
Lenovo Thinkpad T480
CPU
i7-8550u
Graphics
UHD620
does this script not work anymore? not getting a patched applebacklight.kext in user/patched despite having the stock applebacklight.kext in the script folder/vanilla
 
Joined
Feb 20, 2016
Messages
15
Motherboard
Asus P552LJ (Laptop)
CPU
Intel Core i3-5010U
Graphics
Intel HD 5500
Mac
MacBook Pro
Mobile Phone
Android, iOS
Hello, RehabMan. Thanks for all of your guides.

I've discovered that _Q0E() and _Q0F() methods are called when I press the brightness up and down keys respectively. Patches are applied accordingly. But still, no luck. Though brightness slider is working, keyboard shortcut does not. I've attached my required files.

Can you help me out please?
 

Attachments

trs96

Moderator
Joined
Jul 31, 2012
Messages
16,328
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
Joined
May 11, 2015
Messages
243
Motherboard
Dell 7348
CPU
Intel Core i7 5500U Broadwell
Graphics
Intel HD Graphics 5500 (1920x1080p)
Mac
MacBook Pro
Mobile Phone
Android
Hello, RehabMan. Thanks for all of your guides.

I've discovered that _Q0E() and _Q0F() methods are called when I press the brightness up and down keys respectively. Patches are applied accordingly. But still, no luck. Though brightness slider is working, keyboard shortcut does not. I've attached my required files.

Can you help me out please?
Also you need to inject a right PNLF device.
Are your hardware information updated?
 
Joined
Feb 20, 2016
Messages
15
Motherboard
Asus P552LJ (Laptop)
CPU
Intel Core i3-5010U
Graphics
Intel HD 5500
Mac
MacBook Pro
Mobile Phone
Android, iOS
Also you need to inject a right PNLF device.
Are your hardware information updated?
How can I inject right PNLF device? Can you guide me through, please?

Yes. I've updated my H/W info now.

Thanks.
 
Joined
Feb 20, 2016
Messages
15
Motherboard
Asus P552LJ (Laptop)
CPU
Intel Core i3-5010U
Graphics
Intel HD 5500
Mac
MacBook Pro
Mobile Phone
Android, iOS
RehabMan is no longer actively contributing here.
This is truly sad. I've learnt much from his guides. Wish He comes back!
 
Top