![]() Plug your keyboard or mouse into a port on your Mac or consider going to a Bluetooth solution. ![]() Your main input devices should be connected directly to a USB port on your machine. The computer is woken from a mouse, keyboard, or other external device.Plugging a USB hub into your Apple display (or any other display) or your keyboard would also be considered downline. A USB hub is connected downline, meaning to another USB hub.Your USB hub does not support the proper sleep/wake sequence.Just as when you disconnect an external hard drive before ejecting it, data loss can occur if your drive is connected to a USB hub and this issue occurs.Īs the knowledge base article states, these issues occur when: This can cause system instability, resulting in unexpected performance from your machine and your connected devices. However, some hubs may not respond well when your Mac wakes from sleep.Īccording to a recently updated knowledge base article from Apple, some USB hubs may disconnect after your Mac wakes from sleep. Fortunately, USB hubs are readily available and can provide much-needed USB port additions. This means that you don’t need to remember to reset your sleep preferences each time you give a presentation, for example, and you’ll never walk into your office one morning only to realize that your Mac didn’t sleep all night.With the plethora of USB devices available, such as iPhones, iPads, iPods, digital cameras, and printers, many machines do not have enough ports to keep everything connected. This will terminate the caffeinate command and your Mac will now sleep again according to your defined preferences.Īs mentioned, the benefit of this approach is that it’s relatively quick to enable or disable, and it doesn’t mess with your sleep settings in System Preferences. When you’re done with your presentation or whatever it was that you wanted your Mac to stay awake for, just click on Terminal to make the window active and use the keyboard shortcut Control-C. While the caffeinate command is running, everything will operate as normal on your Mac, except that it will not go to sleep regardless of your sleep settings in System Preferences. Nothing will appear to happen, but if you look closely you’ll see the Terminal cursor sitting on a blank line and you’ll notice that the Terminal status bar now says “caffeinate.” There’s no fancy user interface here, but this means that the command is working. At the Terminal prompt, enter the following command and press Return: To use the caffeinate command, first launch the Terminal app, located by default in Applications > Utilities (you can also find Terminal by searching for it via Spotlight). This command is appropriately called caffeinate. Instead, there’s a built-in terminal command that can temporarily keep your Mac awake and prevent all sleep settings. But this isn’t ideal, as it both involves a few extra steps and you may forget to set it back when you’re done. In these instances, you could go to System Preferences > Energy Saver and use the slider to tell your Mac to “never” sleep. But sometimes we intentionally don’t want our Macs to sleep, such as when preparing to give a Keynote presentation or when you’re letting a colleague or family member use your Mac. We generally want our Macs to sleep when not in use: saving battery life, reducing energy usage, and increasing the longevity of our Mac’s components. Use a Terminal Command to Stop Your Mac From Sleeping
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |