From owner-freebsd-mobile Sat Feb 24 17:25:58 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id E246337B401 for ; Sat, 24 Feb 2001 17:25:55 -0800 (PST) (envelope-from raj@cisco.com) Received: from mira-sjcm-2.cisco.com (mira-sjcm-2.cisco.com [171.69.43.98]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id RAA05749; Sat, 24 Feb 2001 17:25:27 -0800 (PST) Received: from kitab.cisco.com (kitab.cisco.com [171.69.187.233]) by mira-sjcm-2.cisco.com (Mirapoint) with ESMTP id AHZ14546; Sat, 24 Feb 2001 17:25:24 -0800 (PST) Received: (from raj@localhost) by kitab.cisco.com (8.11.0/8.9.2) id f1P1PNi00444; Sat, 24 Feb 2001 17:25:23 -0800 (PST) (envelope-from raj) From: Richard Johnson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15000.24322.709154.855109@kitab.cisco.com> Date: Sat, 24 Feb 2001 17:25:22 -0800 To: Scott Renfro Cc: mobile@FreeBSD.ORG Subject: Re: Any ideas on keeping the disk spun down on laptop In-Reply-To: <20010222235418.A41370@bonsai.home.renfro.org> 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> <20010222235418.A41370@bonsai.home.renfro.org> X-Mailer: VM 6.90 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Scott Renfro writes: > 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. I, for one, would love to see this type of code in the standard FreeBSD distribution. I know some people have argued that spinning the disk down doesn't save that much power since it takes more to get it back up and running again than it does to just keep it running. I think some of us, however, are simply looking for a peace and quiet when there's basically no reason to have the drive running. It certainly wouldn't hurt to make the code available, regardless of what viewpoint a person may take. Thanks for going to all of the work to do the ioctl! I would have done it myself but I'm just too busy with real work these days. /raj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message