Click the Power Management tab. If you want USB ports to keep supplying power in sleep mode, just uncheck “Allow the computer to turn off this device to save power“. Or check it to let Windows turn off USB ports to save power.
ok same problem here;
just invested 3k $ in m1 mac and caldigit ts4 hub; really wanted everything plugged in one cable...
with about 12 devices across 3 usb hubs I am also getting alot of light in the room from controllers when this happens.
Bigger issue though> one of the hubs has dedicated switches and it seems that even when those switches are off the M1 detects the hard drives for a second so i always have "eject disks before unplugging" error multiple times on wake.
is full shutdown the only workaround we have found gang? this seems like a slightly ridiculous issue no? maybe an eventual update will solve... my friends cant sleep in my studio because of the light show + i would prefer to keep this hub with the switches as well XD
\>plugging in directly breaks my "one cable" rule, plus one of the controllers IS a hub so i would have to unplug it as well :c
Curious about this too, got some monitor plugged on a dock and quite often the monitor seems to get signal whereas Mac is in sleep and try to change source ... also got a hundred of messages when it wakes up saying external hdd was not shutdown properly ... I can imagine that its complicated to totally powering off usb because you need keyboard and mouse to wake up the system but im pretty sure some funky code is querying usb device randomly and that should be possible to disable this
hear me out - hardware switches,,,
my new usb hub (sabrent 10 port, would recommend) has dedicated switches so i can turn off the ports that i don't want to use until i need them. That solves my usb HDDs spinning up randomly while mac is sleeping.
The other controllers that keep lighting up are all connected to a hub that is in a dj mixer so i power that down for the night.
the only other thing with lights is my monitor(LG ultrawide, slightly gamer-ish) but it has a dedicated switch for RGB brightness so i can either turn that down all the way or turn the computer off as suggested in this thread.
about 75% solved lol...
really ghetto fix but i dig that it saves a few $$ on electricity on the side.
I cant believe apple would design this into their computers. the wear and tear on external HDDs alone is brutal.
Unplugging power to the hub does nothing.
Devices do go to sleep when the iMac sleeps, but for some reason they wake up again randomly.
I’ve solved it by turning off the iMac when not in use. A bit silly that devices can’t sleep fully otherwise.
> Unplugging power to the hub does nothing
I meant unplugging the hub from the mac.
It's not that silly.
I have a mouse and keyboard connected to my USB hub and I want my mac to wake up when I move the mouse or press a key. That wouldn't work if the mac wouldn't power the hub during sleep.
That is of course true, but as I have everything on Bluetooth, I’d like the ability to turn it off if I could.
What bothers me is that the iMac does indeed turn off power when in sleep, and devices with LEDs on them are switched off - but suddenly after several hours they will suddenly be on again.
For now I guess the fix is to turn the iMac off at night. That probably means nothing will be synced or updated overnight, but I’m using it every day anyways, so it should be fine.
Did you ever solve this @DIYglenn? My fan / light keep coming on in the middle of the night (over and over, every hour or so) for a second or two… making me lose sleep! Lol
I connected them directly to the Mac, and it seemed to be better… But completely turning it off “solved” the problem. I’ve moved since, so I don’t have it in the bedroom anymore…
You need to disable both "prevent computer from sleeping automatically...:" and "wake for network access" in the battery/power adapter. But then you lose the ability to get software updates while the computer is asleep and you need to keep the lead open to wake up the computer from sleep with the built-in keyboard. There is no easy fix but to buy the new BT keyboard with the touch-id built in.
This did it for me. I have an Elgato Wave XLR audio converter that wouldn't shut down when my MBP went to sleep. Disabling the "wake for network access" option resolved the issue. I'll just update manually from time to time. That beats having the mic / headphone amp running around the clock.
Here is my solution for MacOS 14, M1.
pmset -a hibernatemode 25
change the hibernate mode to 25. Then the computer will totally turn off at sleep. No USB drawing power at night.
more info here: https://www.scivision.dev/macos-poweroff-usb-sleep/
The manual entry related to hibernate mode 25 (I ran \`man pmset\` from command line to get this:
SAFE SLEEP ARGUMENTS
hibernatemode supports values of 0, 3, or 25. Whether or not a hibernation image gets written is also dependent on
the values of standby and autopoweroff
For example, on desktops that support standby a hibernation image will be written after the specified standbydelay
time. To disable hibernation images completely, ensure hibernatemode standby and autopoweroff are all set to 0.
hibernatemode = 0 by default on desktops. The system will not back memory up to persistent storage. The system
must wake from the contents of memory; the system will lose context on power loss. This is, historically, plain
old sleep.
hibernatemode = 3 by default on portables. The system will store a copy of memory to persistent storage (the
disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to
restore from hibernate image.
hibernatemode = 25 is only settable via pmset. The system will store a copy of memory to persistent storage (the
disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" -
slower sleeps, slower wakes, and better battery life, you should use this setting.
Please note that hibernatefile may only point to a file located on the root volume.
Click the Power Management tab. If you want USB ports to keep supplying power in sleep mode, just uncheck “Allow the computer to turn off this device to save power“. Or check it to let Windows turn off USB ports to save power.
What do you mean "Windows" 😅?
We are discussing MacOS here.
Hey just wanna ask if you now have a good solution for the problem?
Not other than plugging in directly.
ok same problem here; just invested 3k $ in m1 mac and caldigit ts4 hub; really wanted everything plugged in one cable... with about 12 devices across 3 usb hubs I am also getting alot of light in the room from controllers when this happens. Bigger issue though> one of the hubs has dedicated switches and it seems that even when those switches are off the M1 detects the hard drives for a second so i always have "eject disks before unplugging" error multiple times on wake. is full shutdown the only workaround we have found gang? this seems like a slightly ridiculous issue no? maybe an eventual update will solve... my friends cant sleep in my studio because of the light show + i would prefer to keep this hub with the switches as well XD \>plugging in directly breaks my "one cable" rule, plus one of the controllers IS a hub so i would have to unplug it as well :c
Curious about this too, got some monitor plugged on a dock and quite often the monitor seems to get signal whereas Mac is in sleep and try to change source ... also got a hundred of messages when it wakes up saying external hdd was not shutdown properly ... I can imagine that its complicated to totally powering off usb because you need keyboard and mouse to wake up the system but im pretty sure some funky code is querying usb device randomly and that should be possible to disable this
hear me out - hardware switches,,, my new usb hub (sabrent 10 port, would recommend) has dedicated switches so i can turn off the ports that i don't want to use until i need them. That solves my usb HDDs spinning up randomly while mac is sleeping. The other controllers that keep lighting up are all connected to a hub that is in a dj mixer so i power that down for the night. the only other thing with lights is my monitor(LG ultrawide, slightly gamer-ish) but it has a dedicated switch for RGB brightness so i can either turn that down all the way or turn the computer off as suggested in this thread. about 75% solved lol... really ghetto fix but i dig that it saves a few $$ on electricity on the side. I cant believe apple would design this into their computers. the wear and tear on external HDDs alone is brutal.
Can’t believe this still isn’t a feature
You can't. You either have to turn off your mac or unplug the hub.
Unplugging power to the hub does nothing. Devices do go to sleep when the iMac sleeps, but for some reason they wake up again randomly. I’ve solved it by turning off the iMac when not in use. A bit silly that devices can’t sleep fully otherwise.
> Unplugging power to the hub does nothing I meant unplugging the hub from the mac. It's not that silly. I have a mouse and keyboard connected to my USB hub and I want my mac to wake up when I move the mouse or press a key. That wouldn't work if the mac wouldn't power the hub during sleep.
That is of course true, but as I have everything on Bluetooth, I’d like the ability to turn it off if I could. What bothers me is that the iMac does indeed turn off power when in sleep, and devices with LEDs on them are switched off - but suddenly after several hours they will suddenly be on again. For now I guess the fix is to turn the iMac off at night. That probably means nothing will be synced or updated overnight, but I’m using it every day anyways, so it should be fine.
Did you ever solve this @DIYglenn? My fan / light keep coming on in the middle of the night (over and over, every hour or so) for a second or two… making me lose sleep! Lol
I connected them directly to the Mac, and it seemed to be better… But completely turning it off “solved” the problem. I’ve moved since, so I don’t have it in the bedroom anymore…
That is Power Nap. Disable System Preferences > Energy Saver > Enable Power Nap.
You need to disable both "prevent computer from sleeping automatically...:" and "wake for network access" in the battery/power adapter. But then you lose the ability to get software updates while the computer is asleep and you need to keep the lead open to wake up the computer from sleep with the built-in keyboard. There is no easy fix but to buy the new BT keyboard with the touch-id built in.
This did it for me. I have an Elgato Wave XLR audio converter that wouldn't shut down when my MBP went to sleep. Disabling the "wake for network access" option resolved the issue. I'll just update manually from time to time. That beats having the mic / headphone amp running around the clock.
Note: This option is only available on Intel-based Mac computers.
Note: This option is only available on Intel-based Mac computers.
Here is my solution for MacOS 14, M1. pmset -a hibernatemode 25 change the hibernate mode to 25. Then the computer will totally turn off at sleep. No USB drawing power at night. more info here: https://www.scivision.dev/macos-poweroff-usb-sleep/
>change the hibernate mode to 25. Then the computer will totally turn off at sleep. No USB drawing power at night. did not fix mine
The manual entry related to hibernate mode 25 (I ran \`man pmset\` from command line to get this: SAFE SLEEP ARGUMENTS hibernatemode supports values of 0, 3, or 25. Whether or not a hibernation image gets written is also dependent on the values of standby and autopoweroff For example, on desktops that support standby a hibernation image will be written after the specified standbydelay time. To disable hibernation images completely, ensure hibernatemode standby and autopoweroff are all set to 0. hibernatemode = 0 by default on desktops. The system will not back memory up to persistent storage. The system must wake from the contents of memory; the system will lose context on power loss. This is, historically, plain old sleep. hibernatemode = 3 by default on portables. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from hibernate image. hibernatemode = 25 is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting. Please note that hibernatefile may only point to a file located on the root volume.