Date: Fri, 27 Jul 2001 13:15:18 -0700 From: Richard Johnson <raj@cisco.com> To: Robert Sexton <robert@kudra.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: ATA idle spindown patch. Message-ID: <15201.52182.97130.687513@kitab.cisco.com> In-Reply-To: <20010724181649.A61408@kudra.com> References: <20010724181649.A61408@kudra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Sexton writes: > So heres a patch to implement it, hopefully the 'Right Way' (tm), but > without the bells and whistles. Set hw.ata.suspend in /boot/loader.conf: > hw.ata.suspend=300. (Choose your preferred idle time, or course) > The default is not to even attempt to try setting > the idle timer on the drive. So it should be harmless if not used. > There are other wrinkles with altering > the syncer to behave a little better, but a really useful solution is > complicated. I've had basically this same thing hardcoded into ata-disk.c on my laptop for quite a few months and, yes, it seems to work fine... until you sleep the system and bring it back. After coming back from sleep my laptop seems to have forgotten about the spindown time. It appears as though it also needs to be somewhere after resetting the device when the machine comes back from sleep. Any ideas? /raj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15201.52182.97130.687513>