Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 00:16:58 -0600
From:      "Michael C . Wu" <keichii@iteration.net>
To:        Richard Johnson <raj@cisco.com>
Cc:        Tony Finch <dot@dotat.at>, Kevin Oberman <oberman@es.net>, mobile@FreeBSD.ORG
Subject:   Re: Any ideas on keeping the disk spun down on laptop
Message-ID:  <20010225001658.A51160@peorth.iteration.net>
In-Reply-To: <14997.39822.118192.470255@kitab.cisco.com>; from raj@cisco.com on Thu, Feb 22, 2001 at 03:06:54PM -0800
References:  <200102112211.f1BMBCL23187@ptavv.es.net> <20010212211351.F35416@hand.dotat.at> <20010212234816.M35416@hand.dotat.at> <14997.39822.118192.470255@kitab.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010225001658.A51160>