eC//FrEaK Posted April 4, 2020 Share Posted April 4, 2020 Hello forum members. In a german hackintosh forum i found some code snippet to correct map the brightness keys for a Latitude E7440. # _OSI(WIN7) is needed for brightness keys into method label OSID code_regex _OSI\s+\(WIN7\) replaceall_matched begin LOr(_OSI(WIN7),_OSI("Darwin")) end; #syscl_fixBrightnesskey_VoodooPS2 into method label BRT6 replace_content begin If (LEqual (Arg0, One))\n {\n Notify (LCD, 0x86)\n Notify (^^LPCB.PS2K, 0x0406)\n }\n If (And (Arg0, 0x02))\n {\n Notify (LCD, 0x87)\n Notify (^^LPCB.PS2K, 0x0405)\n }\n end; How and where do i have to implement this? And, is this compatible with the VoodooPS2 kext modified by @Bronxteck Link to comment Share on other sites More sharing options...
Administrators Hervé Posted April 4, 2020 Administrators Share Posted April 4, 2020 Obviously, it's a DSDT patch. Also obviously, you insert the patch code in the DSDT sections that are indicated... This very classic patching script is meant to be applied from iASL tools such as goold old DSDTEditor (a bit obsolete these days) or MaciASL. You may consult my E6220, E6230, E7250 or 7490 guides where I've detailed and explained exact same patches (albeit with different values). An alternative, details of which were posted by @Jake Lo, you could implement equivalent changes through a dedicated SSDT. 1 Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted April 4, 2020 Moderators Share Posted April 4, 2020 Brightness Control key has been implemented in my Catalina bootpack with hot patches https://osxlatitude.com/forums/topic/6472-dell-latitude-e7240e7440/?do=findComment&comment=86943 Although slightly different value, the Fn+Arrow Up and down works with VoodooPS2Controller. 1 Link to comment Share on other sites More sharing options...
Alex H Posted August 18, 2020 Share Posted August 18, 2020 Is there any tool or app that tells which key combo I'm pressing at a time? I've found 0x365/0x366 but that's mapping Fn+S/Fn+B for me instead of the expected Fn+F11/F12. Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted August 18, 2020 Moderators Share Posted August 18, 2020 did you apply Darwin to both OSID and _OSI devices? Link to comment Share on other sites More sharing options...
Recommended Posts