Titan Ridge 2 USB2.0 Breaks sleep

Nextdoorboy

New member
AMD OS X Member
Joined
Mar 21, 2022
Messages
15
Hello guys,
I have X570 Aorus Master and Titan Ridge 2 with stock firmware and TB header connected to motherboard with 5 pin jumper cable, usb ports are fully mapped, using SSDT from HackinDrom
I'm using Titan Ridge for Usb-C monitor with DisplayPort Alt Mode.
Sleep and wake works well without Usb 2, but if i plug the usb2 header to Titan Ridge, that breaks sleep and computer immediately wakes up, anyone has an idea about that stuation ?

 

Attachments

  • EFI.zip
    3.2 MB · Views: 8

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,513
I am not sure your USBPorts.kext is correct.

Can you confirm which PC case you are using and how many & the type of USB ports that are present on the front of the case.

These are the USB ports available on your motherboard.

Integrated in the CPU:
  1. 2 x USB 3.2 Gen 2/Gen 1 Type-A ports (red) on the back panel
  2. 2 x USB 3.2 Gen 1 ports on the back panel
Integrated in the Chipset:
  1. 1 x USB Type-C port with USB 3.2 Gen 2 support, available through the internal USB header
  2. 1 x USB Type-C port on the back panel, with USB 3.2 Gen 2 support
  3. 1 x USB 3.2 Gen 2 Type-A port (red) on the back panel
  4. 4 x USB 3.2 Gen 1 ports available through the internal USB headers
Chipset+USB 2.0 Hub:
  1. 8 x USB 2.0/1.1 ports (4 ports on the back panel, 4 ports available through the internal USB headers)
They are shown on these two screenshots.

X570 AORUS MASTER - REAR I-O plate.png Rear I/O plate ports

X570 AORUS MASTER - MB.png Motherboard headers

  • There will be a maximum of 4 x ports available from the two USB2 headers (unless a port splitter is used), these should be set as with the connector type - Internal (255)
  • All the USB3 ports, Gen1, or Gen2 should be set as USB3.
    • This includes the 8 x ports available from the 2 x USB3 motherboard headers, if both are used and
    • The 10 x USB ports served by the 5 x USB3 Type-A ports on the rear I/O plate.
  • You have too many Type-c+sw and Type-c ports in your USB config - 5 x ports + 4 x from the Thunderbolt card.
    • The 4 x ports on the XHC3 controller (TB card) are fine,
    • The others don't look right in number or location.
    • Are you connecting the Type-c header to a pair of Type-c ports on the front of your case?
    • Are you counting the Type-A port above the physical Type-C port on the rear as a Type-c port? This would be wrong, as it should be set as a USB3 port.
  • You are missing all 4 x USB2 ports, these are the only ports that should be set with the USB2 connector type (0).
As you are using Hackintool USB window, sorting the ports by Location ID will show the ports in a more logical manner.

Hope this helps.
 

Nextdoorboy

New member
AMD OS X Member
Joined
Mar 21, 2022
Messages
15
Hi Edhawk thank you for the help,
I have uploaded my USBMap folder and edited your pictures to show you how I numerated and used the usb ports, i think this will be very handful (also my usb ports are discovered and nicknamed on the USBMap folder so you can see them)

I have Nzxt H510i case, this case has a USB3 and a Type-c(Type-E) connector on the upper side and both are them connected to the motherboard. USB3 port connected to bottom internal-right USB3 header, Type-c port is connected to the internal type-c header.
This Type-c header does not have switch on the USB3 side but has a switch on the USB2 side, so if i plug USB3 device on that port location id changes when i flip the device but this doesn't happen with the USB2 device, USB3 side assigned as Type10 and the USB2 side assigned as Type9

Motherboard's rear Type-C has switch on the both side so they are assigned as Type9 on both USB2 and USB3 connections.

