Contribute
Register

XHC USB Kext Creation Guideline

Status
Not open for further replies.
Hi @kgp

I am some mess on my machine and with that I have finally worked on the XHC USB kext.
in case you like to extend your collection I have attached the full implementation for my ASRock X299m extreme4 mobo.

All the Best
Frank

Just to confirm: the complete implementation of all USB onboard connectors of the ASRock X299M Extreme 4 also requires the implementation of all 20 HS/SS ports? If so, everything is fine as implemented.

I already uploaded your kext to the XHC USB kext library, after a few tiny cosmetic modifications.

Cheers,

KGP
 

Attachments

  • FS-iMacPro-ASRock-X299M-XHCI.kext.zip
    3.2 KB · Views: 79
Just to confirm: the complete implementation of all USB onboard connectors of the ASRock X299M Extreme 4 also requires the implementation of all 20 HS/SS ports? If so, everything is fine as implemented.

I already uploaded your kext to the XHC USB kext library, after a few tiny cosmetic modifications.

Cheers,

KGP

Hi @kgp

Yes, ASRock some how squeezed in 20 HS/SS ports on that tiny board :lol:

All the best
Frank
 
  • Like
Reactions: kgp
Hi all, here's mine for the Asus X-99E.

UPDATE: As KGP noted, I've also uploaded the "Full Port (20 ports)" kext so the user can cherry pick which ports to remove so it meets the 15 port limit.

UPDATE 2: In light of the recent discussions, I've updated my notes as well as the kexts.

Notes
1. I used the USB3_56 (B) header. I don't know if that matters but I thought I'd note it. (look at screen shot)
2. The rear, USB 3.1 Type C sort of works. It can detect USB 3 devices but it is slow..
3. I removed 5 port entries to make this work. (look at screen shot)

Front Ports

Left: USB 3 | HS09@14900000, 3 (USB 2 device plugged in) | SSP4@14d00000 (USB 3 device plugged in)
Right: USB 3 | HS10@14a00000, 3 (USB 2 device plugged in) | SSP5@14e00000 (USB 3 device plugged in)

Rear Ports

1a: USB 2 | HS14@14e00000, 0
1b: USB 2 | HS13@14d00000, 0
2a: USB 2 | HS06@14600000, 0
2b: USB 2 | HS05@14500000, 0
3a: USB 3 | HS04@14400000, 255 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in)
3b: USB 3 | HS04@14400000, 255 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in)
4a: USB 3 | HS03@14300000, 255 (USB 2 device plugged in) | SSP2@14b00000 (USB 3 device plugged in)
4b: USB 3 | HS04@14400000, 255 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in) - Huh?
5: USB 3.1 | HS03@00200000 (USB 3 device plugged in) - It's not in XHCI@14 but XHCI@0?
 

Attachments

  • Screen Shot 2018-11-04 at 7.46.32 AM.png
    Screen Shot 2018-11-04 at 7.46.32 AM.png
    145.3 KB · Views: 156
  • Screen Shot 2018-11-04 at 7.47.25 AM.png
    Screen Shot 2018-11-04 at 7.47.25 AM.png
    68.7 KB · Views: 90
  • Screen Shot 2018-11-04 at 8.24.16 AM.png
    Screen Shot 2018-11-04 at 8.24.16 AM.png
    40.8 KB · Views: 94
  • GmdKmlfli8y0QIcJ_setting_fff_1_90_end_500.png.jpeg
    GmdKmlfli8y0QIcJ_setting_fff_1_90_end_500.png.jpeg
    18.2 KB · Views: 103
  • Clixt-iMacPro-AsusX99E-XHCI-15port.kext.zip
    4.1 KB · Views: 77
  • Clixt-iMacPro-AsusX99E-XHCI.kext.zip
    4.1 KB · Views: 77
Last edited:
Hi all, here's mine for the Asus X-99E.

Notes
1. I used the USB3_56 (B) header. I don't know if that matters but I thought I'd note it. (look at screen shot)
2. The rear, USB 3.1 Type C sort of works. It can detect USB 3 devices but it is slow..
3. I removed 5 port entries to make this work. (look at screen shot)

Front Ports

