From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PkNTD-0007l1-Vj for garchives@archives.gentoo.org; Tue, 01 Feb 2011 21:09:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 311A8E0905; Tue, 1 Feb 2011 21:07:32 +0000 (UTC) Received: from one.tisys.org (unknown [184.82.68.117]) by pigeon.gentoo.org (Postfix) with ESMTP id 046E1E0994 for ; Tue, 1 Feb 2011 21:07:31 +0000 (UTC) Received: from x7bj.fritz.box (dslb-088-070-110-042.pools.arcor-ip.net [88.70.110.42]) (authenticated bits=128) by one.tisys.org (8.14.4/8.14.4) with ESMTP id p11M7W51003172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 1 Feb 2011 23:07:35 +0100 Date: Tue, 1 Feb 2011 22:08:14 +0100 From: Nils Holland To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HDD with too aggressive power management Message-ID: <20110201210814.GA13387@x7bj.fritz.box> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20110131210940.GA16529@x7bj.fritz.box> <1296515328.10996.53.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1296515328.10996.53.camel@orpheus> Organization: Ti Systems, Wunstorf-Luthe, Germany X-Operating-System: Linux x7bj 2.6.36-gentoo-r5 User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: X-Archives-Hash: 6d5b9ffbb62a85bdf775a8eac1a11033 On 08:38 Tue 01 Feb , Iain Buchanan wrote: > Hi, > > On Mon, 2011-01-31 at 22:09 +0100, Nils Holland wrote: > > > However, now comes the problem: It seems that whenever I change from > > wall power to battery power (probably also vice versa, but I haven't > > tested this often enough), the machine's HDD forgets about the > > settings I've made using "hdparm" and starts spinning down right again > > after only a few seconds of inactivity. That sucks. > > frustrating indeed! It could be a number of things: gnome, acpi, and/or > bios making the changes automatically. > > My preference would be to fix it in acpid since it will work independent > of the window manager or even X. > > emerge acpid, then edit /etc/acpi/default.sh similarly (sorry about the > tabs/spaces): > > [...] Hi Iain and everyone who replied, thanks for all of your suggestions! In fact, I've noticed that GNOME and other desktop environments seem to contain grephical interfaces for setting the HDD to spin down automatically and already suspected such a piece of software unwantedly being responsible for the behavior I'm seeing. But I guess I can actually rule that out: I'm not using any such desktop environment, but am actually using only the "awesome" wm as my window manager. Furthermore, I don't use an X Display manager but boot up in console-only mode and start X only when needed via "startx". Therefore, I can rule out GNOME, KDE, etc. being responsible, and as for the rest of the stuff I've installed, I've choosen it rather carefully and certainly didn't installing anything power-management-like. I guess it's probably the way this machine "works", and feel that the reference to acpid sounds like a very promising way to fixing this. As such, thanks to everyone who pointed me into that direction - I'll have a look and see if it works! Greetings and thanks again, Nils -- Nils Holland * Ti Systems, Wunsorf-Luthe (Germany) Powered by GNU/Linux since 1998