Please reply if this is still an issue on a supported release.

** Changed in: pm-utils (Ubuntu)
       Status: New => Invalid

-- 
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/392868

Title:
  [jaunty] easily fixable yet important sleep.d/95hdparm-apm buglet
  (get_power_status() missing, PM_FUNCTIONS not sourced)

Status in “pm-utils” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: pm-utils

  Just noticed that my /var/log/pm-suspend.log contains:
  ...
  /usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
  /usr/lib/pm-utils/sleep.d/96laptop-mode resume suspend: success.
  /usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
  /usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend: 
/usr/lib/pm-utils/sleep.d/95hdparm-apm: line 26: get_power_status: command not 
found
  success.
  /usr/lib/pm-utils/sleep.d/95anacron resume suspend: success.
  /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
  ...

  Well, this is because:
  andi@andinet:/usr/lib/pm-utils/sleep.d$ grep PM_FUNC *
  000record:. "${PM_FUNCTIONS}"
  00auto-quirk:. "${PM_FUNCTIONS}"
  00logging:. "${PM_FUNCTIONS}"
  00powersave:. "${PM_FUNCTIONS}"
  01PulseAudio:. "${PM_FUNCTIONS}"
  45iwlist:. "${PM_FUNCTIONS}"
  48hid2hci:. "${PM_FUNCTIONS}"
  49bluetooth:. "${PM_FUNCTIONS}"
  55NetworkManager:. "${PM_FUNCTIONS}"
  75modules:. "${PM_FUNCTIONS}"
  90chvt:. "${PM_FUNCTIONS}"
  94cpufreq:. "${PM_FUNCTIONS}"
  98smart-kernel-video:. "${PM_FUNCTIONS}"
  99video:. "${PM_FUNCTIONS}"

  where one notices that 95hdparm-apm is NOT among the files found
  whereas it makes use (well, tries to...) of the get_power_status()
  function.

  Result is that hard disk shock protection during mobile operation
  (battery only) is currently INOPERATIONAL (should this bug's severity
  be grave now?).

  Me, I'm not affected personally on an SSD-based setup, just worrying
  about my peers ;)

  $ lsb_release -rd
  Description:    Ubuntu 9.04
  Release:        9.04

  Package: pm-utils
  Version: 1.2.2.4-0ubuntu5

  Thanks,

  Andreas Mohr

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to