Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging)
Date: Mon, 30 Aug 2010 17:10:24
Message-Id: AANLkTimUP31ekWGzPz3EDvptLb0yfQ=yKakcCYrXsvHj@mail.gmail.com
In Reply to: KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging) by Alex Schuster
1 On 24 August 2010 14:31, Alex Schuster <wonko@×××××××××.org> wrote:
2 > Mick writes:
3 >
4 >> On Sunday 22 August 2010 22:39:47 Alex Schuster wrote:
5 >
6 >> > BTW, my two additional drives spin up when I log into KDE. Weird,
7 >> > they are not even mounted.
8 >>
9 >> From KDE-4.4.4 the start up interferes with the hard drives:
10 >>
11 >> http://thread.gmane.org/gmane.linux.gentoo.user/232044
12 >>
13 >> I don't why but it does, messes up any settings that hdparm may have
14 >> set up and p*sses me off.  o_O
15 >>
16 >> As soon as KDE starts up (even when waking up from suspend to ram) it
17 >> resets the drives.  I haven't found a way of telling it how to behave
18 >> (i.e. by respecting existing settings in hdparm).
19 >
20 > Argh, that's annoying. Thanks for the information. O well, first I
21 > setuid'ed hdparm to make it work as a user, then I reverted that back as I
22 > started it in /etc/init.d/local, and now I'm again setuid'ing it so I can
23 > set the settings from /etc/conf.d/hdparm in ~/.kde4/Autostart/.
24 >
25 > I filed a bug: https://bugs.kde.org/show_bug.cgi?id=248905
26 > You might want to vote for it so it gets some attention and will hopefully
27 > be fixed soon.
28
29 Thanks Wonko,
30
31 As reported on https://bugs.gentoo.org/show_bug.cgi?id=334393 the workaround of:
32
33 touch /etc/pm/power.d/harddrive
34
35 stops KDE4.4.4/5 from messing up the existing hdparm settings (at
36 least as far as acoustic management is concerned). At least now I
37 don't have to listen this Seagate sata rattling all day! :-)
38 --
39 Regards,
40 Mick