Gentoo Archives: gentoo-user

From: Nils Holland <nhg@×××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HDD with too aggressive power management
Date: Tue, 01 Feb 2011 21:09:04
Message-Id: 20110201210814.GA13387@x7bj.fritz.box
In Reply to: Re: [gentoo-user] HDD with too aggressive power management by Iain Buchanan
1 On 08:38 Tue 01 Feb , Iain Buchanan wrote:
2 > Hi,
3 >
4 > On Mon, 2011-01-31 at 22:09 +0100, Nils Holland wrote:
5 >
6 > > However, now comes the problem: It seems that whenever I change from
7 > > wall power to battery power (probably also vice versa, but I haven't
8 > > tested this often enough), the machine's HDD forgets about the
9 > > settings I've made using "hdparm" and starts spinning down right again
10 > > after only a few seconds of inactivity. That sucks.
11 >
12 > frustrating indeed! It could be a number of things: gnome, acpi, and/or
13 > bios making the changes automatically.
14 >
15 > My preference would be to fix it in acpid since it will work independent
16 > of the window manager or even X.
17 >
18 > emerge acpid, then edit /etc/acpi/default.sh similarly (sorry about the
19 > tabs/spaces):
20 >
21 > [...]
22
23 Hi Iain and everyone who replied,
24
25 thanks for all of your suggestions! In fact, I've noticed that GNOME
26 and other desktop environments seem to contain grephical interfaces
27 for setting the HDD to spin down automatically and already suspected
28 such a piece of software unwantedly being responsible for the behavior
29 I'm seeing. But I guess I can actually rule that out: I'm not using
30 any such desktop environment, but am actually using only the "awesome"
31 wm as my window manager. Furthermore, I don't use an X Display manager
32 but boot up in console-only mode and start X only when needed via
33 "startx". Therefore, I can rule out GNOME, KDE, etc. being
34 responsible, and as for the rest of the stuff I've installed, I've
35 choosen it rather carefully and certainly didn't installing anything
36 power-management-like.
37
38 I guess it's probably the way this machine "works", and feel that the
39 reference to acpid sounds like a very promising way to fixing this. As
40 such, thanks to everyone who pointed me into that direction - I'll
41 have a look and see if it works!
42
43 Greetings and thanks again,
44 Nils
45
46
47 --
48 Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
49 Powered by GNU/Linux since 1998

Replies

Subject Author
Re: [gentoo-user] HDD with too aggressive power management Nils Holland <nhg@×××××.org>