pmset
pmset
pode manipular configurações de gerenciamento de energia, por exemplo:
sh-3.2$ pmset -g | grep disksleep
disksleep 10
sh-3.2$ sudo pmset disksleep 0
Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
sh-3.2$ pmset -g | grep disksleep
disksleep 0
sh-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.8.2
BuildVersion: 12C60
sh-3.2$
pmset (1) Página Manual do OS X
EFI e SATA
link (2010-07-07) me lembra:
… Engineering has provided the following information:
This behavior is not the result of OS level disk spindown commands. There is an EFI change for SATA bus speed; and the suggested workaround is to run hdapm to set a new power management level on the disk itself.
This isn't an OS power management behavior, it's a tricky interaction between device firmware and EFI's configuration of the SATA interface. We commission drives from our vendors with different behaviors than the drives available generally on the market, and that is why the generic replacement does not support the features as you expect. …
(Nota: um bug do Apple Support Communities pode fazer com que o conjunto errado de mensagens apareça. Se esse bug morde, então navegue para o ponto 2010-07-07 no tópico.)
hdapm
A Mac OS X command line utility for setting the power management (APM) level for ATA hard drives.
It can be used to eliminate "chirping" or "clicking when idle" noises in some HDDs.
Compatibility
- OS X 10.5 or higher.
- ATA/SATA hard disk with APM support.
- Does not work with external USB or Firewire drives. …
… (Aug 25, 2012) version 1.2. …
SpindownHD
Do uso passado de ferramentas da Apple Developer, eu reservei uma cópia do SpindownHD .app 4.6.2 (227.9) Copyright © 2003-2005 da Apple Computer, Inc. , parte das antigas ferramentas CHUD (Computer Hardware Understanding Developer) - aparentemente OK para polling. No entanto, como alguns dos KEXTs desse período são incompatíveis com as versões modernas do sistema operacional, não sei se é sensato usar esse aplicativo para configurações de suspensão (para todos os discos).