Bug 260620 - cannot prevent powerdevil from changing apm_level
Summary: cannot prevent powerdevil from changing apm_level
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Unmaintained
Component: powermanagement (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-18 11:17 UTC by hefe
Modified: 2010-12-18 14:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hefe 2010-12-18 11:17:23 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

In System Settings/Power Managemant/Edit Profiles/CPU and System:System Powersaving scheme i have two options (performance and powersave). When powersave is selected the APM_level of the hard drive is set to 1. With performance the APM_level of the hard drive is set to 254.

Please provide a way to configure powerdevil so it will not touch the APM_level at all.


SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       7
  3 Spin_Up_Time            0x0027   180   173   021    Pre-fail  Always       -       1983
  4 Start_Stop_Count        0x0032   097   097   000    Old_age   Always       -       3989
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       4467
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       813
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       60
193 Load_Cycle_Count        0x0032   146   146   000    Old_age   Always       -       164153
194 Temperature_Celsius     0x0022   102   089   000    Old_age   Always       -       45
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail  Offline      -       0


Reproducible: Always

Steps to Reproduce:
Change the 'System powersaving scheme' and watch the APM_level with hdparm -B /dev/sda after new login.
Comment 1 Dario Freddi 2010-12-18 14:10:10 UTC
This issue has been fixed in 4.6, and was mainly due to HAL forcing a certain behavior - this is no longer the case. Unfortunately it is not possible to backport the fix to previous versions, as it is mainly HAL-dependant.