Comment 58 for bug 568120

Revision history for this message
thomas-student (thomas-student) wrote :

THE BUG IS:

The file /usr/lib/pm-utils/power.d/95hdparm-apm owned by package "hdparm" version 9.15-1ubuntu9 in lucid (32-bit) 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. The bash script excerpt in my previous comment (which comes from the described file) includes the uses of these paths that urgently need correcting.