#691594 powertop: wrong reporting about audio codec power management

Package:
powertop
Source:
powertop
Description:
diagnose issues with power consumption and management
Submitter:
Ritesh Raj Sarraf
Date:
2014-12-10 12:48:10 UTC
Severity:
normal
#691594#5
Date:
2012-10-27 12:10:58 UTC
From:
To:
PowerTop wrongly reports about the optimal settings for Audio codec
power management.


The module accepts an integer, where 0 would disable power savings,
where as a positive integer will be treated as number of seconds for
timeout before switching to power save mode.

It should test for == 0, and then report the status as Bad.


The module's option is listed below:

parm:           power_save:Automatic power-saving timeout (in second, 0
= disable). (int)

#691594#8
Date:
2013-09-01 17:51:44 UTC
From:
To:
Hi Ritesh, is this still happening in 2.4-1, which is already on unstable?
#691594#13
Date:
2013-09-02 07:07:09 UTC
From:
To:
It is still the same. Please see the attached screen shot. In fact, in
my opinion, even the VM writeback timeout calculation is wrong.

#691594#18
Date:
2014-12-10 12:39:26 UTC
From:
To:
Dear Maintainer,

this bug is still present in the current testing (jessie) version.

Also, the action taken when disabling audio power management again is wrong:
According to its own output, pwertop does
  echo '' > /sys/...
but shouldn't it send a 0? At least on my system, with the module parameter
setting this to 10, writing '' actually *enables* power management (with
a timeout of 10 seconds).

Kind regards,
Ralf