From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 3 14:23:20 2006 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCC8A16A41F for ; Tue, 3 Jan 2006 14:23:20 +0000 (GMT) (envelope-from dthiele@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 0B0D643D66 for ; Tue, 3 Jan 2006 14:23:19 +0000 (GMT) (envelope-from dthiele@gmx.net) Received: (qmail invoked by alias); 03 Jan 2006 14:23:18 -0000 Received: from p548610B6.dip0.t-ipconnect.de (EHLO [192.168.1.33]) [84.134.16.182] by mail.gmx.net (mp015) with SMTP; 03 Jan 2006 15:23:18 +0100 X-Authenticated: #19302822 Message-ID: <43BA88F8.8040506@gmx.net> Date: Tue, 03 Jan 2006 15:23:52 +0100 From: Daniel Thiele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051220) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rechistov Grigory References: <43BA5E03.4080306@gmx.net> <43BA7167.2060500@inbox.ru> In-Reply-To: <43BA7167.2060500@inbox.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-acpi@FreeBSD.org Subject: Re: ACPI S3 and S5 Problem with HDD on ThinkPad R40 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 14:23:21 -0000 Rechistov Grigory wrote: > I've heard about some commands (atacontrol ?) which allow to spin down > hard drive, so maybe we should just put them in shutdown script? > You can use ataidle (sysutils/ataidle) to put a HDD into idle or standby mode, but putting that command into /etc/rc.shutdown will AFAIK not work since /etc/rc.shutdown is called before the kernel syncs the disks at the end of its shutdown process. So if you put them into standby mode before they will spin up again for this final syncing. I do not know if it is possible and/or reasonable to do all the things that ataidle does to put a HDD into standby mode somewhere after the disks are synced in the shutdown and suspend actions the kernel does.