Contribute
Register

XHC USB Kext Creation Guideline

Status
Not open for further replies.
thank you kgp, I already have a working build with ASUS x99-A / USB3.1 + i7-5930k, right now the usb don't work well, so I'm about to attept to put together a kext for this specific motherboard

Then just use the SMBIOS you are actually using. No problem with respect to the XHC USB kext.
 
ASUS Prime Z370-A USB kexts with SMBIOS iMac18,1 (used for Intel only configuration) and iMac18,3 (used for Nvidia/AMD dGPU).
In the 15 port kext, I disabled 2x USB 3.0 external connected with internal USB3.0 header U31G1_12.

edited: updated files according to kgp's notes.
 

Attachments

  • IlF-iMac18.1-ASUS-PZ370A-XHCI-15port.kext.zip
    4.3 KB · Views: 55
  • IlF-iMac18.1-ASUS-PZ370A-XHCI.kext.zip
    4.2 KB · Views: 65
  • IlF-iMac18.3-ASUS-PZ370A-XHCI-15port.kext.zip
    4.3 KB · Views: 77
  • IlF-iMac18.3-ASUS-PZ370A-XHCI.kext.zip
    4.2 KB · Views: 63
Last edited:
ASUS Prime Z370-A USB kexts with SMBIOS iMac18,1 (used for Intel only configuration) and iMac18,3 (used for Nvidia/AMD dGPU).
In the 15 port kext, I disabled 2x USB 3.0 external connected with two internal USB3.0 header U31G1_12.

1.) Why 4 files?
2.) port-count must be 160000 (highest SS port SSP6)
3.) What happened to HS07 and HS08?
4.) Apparently you disabled 2x USB 3.0 external connected with ONE internal USB3.0 header U31G1_12
 
1.) Why 4 files?
2.) port-count must be 160000 (highest SS port SSP6)
3.) What happened to HS07 and HS08?
4.) Apparently you disabled 2x USB 3.0 external connected with ONE internal USB3.0 header U31G1_12
1. Two with full ports and two 15 version.
2. Will fix.
3. They were not presented during ports discovery procedure. Will post a picture a bit later.
4. Yep, mistyped.
 
1. Two with full ports and two 15 version.
2. Will fix.
3. They were not presented during ports discovery procedure. Will post a picture a bit later.
4. Yep, mistyped.

ad.1) And what is the difference between the two files for each kext?

ad.3) and you really did the port discovery for all onboard USB connectors and onboard USB headers? And HS07 und HS08 are also not assigned to any internal USB2.0 device like Aura?
 
ad.1) And what is the difference between the two files for each kext?

ad.3) and you really did the port discovery for all onboard USB connectors and onboard USB headers? And HS07 und HS08 are also not assigned to any internal USB2.0 device like Aura?
1. As I said in the original post: iMac18,1 and iMac18,3 SMBIOS in the files.
3. Yep, on 10.13.6 I did discovery according to your manual. Here is the result.
There are two Aura connectors on the M/B, so HS07/08 might be assigned to them, but I can't check it.
 

Attachments

  • z370-a-back.png
    z370-a-back.png
    543.7 KB · Views: 104
  • z370-a-internal.jpg
    z370-a-internal.jpg
    658.2 KB · Views: 91
  • Like
Reactions: kgp
1. As I said in the original post: iMac18,1 and iMac18,3 SMBIOS in the files.
3. Yep, on 10.13.6 I did discovery according to your manual. Here is the result.
There are two Aura connectors on the M/B, so HS07/08 might be assigned to them, but I can't check it.

You can check it in IOREG. You should be able to see the AURA assignment to HS07 or HS08. If so, I would rather drop some internal USB2.0 header or 1 external USB2.0 connector for the 15-port kext. The fully implemented kext in this case should implement all 20 ports instead.
 
You can check it in IOREG. You should be able to see the AURA assignment to HS07 or HS08. If so, I would rather drop some internal USB2.0 header or 1 external USB2.0 connector for the 15-port kext. The fully implemented kext in this case should implement all 20 ports instead.
Will check it after clean High Sierra installation.
And as usual, thx for your help and time.
 
  • Like
Reactions: kgp
Hey @kgp,
I've checked it and there are no any signs of HS07/08 presented. There are no signs of HS07/08 even in USB Single Port Control in BIOS.

Also, I've just done USB kext for ASUS Z170-A and it has the same story - there are no HS07/08 ports.
Here are all files. I've disabled USB3_34 header.
 

Attachments

  • IlF-iMac17.1-ASUS-Z170A-XHCI-15port.kext.zip
    4.2 KB · Views: 68
  • IlF-iMac17.1-ASUS-Z170A-XHCI.kext.zip
    4.2 KB · Views: 48
  • z170-a-back.png
    z170-a-back.png
    628.8 KB · Views: 80
  • z170-a-internal.jpg
    z170-a-internal.jpg
    598.1 KB · Views: 86
  • Like
Reactions: kgp
1. As I said in the original post: iMac18,1 and iMac18,3 SMBIOS in the files.

You can do this in a single file.
(IOKitPersonalities can have multiple entries).
 
Status
Not open for further replies.
Back
Top