Contribute
Register

SSDT or clover patch to disable super I/O (serial port) on GIGABYTE Z390 M GAMING

Status
Not open for further replies.
I have also attached my UIA SSDTs, as well as the codeless kext Hackintool generates.

EDIT: If I were to use the port limit removal patch, I would have HS 01 - 14, SS01 - 10, USR1, and USR2

EDIT #2 There is a mistake present in Hackintool. I forgot to change the connector type for HS02/SS02 to USB-C switched (Connector type 9). I think this is reflected in my SSDT though.
View attachment 437154

IOUSBHOSTDEVICE is a bluetooth device or a usb dongle?
 
Negative; it's just the hub from my primary display
 
I have also attached my UIA SSDTs, as well as the codeless kext Hackintool generates.

EDIT: If I were to use the port limit removal patch, I would have HS 01 - 14, SS01 - 10, USR1, and USR2

EDIT #2 There is a mistake present in Hackintool. I forgot to change the connector type for HS02/SS02 to USB-C switched (Connector type 9). I think this is reflected in my SSDT though. Here is a new screenshot to reflect those changes.

View attachment 437159

If you know which ports you want to disable, the easiest way to do it is to:

Extract SSDT from Clover.
Edit the SSDT for USB.
IF you wan to disable HS09, change this:
Code:
    If (LGreaterEqual (NHSP, One))
    {
        Scope (\_SB.PCI0.XHC.RHUB.HS09)
        {
            Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
            {
                If (LEqual (H1TC, Zero))
                {
                    If (LEqual (And (UMAP, One), One))
                    {
                        Return (GUPC (One))
                    }
                    Else
                    {
                        Return (GUPC (Zero))
                    }
                }
                Else
                {
                    Return (\_SB.UBTC.RUCC (H1CR, One))
                }
            }

To this:
Code:
    If (LGreaterEqual (NHSP, One))
    {
        Scope (\_SB.PCI0.XHC.RHUB.HS09)
        {
            Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
            {
                If (LEqual (H1TC, Zero))
                {
                    If (LEqual (And (UMAP, One), One))
                    {
                        Return (GUPC (Zero))
                    }
                    Else
                    {
                        Return (GUPC (Zero))
                    }
                }
                Else
                {
                    Return (\_SB.UBTC.RUCC (H1CR, One))
                }
            }

The above example is how my Gigabyte Z390 motherboard looks. For Asus, it might be even easier. Please see this post for Asus instructions.
 

Attachments

  • Screen Shot 2019-11-22 at 8.42.49 PM.png
    Screen Shot 2019-11-22 at 8.42.49 PM.png
    49.5 KB · Views: 163
Last edited:
If you know which ports you want to disable, the easiest way to do it is to:

Extract SSDT from Clover.
Edit the SSDT for USB.
IF you wan to disable HS09, change this:
Code:
    If (LGreaterEqual (NHSP, One))
    {
        Scope (\_SB.PCI0.XHC.RHUB.HS09)
        {
            Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
            {
                If (LEqual (H1TC, Zero))
                {
                    If (LEqual (And (UMAP, One), One))
                    {
                        Return (GUPC (One))
                    }
                    Else
                    {
                        Return (GUPC (Zero))
                    }
                }
                Else
                {
                    Return (\_SB.UBTC.RUCC (H1CR, One))
                }
            }

To this:
Code:
    If (LGreaterEqual (NHSP, One))
    {
        Scope (\_SB.PCI0.XHC.RHUB.HS09)
        {
            Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
            {
                If (LEqual (H1TC, Zero))
                {
                    If (LEqual (And (UMAP, One), One))
                    {
                        Return (GUPC (Zero))
                    }
                    Else
                    {
                        Return (GUPC (Zero))
                    }
                }
                Else
                {
                    Return (\_SB.UBTC.RUCC (H1CR, One))
                }
            }

The above example is how my Gigabyte Z390 motherboard looks. For Asus, it might be even easier. Please see this post for Asus instructions.

I didn't know about this thread.... he was close but not the correct one.
 
Negative; it's just the hub from my primary display

Place them into Clover/ACPI/Patched , replace the DSDT again, the new one has USBX (usb power) in it.

At the Clover boot screen hit Space bar and block kexts from loading usbinjectall, usb.kext then you push "O" Options and in the Clover menu find SSDT UIAC - SSDT EC - SSDT USBX and drop them, next you boot and check IORegistry and send me a copy.

If you get native usb working then you will have to delete the marked files from above from Clover folder.
 

Attachments

  • native usb.zip
    48.7 KB · Views: 60
Unfortunately it did not work; I can see HS01 -14, and SS01. While SS01 does run at 10Gbps, all USB ports show up as internal.
 
Unfortunately it did not work; I can see HS01 -14, and SS01. While SS01 does run at 10Gbps, all USB ports show up as internal.

Rebuit kext cache and reboot.
 
Unfortunately nothing has changed; I think I'm missing a config.plist setting (I want to say it was a drop table)
 
Unfortunately nothing has changed; I think I'm missing a config.plist setting (I want to say it was a drop table)

Replace the SSDT-USB. aml with this new one, different approach.

Clover check auto merge.
 

Attachments

  • SSDT-USB.aml.zip
    2.4 KB · Views: 52
  • Screen Shot 2019-11-23 at 5.05.02 AM.png
    Screen Shot 2019-11-23 at 5.05.02 AM.png
    340.5 KB · Views: 77
Status
Not open for further replies.
Back
Top