Contribute
Register

X299 Big Sur Support

Joined
Apr 17, 2012
Messages
206
Motherboard
Asus X299 Prime Deluxe
CPU
i9-7960x
Graphics
Vega 56
Hi @Loloflatsix - I am a bit uncertain with the new USB approach. Between your initial post and some of the files uploaded to the repository, I am not clear.

I have been using a version adapted from the truncated KGP Prime Deluxe Kext.

Would you please mind taking a look?
I have attached the current USB (which I now see is wrong for the MacPro 7,1) and all of the SSDT's.
I have the same Prime Deluxe as you.

Thank you in advance!
 

Attachments

  • EG USB AND SSDTs.zip
    24.1 KB · Views: 46
Joined
Mar 18, 2017
Messages
1,030
Motherboard
ASUS ROG Rampage VI Extreme
CPU
i9-7940X
Graphics
2 X VEGA 56
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. iOS
Hi @Loloflatsix - I am a bit uncertain with the new USB approach. Between your initial post and some of the files uploaded to the repository, I am not clear.

I have been using a version adapted from the truncated KGP Prime Deluxe Kext.

Would you please mind taking a look?
I have attached the current USB (which I now see is wrong for the MacPro 7,1) and all of the SSDT's.
I have the same Prime Deluxe as you.

Thank you in advance!

I will take a look.

while waiting :
Yes my new approach with USB.kext works : tested with my Asus Prime Deluxe but with 20 ports ( never used truncated 15 ports ), also adaptated for my Gigabyte UD4 on Big Sur.
Don't be afraid :)

I just want people to adapt it to their own system: I don't want and don't have time to do everything ... :cool:

That's why I also shared Kgp's guide for SSDTs.

But if you are fine with the USB.kext you are currently using, just edit info.plist:

Code:
        </dict>
            <key>model</key>
            <string>MacPro7,1</string>
        </dict>
        <key>AppleUSBXHCISPTB MacPro7,1</key>
        <dict>

Enjoy; :thumbup:
 
Joined
Dec 13, 2018
Messages
45
Motherboard
Asus X299-A Prime
CPU
i7-7800x
Graphics
RX 5700XT
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Someone has figured out how to power usb devices during sleep?

On my rMBP if I connect my iPhone when lid is closed (but the mac is connected to power adapter) the iPhone starts to charge. But on this hack no.

Right now I’m using hacktool to generate SSDT-UIAC.aml without any kext.
 
Joined
Dec 13, 2018
Messages
45
Motherboard
Asus X299-A Prime
CPU
i7-7800x
Graphics
RX 5700XT
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
you still need USBInjectAll.kext with SSDT-UIAC.aml

I tried to add USBInject.kext from HackinTool, and also the entry on config.plist but same problem.


EDIT: I checked on Windows 10 and isn't working. Maybe there is a Bios setting (or a Bios bug)? I have ErP disabled and Sleep set to S5-State
 
Last edited:
Joined
Jul 16, 2010
Messages
445
Motherboard
Asus Pro WS x299 Sage II
CPU
i9-10980XE
Graphics
RX 5500 XT
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Looking over original KGB Guide and the newest guides for Catalina/Big Sur we no longer need rename patches for example _OSI to XOSI, is this taken care of by OpenCore and Whatevergreen combination?

I think I asked this one before we either use SSDT or Device Properties in OC but not both? Are most of the Device Properties or SSDTs (Non System) just for cosmetic purposes?

I don't have Device Properties populated nor SSDTs (Only Required System SSDTs) and my X299 Sage II on the surface so far boots/restarts/shutdown/sleep/wake perform perfectly as is.
 
Joined
Jan 19, 2019
Messages
248
Motherboard
Z390 M Gaming
CPU
i9-9900
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Sounds like a BIOS setting issue: try enable ErP/System power management from the BIOS; there are a few other settings on the page that you ser ErP, try to enable some that related to power management (I can't remember the exact name)

I tried to add USBInject.kext from HackinTool, and also the entry on config.plist but same problem.


EDIT: I checked on Windows 10 and isn't working. Maybe there is a Bios setting (or a Bios bug)? I have ErP disabled and Sleep set to S5-State
 
Joined
Mar 18, 2017
Messages
1,030
Motherboard
ASUS ROG Rampage VI Extreme
CPU
i9-7940X
Graphics
2 X VEGA 56
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. iOS
@egroys

I checked the SSDTs :

They are the same as on the repo :

Except :

On the repo I have not renamed on SSDTs PCI0 ------->PC00 : each user must do this according to IOREg before putting them on OC / ACPI / Patched. ;)
 
Joined
Apr 17, 2012
Messages
206
Motherboard
Asus X299 Prime Deluxe
CPU
i9-7960x
Graphics
Vega 56
@egroys

I checked the SSDTs :

They are the same as on the repo :

Except :

On the repo I have not renamed on SSDTs PCI0 ------->PC00 : each user must do this according to IOREg before putting them on OC / ACPI / Patched. ;)
Thank you.

My biggest question is if I need to add/adapt any SSDT to work with the Kext? I have a few strange TB issues and I am wondering if they are related to this kext being outdated. I will try your X299PrimeDUSBMacPro.kext and see what comes up.
 
