THE BUG IS:

The file /usr/lib/pm-utils/power.d/95hdparm-apm owned by package
"hdparm" version 9.15-1ubuntu9 in lucid  checks for presence of laptop-
mode-tools at the wrong location on the disk, then proceeds to manage
the APM setting for the hard drive itself when laptop-mode-tools should
be handling it.

Specifically, the files /usr/sbin/laptop_mode and /var/run/laptop-mode-
tools/enabled have AFAICT been deprecated/moved. This:

    if [ -e /usr/sbin/laptop_mode ] ; then
            LMT_CONTROL_HD_POWERMGMT=$(. /etc/laptop-mode/laptop-mode.conf && ec
            if [ "$LMT_CONTROL_HD_POWERMGMT" != 0 ] \
               && [ -e /var/run/laptop-mode-tools/enabled ]
            then
                    # Laptop mode controls hdparm -B settings, we don't.
                    return
            fi
    fi


(which comes from the described file) includes the uses of these paths that 
urgently need correcting.

** Changed in: hdparm (Ubuntu)
       Status: New => Confirmed

-- 
hdparm sets power management value to 128 in AC mode
https://bugs.launchpad.net/bugs/513706
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to