Red Hat Bugzilla – Bug 428646
APML shows unknown setting for my harddrive
Last modified: 2008-01-14 08:09:33 EST
Description of problem:
# hdparm -I /dev/sda | grep Advanced
Advanced power management level: unknown setting (0x80c0)
* Advanced Power Management feature set
I get unknown setting for my APM level.
(I should probably see just 192 in this case)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
hdparm is of very limited use now that we have libata and all disks show up as
scsi discs. You can't use it to set most of the flags anymore and you can't
really rely on its output as it doesn't know how to handle libata devices and
libata doesn't have support for most of hdparm commands.
In short: Use hdparm only for /dev/hd* devices, but not for /dev/sd*
Is there any other tool I can use for setting APM level of my /dev/sda ?
As for setting this parameter via hdparm - this work sufficiently well - at
least I could set the level 192 to limit the Heads spinning of my harddrive (se
my pm-utils & T61 bug report 382061)
The only problem is to retrieve this setting properly.
sdparm maybe, although it isn't that easy to use as hdparm.