MacOS – MACPro restarts one second after shutdown if USB Hub is connected – Why

macmac promacosshutdownusb

i have added a USB3.0 PCIe card (Inateck KTU3FR-4P USB 3.0 expresskarte 4 port) to my Mac (MacPro Early 2008, OS X 10.8.4 (12E55))

…with this all is working as it should, no problems with shutdown.

To have better access to the USB3 ports i have now bought an USB3 Hub (Inateck HBU3VL2-4 4 port USB 3.0 Hub without extra current needed).

And this is what makes me problems.
If i connect the Hub to the Card, and afterwards shutdown my Mac, it restarts itself after 1 second.

The console log shows some strange info about current and an error (SetFeature(kUSBFeatureDeviceRemoteWakeup) failed. Error 0xe000404f)

enter image description here
But the Systeminfo shows well…

enter image description here

And during working with the mac all is OK. Also if i connect a hdd to the hub, it is working as it should…only shutdown doesn't work if the hub (with or without any device on it) is connected to the card.

Shutdown/restart Log:

enter image description here

enter image description here

There is no wake reason…

Any ideas how to fix this are welcome?

Thanks, richard.

Best Answer

You are creating 8 USB connections on a single USB with your set up without additional power supply for the external USB.

That might create some problems in power management for the host USB controller in your system.

Once you connect the device to the USB port, the specification imposes limits on current draw.

The host first recognizes any peripheral as a low-power device, which is limited to less than 100 mA of current. (total of 800mA in your case, which is very close to the limit of 900mA):

The peripheral can then ask the host to recognize it as a high-power device through a process called enumeration.

Once enumeration is complete and permission is granted, the peripheral current limitation increases to 500 mA for that device, but remember the internal limit is 900mA for all.

Your second Error (SetFeature(kUSBFeatureDeviceRemoteWakeup) failed!

The USB specification also includes a suspend mode that supports remote wake-up.

This mode limits quiescent current to a total of 500 µA for a low-power device and 2.5 mA for a high-power device; it often requires switches to power down portions of the peripheral's electronics. That would be normal error with 8 USB ports connected, so just try without them, or leave it alone

Why does you computer wakes up!

Aug 25 14:55:51 Richards-Mac-Pro kernel[0] <Debug>: Wake reason: EHCI

Based on your information for wake reason, the EHCI is the USB host controller that does that. One solution would be to used a self powered USB.

To post only the wake reason use the cmd+shift+4 to take a screen shot only of the wake reason.

enter image description here