From owner-freebsd-mobile Wed Aug 2 12:10:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from kitab.cisco.com (wireless-133-25.ietf.marconi.com [147.73.133.25]) by hub.freebsd.org (Postfix) with ESMTP id 56A7237B6E8 for ; Wed, 2 Aug 2000 12:10:37 -0700 (PDT) (envelope-from raj@cisco.com) Received: (from raj@localhost) by kitab.cisco.com (8.9.3/8.9.2) id PAA00662; Wed, 2 Aug 2000 15:10:18 -0700 (PDT) (envelope-from raj) From: Richard Johnson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14728.40009.19467.297089@kitab.cisco.com> Date: Wed, 2 Aug 2000 15:10:17 -0700 (PDT) To: Peter Radcliffe Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: apm disk spindown ? In-Reply-To: <20000802140620.F25123@pir.net> References: <20000802140620.F25123@pir.net> X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter Radcliffe writes: > Has there been any work on spinning down disks from freebsd during > idleness ? > > My old laptop had a bios setting to spin the disk down, which when set > correctly could save me a reasonable amount of battery life. My new > laptop does not ... When I moved from an AST machine to a Toshiba I found the same problem. I have diffs for an ioctl which allows the user to set a disk idle spindown time and to force spindown as well as diffs for "apm" to add flags "-w" and "-x" respectively. I had some other changes to vfs_subr.c for the syncer but I think Tony Finches latest posted changes there are probably better. Since I've been wanting to incorporate his changes anyway, I'll do that now and create a new set of diffs for the kernel mods, apm mods, etc. Just let me know if you're interested. This is all based on 3.4. /raj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message