Re: Disk idling and energy saving in darwin
This may not be quite the right list for this, but I was wondering if someone could tell me how to set a hard disk to idle after a timeout in darwin. I can do this in OS X easily using System Preferences, but I can't figure out how to do the same energy saving things in darwin. Ideally I would be able to set a specific timeout after which to turn of the disk, backlight, etc. Any help would be greatly appreciated. These settings are stored in the System Configuration. Take a look at the System Configuration plists in /var/db/SystemConfiguration. Specifically, the file you need is /var/db/SystemConfiguration/com.apple.PowerManagement.xml If it does not exist, you can create it by hand or copy it from an OS X box. Below is a copy of mine that I copied from OS X and set the values as needed (beware of e-mail client line breaks). My disk is set to not sleep (0), but you can change that to whatever is appropriate for your setup. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple. com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AC Power</key> <dict> <key>Automatic Restart On Power Loss</key> <integer>1</integer> <key>Disk Sleep Timer</key> <integer>0</integer> <key>Display Sleep Timer</key> <integer>15</integer> <key>System Sleep Timer</key> <integer>0</integer> <key>Wake On LAN</key> <integer>1</integer> <key>Wake On Modem Ring</key> <integer>0</integer> </dict> </dict> </plist> _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Jim Riggs