3ig / IdeaPad-S540-15IML-hackintosh

29 stars 9 forks source link

SSDT-BKEY.aml / Big Sur OC #10

Open thefiredragon opened 4 years ago

thefiredragon commented 4 years ago

Dear 3ig, long time ago we wrote,

Here I'd like to provide my OC Efi, I'm currently running under big sur, only boot need some time but all is working. One question here I have, your new SSDT-BKey.aml is working for you?

For me not, perhaps we could take a look?

best Regards, Dan

EFI.zip

3ig commented 4 years ago

I plan to migrate to OpenCore when official BigSur is released. For now i need my system to be as stable as it can be. Yes SSDT-BKey.aml is working for me and it took me a lot of time to actually figure out what's going on. I'll try to explain so you don't have to go through the same frustrations. First you need to find what EC query methods the brightness keys are calling in your DSDT (mine are _Q8F for brightness down and _Q8E for brightness up). Obviously yours differ that's why the patch is not working for you. To do that you need to:

After that you need to rename the methods in your OpenCore config.plist (example: _Q8F to XQ8F) so you can overwrite them. I see that you already have _Q11 to XQ11 and _Q12 to XQ12 renames in your config. If those are the method names the only thing left is to replace the values in my SSDT-BKey.aml and it should work.

3ig commented 4 years ago

Don't forget to remove your patched DSTD after you've found the method names :)

thefiredragon commented 4 years ago

Okay thank you the q11 q12 patches are wrong We have same machine and located the path names in the past.

I only need to add the rename patches , could you provide me them?

Thanks for the fast answer

thefiredragon commented 4 years ago

I’d remove patched dsdt this was not working anymore with Big Sur , only need the rename from _Q to XQ patches for my config.plist

3ig commented 4 years ago

Give me a minute to see what's the exact format for OpenCore

3ig commented 4 years ago
<dict>
    <key>Comment</key>
    <string>_Q8E to XQ8E</string>
    <key>Count</key>
    <integer>0</integer>
    <key>Enabled</key>
    <true/>
    <key>Find</key>
    <data>X1E4RQ==</data>
    <key>Limit</key>
    <integer>0</integer>
    <key>Mask</key>
    <data></data>
    <key>OemTableId</key>
    <data></data>
    <key>Replace</key>
    <data>WFE4RQ==</data>
    <key>ReplaceMask</key>
    <data></data>
    <key>Skip</key>
    <integer>0</integer>
    <key>TableLength</key>
    <integer>0</integer>
    <key>TableSignature</key>
    <data></data>
</dict>
<dict>
    <key>Comment</key>
    <string>_Q8F to XQ8F</string>
    <key>Count</key>
    <integer>0</integer>
    <key>Enabled</key>
    <true/>
    <key>Find</key>
    <data>X1E4Rg==</data>
    <key>Limit</key>
    <integer>0</integer>
    <key>Mask</key>
    <data></data>
    <key>OemTableId</key>
    <data></data>
    <key>Replace</key>
    <data>WFE4Rg==</data>
    <key>ReplaceMask</key>
    <data></data>
    <key>Skip</key>
    <integer>0</integer>
    <key>TableLength</key>
    <integer>0</integer>
    <key>TableSignature</key>
    <data></data>
</dict>
3ig commented 4 years ago

Also if your machine is exactly the same as mine SSDT-RMCF.aml will make your "Print Screen" key work correctly.

thefiredragon commented 4 years ago

Thank you, rename patch did the trick, For what is the print key under macos? On windows I can use it to take screenshots ;) I added this aml, too, thank you