Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hdparm, CONFIG_ATA_SFF and KDE-4.4.4
Date: Thu, 29 Jul 2010 23:06:03
Message-Id: AANLkTimFFrBLDL7o5__3MzGPdXYpY7+PpoLEFh9i3fF-@mail.gmail.com
In Reply to: Re: [gentoo-user] hdparm, CONFIG_ATA_SFF and KDE-4.4.4 by Volker Armin Hemmann
1 On 29 July 2010 09:33, Volker Armin Hemmann <volkerarmin@××××××××××.com> wrote:
2 > On Donnerstag 29 Juli 2010, Mick wrote:
3 >> The title may not make immediately sense, but this is what I have observed.
4 >>
5 >> I switched to CONFIG_ATA_SFF instead of the deprecated CONFIG_IDE.  Up
6 >> until that point I had passed -M 128 to hdparm once and my drive retained
7 >> the settings between reboots and kept quiet.
8 >>
9 >> With the new kernel I noticed that KDE-4.4.4 switches it back to -M 254 and
10 >> becomes noisy as KDE kicks in (when the system settings symbol comes up
11 >> during login).
12 >>
13 >> I tried adding hdparm in the default runlevel and also added:
14 >>
15 >> sda_arg="-M 128"
16 >>
17 >> in /etc/conf.d/hdparm but it doesn't seem to work.  KDE resets it to full
18 >> pelt.
19 >>
20 >> Is there a fix to this?
21 >
22 > KDE doesn't do that. It can't.
23
24 I hear what you say. However, ... it does! O_O
25
26 I ran hdparm -iI /dev/sda once from the console and once after I
27 logged into KDE. As you can see the KDE command shows:
28
29 Recommended acoustic management value: 128, current value: 254
30
31 and
32
33 Automatic Acoustic Management feature set
34
35
36 while the console shows:
37
38 Recommended acoustic management value: 128, current value: 128
39
40 and
41
42 * Automatic Acoustic Management feature set
43
44 Also there are some differences at the Security tags at the bottom,
45 should that make any difference. Both of the commands were run
46 without /etc/init.d/hdparm being started at boot time or since.
47
48 If I run -M 128 the drive goes quiet and stays so surviving a reboot,
49 until I login into KDE again. So, if KDE switches of the Acoustic
50 Management for some reason, there should be some way of asking it not
51 to?
52 --
53 Regards,
54 Mick

Attachments

File name MIME type
hdparm_info_console.txt text/plain
hdparm_info_kde.txt text/plain