Date: Thu, 22 Feb 2001 23:54:18 -0800 From: Scott Renfro <scott@renfro.org> To: Richard Johnson <raj@cisco.com> Cc: mobile@FreeBSD.ORG Subject: Re: Any ideas on keeping the disk spun down on laptop Message-ID: <20010222235418.A41370@bonsai.home.renfro.org> In-Reply-To: <14997.47991.879862.104215@kitab.cisco.com>; from raj@cisco.com on Thu, Feb 22, 2001 at 05:23:03PM -0800 References: <200102112211.f1BMBCL23187@ptavv.es.net> <20010212211351.F35416@hand.dotat.at> <20010212234816.M35416@hand.dotat.at> <14997.39822.118192.470255@kitab.cisco.com> <14997.47991.879862.104215@kitab.cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 22, 2001 at 05:23:03PM -0800, Richard Johnson wrote: > Richard Johnson writes: > > I wanted to mention, along these lines, that netbsd has a command > > which can program the disk controller to enter "idle" or "standby" > > mode after a number of seconds. The command is "atactl". > > It'd be nice to have this more easily configurable via an ioctl, of > course. Tired of the same issue, I threw together a rough ata-disk ioctl implementation against -stable. Also ported the OpenBSD atactl, pairing it down to only handle the idle, standby, setidle, and setstandby commands. (The other commands were identify, sleep, and checkpower.) It's in a ''works here'' state. For better or worse, my ioctl code is *much* simpler than the [Net|Open]BSD versions, which may imply that it won't handle the special cases as well. If there's interest, I can clean it up a bit and put it up for review this weekend. -scott -- Scott Renfro <scott@renfro.org> +1 650 906 9618 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?20010222235418.A41370>