From owner-freebsd-questions Mon Dec 11 10:19:42 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 10:19:37 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from bbnrel4.net.external.hp.com (bbnrel4.net.external.hp.com [155.208.254.68]) by hub.freebsd.org (Postfix) with ESMTP id DAB0E37B400; Mon, 11 Dec 2000 10:19:36 -0800 (PST) Received: from hpcpbla.bri.hp.com (hpcpbla.bri.hp.com [15.144.112.65]) by bbnrel4.net.external.hp.com (Postfix) with ESMTP id B37AF20DA1; Mon, 11 Dec 2000 19:19:34 +0100 (MET) Received: from sse0691.bri.hp.com (sse0691.bri.hp.com [15.144.0.53]) by hpcpbla.bri.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.0) with ESMTP id SAA16352; Mon, 11 Dec 2000 18:19:33 GMT Received: (from keithj@localhost) by sse0691.bri.hp.com (8.11.1/8.9.3) id eBBIO0w51846; Mon, 11 Dec 2000 18:24:00 GMT (envelope-from keithj) Date: Mon, 11 Dec 2000 18:24:00 +0000 From: Keith Jones To: Artem Koutchine Cc: questions@freebsd.org, hardware@freebsd.org Subject: Re: Power management control (programmatic) Message-ID: <20001211182400.B45253@moose.bri.hp.com> References: <000e01c0638b$8086dd60$0c00a8c0@ipform.ru> <20001211171524.A45253@moose.bri.hp.com> <001d01c06398$36137ec0$0c00a8c0@ipform.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <001d01c06398$36137ec0$0c00a8c0@ipform.ru>; from matrix@ipform.ru on Mon, Dec 11, 2000 at 08:31:32PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It would appear that you are correct. On Mon, Dec 11, 2000 at 08:31:32PM +0300, Artem Koutchine wrote: > Thanks for the reply. > > Here is what man 4 apm states: > > Disk spin-down, LCD backlight control, and power on demand have not > been supported on the current version. > > (I have FreeBSD 4.2-stable.) > > I guess that means that I CANNOT programmatically TURN OFF (PARK) > HDDs? > > Regards, > Artem > > ----- Original Message ----- > From: "Keith Jones" > To: "Artem Koutchine" > Cc: ; > Sent: Monday, December 11, 2000 8:15 PM > Subject: Re: Power management control (programmatic) > > > > The apm(4) manual page lists a bunch of ioctl's for power management, > which > > could be used against /dev/apm or /dev/apmctl (I assume). I'd go take a > look > > at the sources of apm/zzz(8) to see how they're actually implemented. > > > > Ta, > > > > Keith > > > > On Mon, Dec 11, 2000 at 07:00:32PM +0300, Artem Koutchine wrote: > > > Is there any programmatic interface which allows to turn on/off devices > > > (hdds any the whole PC)? I, i could probably access the device directly, > > > however > > > I don't know > > > 1) How to do it right > > > 2) The command > > > I hope there is some c library or maybe utility with source code. > > > > > > Regards, > > > Artem > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hardware" in the body of the message > > > > -- > > Keith Jones > > E-Business Service Introduction, GBIT-EMEA (Bristol) > > E: keith_jones@non.hp.com > > T: [+44 117] 312-7602 > > > > I don't speak for Hewlett-Packard. > > > -- Keith Jones E-Business Service Introduction, GBIT-EMEA (Bristol) E: keith_jones@non.hp.com T: [+44 117] 312-7602 I don't speak for Hewlett-Packard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message