Contribute
Register

A Beginner's Guide to Creating a Custom USB SSDT

.. the problem is the hub ...

So the hub is the one thing which now prevents sleep?

When we started this process, it was the bluetooth causing the problem. And you seem to have sorted-out that one.

We don't know anything about the hub you are using so cannot offer help.

For sure though, a hub plugged into a motherboard header does not increase the total port count. It may have 4x or 6x or 8x ports on it, but the hub still only uses 1x motherboard port on the XHC controller.

:)
 
Do you suggest any hub , till now I used those two both gave me the same issue .
 

Attachments

  • 20190718_085324.jpg
    20190718_085324.jpg
    2.2 MB · Views: 47
  • 20190718_085320.jpg
    20190718_085320.jpg
    1.9 MB · Views: 73
So the hub is the one thing which now prevents sleep?

When we started this process, it was the bluetooth causing the problem. And you seem to have sorted-out that one.

We don't know anything about the hub you are using so cannot offer help.

For sure though, a hub plugged into a motherboard header does not increase the total port count. It may have 4x or 6x or 8x ports on it, but the hub still only uses 1x motherboard port on the XHC controller.

:)
Esactly how can I see why this hub weak me up the machine.
Those are the hub I use
 

Attachments

  • 20190718_085320.jpg
    20190718_085320.jpg
    1.9 MB · Views: 59
  • 20190718_085324.jpg
    20190718_085324.jpg
    2.2 MB · Views: 50
Esactly how can I see why this hub weak me up the machine.
Those are the hub I use

Hi there.

Yes, those look like standard internal hubs. No problem on that score.

This is well beyond the scope of a beginner's guide ...

Some ideas:

As I explained before a device plugged-in to a USB port can wake a machine by polling it. You could check System Report to see how they are recognised, and IORegistryExplorer for how they are managed.

You could check the system.log to see what exactly woke the machine. It will give you time and date and then "Wake reason:"

Clearly a hub needs power all the time to work.
 
Hi there.

Yes, those look like standard internal hubs. No problem on that score.

This is well beyond the scope of a beginner's guide ...

Some ideas:

As I explained before a device plugged-in to a USB port can wake a machine by polling it. You could check System Report to see how they are recognised, and IORegistryExplorer for how they are managed.

You could check the system.log to see what exactly woke the machine. It will give you time and date and then "Wake reason:"

Clearly a hub needs power all the time to work.


I open another post i hope is the correct section with all information
I really hope to solve and finally close this case and enjoy my hackintosh
 
Hi I need assistance creating an USB SSDT, not sure what I am doing wrong (have been trying for awhile). I have put the DSDT patches in, but my ports still are showing as PR, not HS as in every tutorial. Am I missing some patch or kext? Thank you very much for whatever assistance, tips, etc.
 

Attachments

  • Screen Shot 2019-08-06 at 9.09.49 PM.png
    Screen Shot 2019-08-06 at 9.09.49 PM.png
    175.3 KB · Views: 67
  • config.plist
    15.1 KB · Views: 73
Hi everyone, I followed the guide and managed to map my USB ports, the ports are working but now Bluetooth isn't working anymore. I noticed that my Broadcom card (internally plugged into the m.2 slot, replacing original gigabyte card, not actually plugged into a USB port) was seen by IORegistryExplorer in port HS10 so I kept it active setting it as "USBConnector", 255, but still it doesn't work (and now disappeared in IORegistryExplorer). WiFi is working properly (and it wasn't mentioned in IORegistryExplorer).
What should I do?
In attachment the SSDT_USB.aml file and a screenshot of IORegistryExplorer before rebooting with SSDT file in EFI folder.
Thanks a lot for helping, guys!
 

Attachments

  • SSDT_USB.aml
    691 bytes · Views: 74
  • IOservice screnshot.png
    IOservice screnshot.png
    124.1 KB · Views: 60
Hi I need assistance creating an USB SSDT, not sure what I am doing wrong (have been trying for awhile). I have put the DSDT patches in, but my ports still are showing as PR, not HS as in every tutorial. Am I missing some patch or kext? Thank you very much for whatever assistance, tips, etc.

Hi there.

This thread isn't concerning the Hackintool method for configuration. There are differences.

However, to try and help. let us see the SSDT you've created and an IORegistryExplorer output - either an *ioreg export or a screengrab covering the XHC controller.

:)
 
Hi everyone, I followed the guide and managed to map my USB ports, the ports are working but now Bluetooth isn't working anymore. I noticed that my Broadcom card (internally plugged into the m.2 slot, replacing original gigabyte card, not actually plugged into a USB port) was seen by IORegistryExplorer in port HS10 so I kept it active setting it as "USBConnector", 255, but still it doesn't work (and now disappeared in IORegistryExplorer). WiFi is working properly (and it wasn't mentioned in IORegistryExplorer).
What should I do?
In attachment the SSDT_USB.aml file and a screenshot of IORegistryExplorer before rebooting with SSDT file in EFI folder.
Thanks a lot for helping, guys!

Hi there.

1) Your SSDT looks okay :thumbup:.

2) The IOReg output shows that the Bluetooth adapter is connected as a hub. This is usually a problem. Because a hub can be more than one port you can't configure them, only single ports.

As the motherboard has clearly 'pinched' one of the USB ports for the m.2 slot, maybe the internal wiring for this turns it into a hub rather than a simple port. Or maybe the adapter/riser card, if you used one, is responsible. Disabling HS10 otherwise seems an odd choice. I checked the Gigabyte manual but I see no mention of this in the BIOS set-up.

When you did your port testing prior to building the SSDT template, did you, by any chance, do this without the wireless/BT card in place? If so did you notice if the HS10 port was present elsewhere, or not?

3) Check About this Mac / System Report / USB and the "USB Device Tree" to see what controllers and hubs are showing.

:)
 
Last edited:
Thank you very much. Here are the files (I am sorry I cannot create problem reporting files, for some reason no F-key will work in the Clover boot). Used Hackintool to create the files. I still have to trim a few ports. I remove all the port limit patches and it seems to be stable, but waiting a while to see what happens.
 

Attachments

  • USBSSDT TRY.zip
    1.2 MB · Views: 86
Back
Top