Motherboard's back 4xUSB2 ports come from internal usb hub and they are assigned as USB2 (sorry for the inconvience, i have uploaded wrong screenshot, i realized some mistakes and corrected them later)
Also bottom left and right internal USB2 headers come from same internal USB hub and they are assigned as 255
And the other 5xUSB3.0 and USB3.1 ports are set as USB3, including the upper one on the Type-C port.

I'm using basic USB2 splitters on the bottom left USB2 header and the bottom left USB3 header (no USB3 ports are in use on this USB3 header, only using USB2 and USB3 side are disabled in the map) and both are assigned as 25
Right USB3 header connected to H510i's USB3 connector and it is assigned as USB3

I didn't touch XHC3\TB3 USB controller because they are already mapped on the Thunderbolt SSDT.
And i didn't connect titan ridge's USB2 header to the motherboard due to sleep problem and because nothing comes to ioreg nor usbmap when this header attachted and the XHC3 on the Titan ridge has nothing to do with these two USB2 conncetions, when i plug USB2 device to the titan ridge, USB device attaches to the USB controller where USB2 header is connected (in my scenario device attach to XHC1)

Beside activated USB connectors and titan ridge, i have disabled all the ports that un-used on the map, i don't know it is correct.

(For your info, on the USBMap, SiliconPower and Sandisk are both USB3 devices and connected to Typec-C ports via USB3 Type-A to Type-C converter, others are USB2 devices)
 

Attachments

  • USBMap.zip
    2.5 MB · Views: 4
Last edited:

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,513
I’ll have a look at the attachment later when I am at my desk.
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,513
The Hackintool > USB tab looks a lot better. Makes a lot more sense given the splitters and physical ports on your motherboard.

Screenshot 2022-07-17 at 03.46.27.png
The USBMap folder doesn't contain a copy of the USBMap.kext so I can't tell if there is anything wrong with the kext itself. But going by the screenshot above it should be OK.

Next place to look for Sleep/Reboot issues is the Systemwide power settings.

I use the following Terminal commands to set the systemwide power settings in my Hacks.

Terminal Command to review Systemwide Power settings
sudo pmset -g

Terminal commands to Disable Hibernation
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
An alternative to hibernatemode 0 is hibernatemode 3, which may work better depending on the system. You can also experiment with Hibernatemode 25 & 29.​

Terminal commands to Disable other hibernation/power options
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
sudo pmset -a powernap 0
sudo pmset -a proximitywake 0
sudo pmset -a ttyskeepawake 0
sudo pmset -a tcpkeepalive 0

To turn any of the above items back on just replace the 0 with 1.

Try implementing the above and see how it works with your hack.
 

Nextdoorboy

New member
AMD OS X Member
Joined
Mar 21, 2022
Messages
15
this is the kext that i'm currently using, i'm gonna plug the usb2 header to the titan ridge and try your settings.
 

Attachments

  • USBMap.kext.zip
    1.6 KB · Views: 4

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,513
Apply the settings and then connect the USB2 Titan Ridge connector.

USBMap.kext looks good.
 

Nextdoorboy

New member
AMD OS X Member
Joined
Mar 21, 2022
Messages
15
Apply the settings and then connect the USB2 Titan Ridge connector.

USBMap.kext looks good.
Hi Edhawk, i have tried your settings but none of them fixed the problem and I think i found the actual problem, i'm using portable monitor and it has built in usb hub(has micro usb output) which is communicate via usb2 protocol over the main Usb-C port that used for displayport and power input. I have tried every port type that Acpi 6.2 specificates on the usbmap, build tens of different USBMap.kexts and no luck, sleeps breaks always with usb2 header connected, other ports are working great, even with three NZXT usb devices sleep and wake works perfect but this little hub breaks the sleep, when usb2 header connected monitor does not turn itself off while computer goes to sleep, power led always blinks, sometimes monitor goes to soft sleep but doesn't wake from sleep
 
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.