← Back to team overview

touch-packages team mailing list archive

[Bug 774643] Re: sched-powersave is outdated

 

Same bug on 14.04 LTS release.

--------------
a@B:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
Codename:	trusty
a@B:~$ ls /sys/devices/system/cpu
cpu0  cpuidle  kernel_max  microcode  modalias  offline  online  possible  power  present  uevent
a@B:~$
---------

/usr/lib/pm-utils/power.d/sched-powersave :
------------------
(...)
sched_powersave() {
    for pool in mc smp smt; do
        dev="/sys/devices/system/cpu/sched_${pool}_power_savings"
        [ -w "$dev" ] || continue
        echo $1 > "$dev"
    done
}
(...)
----------------

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/774643

Title:
  sched-powersave is outdated

Status in pm-utils package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: pm-utils

  /usr/lib/pm-utils/power.d/sched-powersave

  This file is outdated, because these controls do not exist anymore:

  sched_powersave() {
      for pool in mc smp smt; do
          dev="/sys/devices/system/cpu/sched_${pool}_power_savings"
          [ -w "$dev" ] || continue
          echo $1 > "$dev"
      done
  }

  $ ls /sys/devices/system/cpu/
  cpu0  cpu1  cpufreq  cpuidle  kernel_max  offline  online  perf_events  possible  present  probe  release

  This is on Maverick.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/774643/+subscriptions