Contribute
Register

Opencore check if XCPM is enabled

Status
Not open for further replies.
Joined
Dec 5, 2021
Messages
95
Motherboard
Lenovo 81BG
CPU
i7 8550u
Graphics
UHD 620, 1920 x 1080
Mobile Phone
  1. Android
  2. iOS
This guide :

Assumes:

first make sure Apple's XCPM core is loaded.

Explains what to do for
and how to enable XCPM for 10.11 and below:

Ivy Bridge and Ivy Bridge-E note: Apple dropped support for XCPM back in macOS Sierra, so XCPM is only supported between 10.8.5 and 10.11.6. Newer OSes will require the ssdtPRgen method

What about 10.15 opencore?
I used this fantastic tutorial to install my hackintosh :
 
Hoping that is enabled by default went and did it the result is attached :
CPUFriendDataProvider.kext

Inside it only has Info.plist and no executables.
:(

As I don't know how even add this to the opencore bootloader, because it needs one executable path for each kext.
I'm stuck!
 

Attachments

  • CPUFriendDataProvider.kext.zip
    4.4 KB · Views: 61
I guess that was fine just put it empty, but need to know if has actually worked, no idea how :)
 
Hoping that is enabled by default went and did it the result is attached :
CPUFriendDataProvider.kext

Inside it only has Info.plist and no executables.
:(

As I don't know how even add this to the opencore bootloader, because it needs one executable path for each kext.
I'm stuck!


Look in the sample.plist of the OpenCore you downloaded you will see how it is done in the Kernel section. With the Legacy_USB3.kext option for a plist only .kext example. You only need the path to the Contents/Info.plist for them. Copy the section into your config.plist changing the name of the .kext to the one you have and save the file it will now be used, oh change the comment too.

Code:
<key>Kernel</key>
    <dict>
        <key>Add</key>
        <array>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>Lilu.kext</string>
                <key>Comment</key>
                <string>Patch engine</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/Lilu</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>8.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
snip ....
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>BundlePath</key>
                <string>Legacy_USB3.kext</string>
                <key>Comment</key>
                <string>XHC ports configuration</string>
                <key>Enabled</key>
                <false/>
                <key>ExecutablePath</key>
                <string></string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string>15.0.0</string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
 
Thank you done any way to test if the kext is working fine?
 
Is this normal for codeless kexts?


kextstat | grep CPU


50 0 0xffffff7f837e2000 0xb000 0xb000 org.vanilla.driver.CPUFriend (1.2.4) A6C993B8-8837-37CD-BDEF-CE3A0A8E098D <42 12 8 6 5 3 2 1>

I don't get that kext CPUFriendDataProvider.kext in here, or is something wrong?
 
No idea I have never needed it so have never done any research on its application. I only know how to point you in the correct direction for a info.plist only .kext entry. Though it does seem like it loads properly with that grep command you show. That is all I can tell you about it.
 
No idea I have never needed it so have never done any research on its application. I only know how to point you in the correct direction for a info.plist only .kext entry. Though it does seem like it loads properly with that grep command you show. That is all I can tell you about it.
Thanks but CPUFriendDataProvider.kext is a different kext, that shows CPUFriend.kext is loaded.
Here's my config:
 

Attachments

  • config.plist
    33.9 KB · Views: 61
Thanks but CPUFriendDataProvider.kext is a different kext, that shows CPUFriend.kext is loaded.
Here's my config:


Those both look like they are proper for a plist only entry, I would think they both get used.

Code:
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>CPUFriend.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/CPUFriend</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>CPUFriendDataProvider.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string></string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
 
Shortly after I had to install a couple more kexts without executables and they don't show in kextstat also, you're right it's totally normal :)
 
Status
Not open for further replies.
Back
Top