Joined
Mar 18, 2017
Messages
1,030
Motherboard
ASUS ROG Rampage VI Extreme
CPU
i9-7940X
Graphics
2 X VEGA 56
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. iOS
GUIDE TO CREATE EDIT MODIFY YOUR OWN USB.kext FOR YOUR X299 MOTHERBOARD

On a previous post #396

I explained my new approach for USB.kext

The Goal is to have in one kext all ports properties and counts for each USB Pci Device you have and use according with IOReg.


Here I will explain more :

01 / Prerequisite you have your SSDT-X299-XHC configured and loaded :

On my ASUS X299 Prime deluxe :

Capture d’écran 2020-09-24 à 19.49.06.png


02 / Prerequisite you have your SSDT-X299-XHCI configured and loaded :

Capture d’écran 2020-09-24 à 21.41.28.png


03 / You have one of the kexts from the post #396 according to your SMBIOS iMacPro1,1 or MacPro 7,1

04 / We will see how this kext is made :

Navigate, find the right kext , right click show package content / content / open info.plist with Xcode :

You can see after click on IOKITPersonnalities :

The different sections :
- XHC3
- XHC4
- XHC5
- XHCi

Capture d’écran 2020-09-24 à 20.36.13.png


05 / We will configure ports for your own kext under XHCI :


05-1
- You need one of the new kext approaches see 03 /

Navigate, find the right kext , right click show package content / content / open info.plist with Xcode

Reserve it on the right side of your screen

05-2
- your original kext matching with your system ( full or truncated 15 ports)

Do the same as above and reserve it on the left side of your screen

Now on the original kext you must select / right click copy the ports section :

Capture d’écran 2020-09-24 à 23.54.49.png


05-3
After on the new kext your reserved on right section of your screen :

Select ports section , select right click CUT ports section and now PAST ports section you selected by copy on the original kext just under the line port-count :

Done you must see that :

Capture d’écran 2020-09-24 à 20.38.10.png


Save it on Xcode

06 / We will add/modify/ let XHC3 section :

ASMedia ASM3142 #2 2x USB 3.1 Type-A External

In this XHC3 section we set all properties :

06-1
IOPCIPrimaryMatch : 0x21421b21 ( to be verify )
IOProviderClass : AppleUSBXHCIPCI

06-2
After under IOProviderMergeProperties :
- kUSBSleepPortCurrentLimit : 2100
- kUSBSleepPowerSupply : 5100
- kUSBWakePortCurrentLimit : 2100
- kUSBWakePowerSupply : 5100

06-3
Now the ports :
In the XHC3 section you need to check what port type is and the count.
Generaly for USB 3.0 they are four paired :
- HS01 / HS02 for USB2
- SS01/ SS02 For USB3
HS01 paired with SS01 and HS02 paired with SS02

So we set the HS01/HS02 USB2 ports with 0 under usb-connector
And we set the SS01/SS02 USB3 ports with 3 under usb-connector

Done we have :

Capture d’écran 2020-09-24 à 20.41.01.png


07 / We will add/modify/ let XHC4 section :

ASMedia ASM3142 #3 1x USB 3.1 Type-A / ASM1543 1x USB 3.1 Type-C External

As above :

07-1
IOPCIPrimaryMatch : 0x21421b21 ( to be verify)
IOProviderClass : AppleUSBXHCIPCI

07-2
After under IOProviderMergeProperties :
- kUSBSleepPortCurrentLimit : 2100
- kUSBSleepPowerSupply : 5100
- kUSBWakePortCurrentLimit : 2100
- kUSBWakePowerSupply : 5100

07-3
Now the ports :
They are four paired :
HS01 paired with SS01 and HS02 paired with SS02

Those settings are different :
HS01 USB C with 10 under usb-connector
HS02 USB 3.1 with 3 under usb-connector
SS01 USB C with 10 under usb-connector
SS02 USB 3.1 with 3 under usb-connector

Now we have :

Capture d’écran 2020-09-24 à 20.42.12.png


08 / We will add/modify/ let XHC5 section :

NOTE : For GC Titan Ridge with SSDT-X299-TB3TTR ( or similar ) loaded with XHC5 under DBS2 :

08-1
IOPCIPrimaryMatch : 0x15ec8086 ( to be verify)
IOProviderClass : AppleUSBXHCITR

08-2
After under IOProviderMergeProperties :
- kUSBSleepPortCurrentLimit : 2100
- kUSBSleepPowerSupply : 5100
- kUSBWakePortCurrentLimit : 2100
- kUSBWakePowerSupply : 5100

08-3
Now the ports :
They are two USBC thunderbolt ports :

HS01 USB C with 10 under usb-connector
HS02 USB C with 10 under usb-connector

Now we have :

Capture d’écran 2020-09-24 à 20.42.44.png


Save this.

Now under each section you must verify you have under model :

- MacPro7,1
or
- iMacPro1,1
According to your SMBIOS

Results :

For each device you configured in kext , you can verify on IOREg :

For exemple under XHC3 as on picture below click under ports and see if you have the right port count : if it's ok you're done :

Capture d’écran 2020-09-25 à 19.45.38.png


All sections such as XCH1, XHC2, XHC3, XHC4, XHC5 should be renamed in concordance to your own SSDT-X299-XHC and SSDT -X299-TB3TTR

For a particular configuration, we will see how to set them correctly.

Enjoy :thumbup:
 
Last edited:
Top