Would not it make sense to handle spindown_time the same way, adding a
spindown_time_battery so that the user can configure different timeouts for
hard drives?
I used to have 20 minutes when on AC and 3 when on battery. I don't understand
how to control it with pm-utils
--
pm-utils doesn't rel
This bug was fixed in the package pm-utils - 1.2.5-2ubuntu7
---
pm-utils (1.2.5-2ubuntu7) karmic; urgency=low
* debian/95hdparm-apm: use /usr/lib/pm-utils/hdparm-functions from hdparm
(>= 9.15-1ubuntu4) to determine what apm value to use, instead of
hard-coding settings that
This bug was fixed in the package hdparm - 9.15-1ubuntu4
---
hdparm (9.15-1ubuntu4) karmic; urgency=low
* Recommend powermgmt-base, so we can use on_ac_power to detect if we're on
battery.
* Add a new option to hdparm.conf, apm_battery, which is used in place of
apm when w
** Changed in: pm-utils (Ubuntu Karmic)
Importance: Undecided => Medium
--
pm-utils doesn't reload hdparm.conf after a suspend
https://bugs.launchpad.net/bugs/238555
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mail
Steve Langasek [2009-10-06 19:56 -]:
> I felt implementing a duplicate, stripped-down parser would be the
> lesser evil here for a FFe.
Agreed.
> The manpage doesn't say that 255 is a default, it just presents 255
> as an example value
I see. This wasn't clear from the limited context of the
I was conscious of the code duplication between
hdparm_apm_option_for_disk() and the udev rule. The challenge is that
pm-utils is looking to be given one specific option for the device, and
udev wants to apply all the options specified in /etc/hdparm.conf, so I
felt implementing a duplicate, strip
I reviewed the patch. Thinking aloud..
* hdparm_is_on_battery doesn't check whether on_ac_power actually
exists (it's only recommended), but since it explicitly tests for $? ==
1, and "command not found" yields 127, this should be okay. It means
that if powermgmt-base is not installed, we defaul
Here is a patch to add a new option to hdparm.conf, apm_battery, that
will enable us to eliminate the hard-coded apm values in pm-utils.
Rationale:
- as long as laptop-mode is not enabled by default in Ubuntu, hdparm.conf is
the only place that we can sensibly configure the apm battery values and
Yes, this is hardcoded in /usr/lib/pm-utils/power.d/95hdparm-apm.
** Changed in: pm-utils (Ubuntu)
Status: New => Confirmed
--
pm-utils doesn't reload hdparm.conf after a suspend
https://bugs.launchpad.net/bugs/238555
You received this bug notification because you are a member of Ubuntu
B
Disk-idleing (aka "laptop-mode") and power states are quite separate things.
https://wiki.ubuntu.com/PowerManagement
Since ubuntu by default ships with laptop-mode-tools (thus disabled)
which handles all the things associated with disk-idleing,
(like mount options, hdparm options, low battery ex
10 matches
Mail list logo