Subject: Bug#691594: powertop: wrong reporting about audio codec power management

From: Ritesh Raj Sarraf <[email-masked]>
Date: Sat, 27 Oct 2012 17:40:58 +0530

Package: powertop
Version: 2.0-0.2
Severity: normal

PowerTop wrongly reports about the optimal settings for Audio codec
power management.

>> Bad           Enable 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)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages powertop depends on:
ii  libc6             2.13-36
ii  libgcc1           1:4.7.2-4
ii  libncursesw5      5.9-10
ii  libnl-3-200       3.2.7-4
ii  libnl-genl-3-200  3.2.7-4
ii  libpci3           1:3.1.9-5
ii  libstdc++6        4.7.2-4
ii  libtinfo5         5.9-10
ii  zlib1g            1:1.2.7.dfsg-13

powertop recommends no packages.

Versions of packages powertop suggests:
pn  cpufrequtils       <none>
ii  laptop-mode-tools  1.61-1

-- no debconf information