pm-utils hasn't been touched in eight years, none of this is likely to
get addressed. Closing bugs and disabling the bz product.

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

Title:
  pm-utils: typo in set_sata_alpm()

Status in pm-utils:
  Won't Fix
Status in pm-utils package in Ubuntu:
  Fix Released

Bug description:
  function set_sata_alpm prints "Setting SATA APLM on %s to %s...", in fact 
this should be "Setting SATA ALPM on %s to %s...".
  (APLM --> ALPM).

  set_sata_alpm() {
      # see kernel commit 6013efd8860bf15c1f86f365332642cfe557152f
      kv="$(uname -r)"
      [ "$kv" ] || exit $NA  #for paranoia's sake
      [ "${kv%-*}" \< "2.6.33" ] && exit $NA  # avoid fs corruption
      for f in /sys/class/scsi_host/host*; do
          [ -w "$f/link_power_management_policy" ] || continue
          printf "Setting SATA APLM on %s to %s..." "${f##*/}" "$1"
          echo "$1" > "$f/link_power_management_policy" && echo Done. || \
              echo Failed.
      done
  }

  Be nice if this was fixed.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to