Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 10:39:17 +0200 (CEST)
From:      Søren Schmidt <sos@freebsd.dk>
To:        Richard Johnson <raj@cisco.com>
Cc:        Robert Sexton <robert@kudra.com>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: ATA idle spindown patch.
Message-ID:  <200107280841.f6S8fvR80063@freebsd.dk>
In-Reply-To: <15201.52182.97130.687513@kitab.cisco.com> "from Richard Johnson at Jul 27, 2001 01:15:18 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Richard Johnson wrote:
> 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?

It needs to be proberly integrated into the detach/attach/suspend/resume
system for this to work proberly. I have most of it done here but 
currently too little time to get it really usefull...

-Søren

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?200107280841.f6S8fvR80063>