From owner-freebsd-mobile Sat Feb 24 22:16:43 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 079F737B401 for ; Sat, 24 Feb 2001 22:16:41 -0800 (PST) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 8AD3F59532; Sun, 25 Feb 2001 00:16:58 -0600 (CST) Date: Sun, 25 Feb 2001 00:16:58 -0600 From: "Michael C . Wu" To: Richard Johnson Cc: Tony Finch , Kevin Oberman , mobile@FreeBSD.ORG Subject: Re: Any ideas on keeping the disk spun down on laptop Message-ID: <20010225001658.A51160@peorth.iteration.net> Reply-To: "Michael C . Wu" References: <200102112211.f1BMBCL23187@ptavv.es.net> <20010212211351.F35416@hand.dotat.at> <20010212234816.M35416@hand.dotat.at> <14997.39822.118192.470255@kitab.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <14997.39822.118192.470255@kitab.cisco.com>; from raj@cisco.com on Thu, Feb 22, 2001 at 03:06:54PM -0800 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Feb 22, 2001 at 03:06:54PM -0800, Richard Johnson scribbled: | 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". I looked at | how this is done. It's using a set of controller commands which | apparently aren't supported under FreeBSD. The controller commands | are: | | #define WDCC_IDENTIFY 0xec /* read parameters from controller */ | #define SET_FEATURES 0xef /* set features */ | | #define WDCC_IDLE 0xe3 /* set idle timer & enter idle mode */ | #define WDCC_IDLE_IMMED 0xe1 /* enter idle mode */ | #define WDCC_SLEEP 0xe6 /* enter sleep mode */ | #define WDCC_STANDBY 0xe2 /* set standby timer & enter standby mode */ | #define WDCC_STANDBY_IMMED 0xe0 /* enter standby mode */ | #define WDCC_CHECK_PWR 0xe5 /* check power mode */ | Soren Schmidt sos@freebsd.org has atactl in the works. Wait a bit. :) Search -current archives from this and last month. -- +------------------------------------------------------------------+ | keichii@peorth.iteration.net | keichii@bsdconspiracy.net | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message