Left: USB 3 | HS09@14900000, 3 (USB 2 device plugged in) | SSP4@14d00000 (USB 3 device plugged in)
Right: USB 3 | HS10@14a00000, 3 (USB 2 device plugged in) | SSP5@14e00000 (USB 3 device plugged in)

Rear Ports

1a: USB 2 | HS14@14e00000, 0
1b: USB 2 | HS13@14d00000, 0
2a: USB 2 | HS06@14600000, 0
2b: USB 2 | HS05@14500000, 0
3a: USB 3 | HS04@14400000, 3 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in)
3b: USB 3 | HS04@14400000, 3 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in)
4a: USB 3 | HS03@14300000, 3 (USB 2 device plugged in) | SSP2@14b00000 (USB 3 device plugged in)
4b: USB 3 | HS04@14400000, 3 (USB 2 device plugged in) | SSP3@14c00000 (USB 3 device plugged in) - Huh?
5: USB 3.1 | HS03@00200000 (USB 3 device plugged in) - It's not in XHCI@14 but XHCI@0?

Thanks, man!

USB 3.1 Type-C should not be part of the kext! It is assigned to a controller different from XHCI.

This is the fully implemented XHC USB kext, with all USB onboard connectors fully implemented?

Please verify and reload modified attached kext, if necessary.
 
Thanks, man!

USB 3.1 Type-C should not be part of the kext! It is assigned to a controller different from XHCI.

This is the fully implemented XHC USB kext, with all USB onboard connectors fully implemented?

Please verify and reload modified attached kext, if necessary.

Oh I knew it! Yes this was not touched.

If you mean "You must have also all internal USB 2.0 and USB 3.0 connectors connected with respective USB front panel plugs!" then maybe? But like I noted, there's 2 USB 3 headers (USB3_12: A | USB3_56: B). I used B to plug in the front ports, which is USB 3.

As for USB 2 connectors, my case (Corsair Air 540) does not have a front USB 2 ports so I cannot plugin in the internal USB 2 connectors (screenshot attached). Perhaps I could go to a Microcenter and get a rear, USB module? Any suggestions?

But as of now, it works great on my system. :D
 

Attachments

  • Screen Shot 2018-11-04 at 10.17.42 AM.png
    Screen Shot 2018-11-04 at 10.17.42 AM.png
    139.2 KB · Views: 193
Oh I knew it! Yes this was not touched.

If you mean "You must have also all internal USB 2.0 and USB 3.0 connectors connected with respective USB front panel plugs!" then maybe? But like I noted, there's 2 USB 3 headers (USB3_12: A | USB3_56: B). I used B to plug in the front ports, which is USB 3.

As for USB 2 connectors, my case (Corsair Air 540) does not have a front USB 2 ports so I cannot plugin in the internal USB 2 connectors (screenshot attached). Perhaps I could go to a Microcenter and get a rear, USB module? Any suggestions?

But as of now, it works great on my system. :D

If possible, please try to provide the complete kext, which can be truncated by any user subsequently up to his/her personal taste to remain within the 15-port limit.

Sorry to ask you for this additional effort, but your work and contribution is much appreciated!

I will wait with the kext upload yet. ;)
 
If possible, please try to provide the complete kext, which can be truncated by any user subsequently up to his/her personal taste to remain within the 15-port limit.

Sorry to ask you for this additional effort, but your work and contribution is much appreciated!

I will wait with the kext upload yet. ;)

It's all good man! I've used your guide multiple times to Hackintosh my system, and this is the least I can do :)
 
Last edited:
  • Like
Reactions: kgp
It's all good man! I've used your guide multiple times to Hackintosh my system, and this is the least I can do :)

But here you go!

Gorgeous, man! Uploaded after few minor cosmetic corrections..
 

Attachments

  • Clixt-iMacPro-AsusX99E-XHCI-.kext.zip
    3.1 KB · Views: 71
Ok great! I'll update my original post!
 
Ok great! I'll update my original post!

@clixt, instead of having twice the same fully implemented kext in post #43, could you rather please once more attach and provide your originally truncated 15-port kext in addition? I finally decided to provide both fully implemented and truncated 15-port kexts in the Library and I am now unfortunately missing the latter.

Thanks in advance,

KGP
 
Status
Not open for further replies.
Back
Top