Unable to shut down

yoah1

New member
AMD OS X Member
Sep 3, 2024
3
1
3
CPU:
AMD Ryzen 5 7500F
  • CPU: AMD Ryzen 5 7500F
  • Motherboard: JGINYUE B650I NIGHT DEVIL
  • RAM: 2x16GB 4800 MHz
  • Graphics: AMD Radeon Pro W5700
  • System: Sonoma 14.6.1

When I shutdown macOS, the power will be turned off. But it booted again in an instant.
Simply put, the shutdown becomes a restart. But this restart should be a cold restart. It looks like someone has pressed the power button to turn it on.

Strangely enough, both restart and hibernation are ok. It can even use USB to wake up.

Methods that have been tried:



I'm going to edit DSDT, but I don't have any ideas yet.
Please help me. Thanks
 

Attachments

Most likely cause of the shutdown/wake issue id an incorrect USB configuration. If you haven’t already created a custom USBMap.kext I would recommend that you do so ASAP. USB power calls are the most frequent cause of instant reboot issues.
 
Most likely cause of the shutdown/wake issue id an incorrect USB configuration. If you haven’t already created a custom USBMap.kext I would recommend that you do so ASAP. USB power calls are the most frequent cause of instant reboot issues.

Thank you very much. In fact, I have already make USBMap.text. But I still tried make USBMap.text again.

The good news is that it can be shut down now. But it became unable to hibernation

Now it's a hibernation issue: As soon as the power was turned off, it was awakened again

Perhaps I still need to search for issues related to USB. Please provide some suggestions, thanks
 
Thank you very much. In fact, I have already make USBMap.text. But I still tried make USBMap.text again.

The good news is that it can be shut down now. But it became unable to hibernation

Now it's a hibernation issue: As soon as the power was turned off, it was awakened again

Perhaps I still need to search for issues related to USB. Please provide some suggestions, thanks
Hello @ yoah1 What you describe is probably the most common symptom of incorrect USB Port mapping, the shutdown/reboot is another as @Edhawk pointed out. Unfortunately no USB Mapping program typically gets it right the first time requiring the user to edit the results to more accurately map ports and connector types. With AMD Chipsets there are usually more than one controller and each can have up to 15 ports before running into issues with macOS. I copied the below from EdHawk some time ago, hopefully it will help you on your quest.

To discover the correct connector type for each Type-C port/header you need to do the following:

  • Plug in a Type-C device to a type-c port and a specific port will be highlighted.
  • Eject the Type-C device, flip it 180° and reinsert the device in the same port.
    • If the same port is highlighted then the connector is Type-c+switch (9)
    • If a different port is highlighted then the connector is Type-c without switch (10).
  • Any virtual USB2 ports served by the Type-C port or header would need to match the physical attribute of the port or header when a Type-C device is used.
  • You may not activate or use the virtual USB2 ports on the Type-C ports/header, in which case you can ignore them and leave them out of your USB configuration.
  • Your PC case may not have a front Type-C port, in which case the Type-C header would not be used and can be ignored.
You need to remember the following when undertaking the USB port discovery,

  1. Only Type-A USB2 physical ports (black tang) should be set with connector type USB2 (0).
  2. Any Type-A USB3 physical port (red or Blue tang) should be set with connector type USB3 (3), no matter which Gen.
  3. Any USB2 virtual port served from a Physical USB3 port should be set with the connector type USB3 (3) to match the physical port characteristics.
  4. Any USB3 or USB2 ports served from a USB3 motherboard header should be set with connector type USB3 (3).
  5. Any port or device served from a USB2 motherboard header should be set with connector type 'Internal' (255), never as USB2 (0).
  6. Type-C ports and headers have been explained above.
 
  • Like
Reactions: Edhawk
That's great. Now both shutdown and hibernation can work.

I made USB mapping strictly according to the suggestions.Now everything is working normally. Thanks for your help.
 
  • Like
Reactions: leesurone
Hello @ yoah1 What you describe is probably the most common symptom of incorrect USB Port mapping, the shutdown/reboot is another as @Edhawk pointed out. Unfortunately no USB Mapping program typically gets it right the first time requiring the user to edit the results to more accurately map ports and connector types. With AMD Chipsets there are usually more than one controller and each can have up to 15 ports before running into issues with macOS. I copied the below from EdHawk some time ago, hopefully it will help you on your quest.

To discover the correct connector type for each Type-C port/header you need to do the following:

  • Plug in a Type-C device to a type-c port and a specific port will be highlighted.
  • Eject the Type-C device, flip it 180° and reinsert the device in the same port.
    • If the same port is highlighted then the connector is Type-c+switch (9)
    • If a different port is highlighted then the connector is Type-c without switch (10).
  • Any virtual USB2 ports served by the Type-C port or header would need to match the physical attribute of the port or header when a Type-C device is used.
  • You may not activate or use the virtual USB2 ports on the Type-C ports/header, in which case you can ignore them and leave them out of your USB configuration.
  • Your PC case may not have a front Type-C port, in which case the Type-C header would not be used and can be ignored.
You need to remember the following when undertaking the USB port discovery,
  1. Only Type-A USB2 physical ports (black tang) should be set with connector type USB2 (0).
  2. Any Type-A USB3 physical port (red or Blue tang) should be set with connector type USB3 (3), no matter which Gen.
  3. Any USB2 virtual port served from a Physical USB3 port should be set with the connector type USB3 (3) to match the physical port characteristics.
  4. Any USB3 or USB2 ports served from a USB3 motherboard header should be set with connector type USB3 (3).
  5. Any port or device served from a USB2 motherboard header should be set with connector type 'Internal' (255), never as USB2 (0).
  6. Type-C ports and headers have been explained above.
Thank you, I have the same problem. After reading, I fixed it
 
  • Like
Reactions: leesurone
  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.