From owner-freebsd-mobile Thu Feb 22 15: 7:59 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88]) by hub.freebsd.org (Postfix) with ESMTP id 276BA37B4EC for ; Thu, 22 Feb 2001 15:07:57 -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-2.cisco.com (8.9.3/8.9.1) with ESMTP id PAA02988; Thu, 22 Feb 2001 15:07:19 -0800 (PST) Received: from kitab.cisco.com (kitab.cisco.com [171.69.187.233]) by mira-sjcm-2.cisco.com (Mirapoint) with ESMTP id AHW04342; Thu, 22 Feb 2001 15:07:01 -0800 (PST) Received: (from raj@localhost) by kitab.cisco.com (8.11.0/8.9.2) id f1MN6vt07682; Thu, 22 Feb 2001 15:06:57 -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: <14997.39822.118192.470255@kitab.cisco.com> Date: Thu, 22 Feb 2001 15:06:54 -0800 To: Tony Finch Cc: Kevin Oberman , mobile@FreeBSD.ORG Subject: Re: Any ideas on keeping the disk spun down on laptop In-Reply-To: <20010212234816.M35416@hand.dotat.at> References: <200102112211.f1BMBCL23187@ptavv.es.net> <20010212211351.F35416@hand.dotat.at> <20010212234816.M35416@hand.dotat.at> X-Mailer: VM 6.90 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 */ and these are not even *defined* in the FreeBSD files. Is there any chance of getting this supported under FreeBSD? /raj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message