Jump to content

Latitude E7440 Brightness Key Mappings


eC//FrEaK

Recommended Posts

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

  • Administrators

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.

  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...