From owner-freebsd-questions Mon Dec 11 9:34:18 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 09:34:12 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id 4AF0737B400; Mon, 11 Dec 2000 09:34:10 -0800 (PST) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.1/8.11.1) with SMTP id eBBHVYE96285; Mon, 11 Dec 2000 20:31:35 +0300 (MSK) (envelope-from matrix@ipform.ru) Message-ID: <001d01c06398$36137ec0$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: "Keith Jones" Cc: , References: <000e01c0638b$8086dd60$0c00a8c0@ipform.ru> <20001211171524.A45253@moose.bri.hp.com> Subject: Re: Power management control (programmatic) Date: Mon, 11 Dec 2000 20:31:32 +0300 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message