catalanmac Posted July 4, 2016 Share Posted July 4, 2016 Hi! This is my first post. I'm trying to apply RehabMan's guide for brightness. I have a working slider in SysPrefs/Display, with smooth transitions. But I'm trying to enable brightness keys by the PS/2 method. The fact is that ioio and VoodooPS2Controller.kext are reporting the same code for both keys, e02b=80 How can I enable the keys if they report the same code? Thxs. Link to comment https://www.insanelymac.com/forum/topic/312894-brightness-keys-with-same-ps2-code/ Share on other sites More sharing options...
mnfesq Posted July 4, 2016 Share Posted July 4, 2016 Based on the codes you posted, it sounds like you have an HP laptop. If so, you might want to try this DSDT patch that RehabMan created. It worked for me and others with HP laptops. into method label _Q13 parent_label H_EC replace_content begin Store(HKNO, Local0)\n If (LEqual(Local0,7))\n {\n // Brightness Down\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n }\n If (LEqual(Local0,8))\n {\n // Brightness Up\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n }\n If (LEqual(Local0,4))\n {\n // Mirror toggle\n Notify(\_SB.PCI0.LPCB.PS2K, 0x026e)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x02ee)\n }\n end; You might also want to review this thread: http://www.insanelymac.com/forum/topic/305030-guide-how-to-fix-brightness-hotkeys-in-dsdt/ Link to comment https://www.insanelymac.com/forum/topic/312894-brightness-keys-with-same-ps2-code/#findComment-2247735 Share on other sites More sharing options...
catalanmac Posted July 8, 2016 Author Share Posted July 8, 2016 Based on the codes you posted, it sounds like you have an HP laptop. If so, you might want to try this DSDT patch that RehabMan created. It worked for me and others with HP laptops. into method label _Q13 parent_label H_EC replace_content begin Store(HKNO, Local0)\n If (LEqual(Local0,7))\n {\n // Brightness Down\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n }\n If (LEqual(Local0,8))\n {\n // Brightness Up\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n }\n If (LEqual(Local0,4))\n {\n // Mirror toggle\n Notify(\_SB.PCI0.LPCB.PS2K, 0x026e)\n Notify(\_SB.PCI0.LPCB.PS2K, 0x02ee)\n }\n end; You might also want to review this thread: http://www.insanelymac.com/forum/topic/305030-guide-how-to-fix-brightness-hotkeys-in-dsdt/ Hey! I just made it work. But when I press brightness keys, the Touchpad and the Keyboard (both handled by VoodooPS2Controller.kext) stop working. Only if I plug an USB Mouse I can restart. What can I do? Thxs. Link to comment https://www.insanelymac.com/forum/topic/312894-brightness-keys-with-same-ps2-code/#findComment-2249388 Share on other sites More sharing options...
Recommended Posts