Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSDT-USB-Ports-Z590i-VisionD.aml - Kextless #33

Open
Nishant-Kathil opened this issue Jan 27, 2022 · 4 comments
Open

SSDT-USB-Ports-Z590i-VisionD.aml - Kextless #33

Nishant-Kathil opened this issue Jan 27, 2022 · 4 comments

Comments

@Nishant-Kathil
Copy link

Hi SchmockLord, I have a Z590 Vision D. How can I create a kextless file?

@SchmockLord
Copy link
Owner

Puh, this is not something you can explain in 2 sentences.

My one for the Z590i Vision D should work for you, but needs to be adjusted to your USB-ports to get all the ports.

In my SSDT you will see the comments for each port, some are enabled, some are disabled.

Per port are two methods: GUPC and GPLD (they are Gigabyte methods that call standard methods _UPC: USB port Capabilities and _PLD: Physical Location of Device)

e.g. GUPC (One, 0x03) means this port is enabled (one) and is a USB3-Type A (0x03) The first variable means enabled/disabled (one or 0xFF/zero or 0x00), the second variable describes the port itself.

zero is the same as 0x00
one is the same as 0xFF

Port types:
0x00 or zero: standard USB2 port (usually black)
0x03: USB3 Type A (usually blue, red or yellow)
0x09: Type-C with switch, where it doesn't matter which direction you plug the device in, it is always the same port.
0x0A: Type-C without switch, where there are used two ports, each for one direction.
0xFF: internal devices used for RGB, Audio, Bluetooth etc.

GPLD-method describes where the port sits. E.g. GPLD (One, 0x09) means this port is available on this board (one) and has the location HS09 (0x09). HS11 e.g. would be (0x0B). SS ports start with 1 e.g. SS01 is (0x11), SS10 (0x1A).

If you disable ports for macOS, you should wrap this like this, so Windows e.g. would use the Else-case where this port is enabled (0xFF) and has is a type-C with switch (0x09):

If (_OSI ("Darwin"))
{
Return (GUPC (Zero, Zero))
}
Else
{
Return (GUPC (0xFF, 0x09))
}

You also need to Delete the SSDT where your original USB-config is specified. I think yours is the same as mine:
Screenshot 2022-01-27 at 10 42 26

With that and this reference you should be able to get it done: https://www.hackintosh-forum.de/forum/thread/54986-usb-mittels-ssdt-deklarieren/?pageNo=1

@Crocdil
Copy link

Crocdil commented Jan 6, 2023

Thank you for attaching a USB port configuration for the Z590-VisionD. Works great for me now!

For my understanding, can you tell me where the SSDT xh_rksu4 is found in the configuration - which you disabled in config.plist. I can't find it on my end ;-)

Thanks for the help.

@SchmockLord
Copy link
Owner

What? I don't get your question.

Where it is in the config you can see 5cm above your question.

Root-ACPI-Delete-Item 0

And if you don't have it in your config this just means, you have not downloaded mine, you have created one by yourself.

Because in mine here on GitHub this delete is included.

@Crocdil
Copy link

Crocdil commented Jan 6, 2023

Sorry for my imprecise wording.

I can't find the SSDT with the TableLength 4216.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants