opensuse:pm-utils.git
5 years ago(d_werner@gmx.net) master
vdziewiecki [Mon, 6 May 2013 13:55:35 +0000 (15:55 +0200)]
(d_werner@gmx.net)

- correction for bnc#817396
half of the correction for 797966 wwas lost during git integration.
here is a new patch which contains only the missing correction of
intel-audio-powersave_logoutput.diff

5 years agoRemoved 55NetworkManager from makefile
vdziewiecki [Tue, 12 Mar 2013 15:11:23 +0000 (16:11 +0100)]
Removed 55NetworkManager from makefile

5 years agoNevermind I'll delete it anyway, since there appears to be no way to
vdziewiecki [Tue, 12 Mar 2013 14:30:55 +0000 (15:30 +0100)]
Nevermind I'll delete it anyway, since there appears to be no way to
handle those fans safely. Fan problems should be fixed in kernel.

5 years agoUndeleted 80acpi-fan since it is still needed, changed the path to
vdziewiecki [Mon, 11 Mar 2013 14:03:01 +0000 (15:03 +0100)]
Undeleted 80acpi-fan since it is still needed, changed the path to
/sys/devices/virtual/thermal/cooling_device*/cur_state since it was
incorrect.

5 years agorm pm/sleep.d/55NetworkManager, networkmanager now uses Upower and listens to dbus
vdziewiecki [Mon, 4 Mar 2013 16:39:13 +0000 (17:39 +0100)]
rm pm/sleep.d/55NetworkManager, networkmanager now uses Upower and listens to dbus
resume/suspend signals.

5 years agoDeleted acpi fan, since it used /proc/acpi/fan/ and it was removed from
vdziewiecki [Fri, 1 Mar 2013 15:43:36 +0000 (16:43 +0100)]
Deleted acpi fan, since it used /proc/acpi/fan/ and it was removed from
kernel long ago.

5 years agoDon't fail modunload silently, the inhibit file should contain a
vdziewiecki [Mon, 25 Feb 2013 15:35:52 +0000 (16:35 +0100)]
Don't fail modunload silently, the inhibit file should contain a
reason *why* it was created.
This would have helped finding the "fix" for
https://bugzilla.novell.com/show_bug.cgi?id=633491 :-)
(Stefan Seyfried <seife+obs@b1-systems.com>)

5 years ago- correction for bnc#797966
vdziewiecki [Mon, 25 Feb 2013 14:59:47 +0000 (15:59 +0100)]
- correction for bnc#797966
intel-audio-powersave creates error entries in /var/log/pm-powersave.log
when it finds supported hw looping over /sys/module/snd_*
these errors are caused by simple typos

5 years ago50rcnetwork: Query network.service alias 2
Marius Tomaschewski [Fri, 25 Jan 2013 17:19:06 +0000 (18:19 +0100)]
50rcnetwork: Query network.service alias

Adopted to query network.service alias, that obsoletes the
NETWORKMANAGER variable in /etc/sysconfig/network/config
introduced in sysconfig-0.80.

5 years ago99Zgrub: unify grub2 and grub2-efi handling 1 origin/master
Andrey Borzenkov [Tue, 6 Nov 2012 16:29:16 +0000 (20:29 +0400)]
99Zgrub: unify grub2 and grub2-efi handling

bnc#782891 unified grub2 and grub2-efi making grub2-efi just an
architecture of GRUB 2. Unify handling of both loaders to not
depend on compatibility grub2-efi-* links.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
5 years agofix grub2 menu shown after s2disk (bnc#771587)
vdziewiecki [Tue, 11 Sep 2012 13:30:02 +0000 (15:30 +0200)]
fix grub2 menu shown after s2disk (bnc#771587)

5 years agoFixed stupid mistake preventing powersaving when waked on battery. systemctl
vdziewiecki [Tue, 10 Jul 2012 10:20:23 +0000 (12:20 +0200)]
Fixed stupid mistake preventing powersaving when waked on battery.

5 years agoFix bnc#697379 - snd_hda_intel not working at all
vdziewiecki [Thu, 21 Jun 2012 16:44:37 +0000 (18:44 +0200)]
Fix bnc#697379 - snd_hda_intel not working at all

5 years agoLeave autofs for NM to handle if it is running.
vdziewiecki [Wed, 20 Jun 2012 10:31:56 +0000 (12:31 +0200)]
Leave autofs for NM to handle if it is running.

5 years agoRemoved "sysctl -e system" call, which caused some bad side-effects.
vdziewiecki [Tue, 12 Jun 2012 13:40:07 +0000 (15:40 +0200)]
Removed "sysctl -e system" call, which caused some bad side-effects.
Using a savestate/restorestate scheme instead.

6 years agopower.d/laptop-mode calls sysctl, so added "command_exists sysctl &&" before
vdziewiecki [Fri, 27 Apr 2012 09:59:13 +0000 (11:59 +0200)]
power.d/laptop-mode calls sysctl, so added "command_exists sysctl &&" before
that.

6 years agoTest systemd presence (/proc/1/comm) and choose systemctl or
vdziewiecki [Thu, 26 Apr 2012 11:34:12 +0000 (13:34 +0200)]
Test systemd presence (/proc/1/comm) and choose systemctl or
/sbin/service when stopping and restarting services.

6 years agoFixed bnc#753589 - sysctl.conf settings are lost when changing powerstate dell opensuse
vdziewiecki [Tue, 17 Apr 2012 12:45:31 +0000 (14:45 +0200)]
Fixed bnc#753589 - sysctl.conf settings are lost when changing powerstate
Fixed bnc#633496 - /usr/lib/pm-utils/sleep.d/75modules should cancel
suspend2disk when unloading a module fails

6 years agoFixed critical issue in 06autofs, which stopped on savestate autofs "",
vdziewiecki [Fri, 6 Apr 2012 13:14:52 +0000 (15:14 +0200)]
Fixed critical issue in 06autofs, which stopped on savestate autofs "",
waiting for stdin. Suspend was not possible at all.

6 years agoAdded grub patch - more SUSE friendly grub handler pm-utils-1.4.1-suse-2
vdziewiecki [Tue, 27 Mar 2012 15:03:33 +0000 (17:03 +0200)]
Added grub patch - more SUSE friendly grub handler

6 years agoFixed bnc#751887 - Hibernation failure after security patches applied;
vdziewiecki [Tue, 27 Mar 2012 09:18:26 +0000 (11:18 +0200)]
Fixed  bnc#751887 - Hibernation failure after security patches applied;
Fixed  bnc#751621 - /usr/lib/pm-utils/sleep.d/06autofs unconditionally (re)starts autofs
Fixed bnc#751811 - pm-suspend generates defective /var/log/pm-suspend.log file

6 years agofix bnc#749031: errors in 50rcnetwork
Bin Li [Tue, 28 Feb 2012 14:41:03 +0000 (15:41 +0100)]
fix bnc#749031: errors in 50rcnetwork

6 years agofix a typo in powersave script when no governor available
Michal Vyskocil [Mon, 28 Mar 2011 11:50:57 +0000 (13:50 +0200)]
fix a typo in powersave script when no governor available

add the forgotten $ to pm-utils

fixes bnc#640398

6 years agofix battery and AC adapter status for upower
Elmar Stellnberger [Mon, 28 Mar 2011 11:49:07 +0000 (13:49 +0200)]
fix battery and AC adapter status for upower

If I boot into rl3 then powersave needs to use the upower. However the
upower implementation for showing the battery and AC-adapter status
has not been commenced for pm-utils-1.3.0-10.1.1. This patch fixes the
fallacies of the pre-written code ment to do this.

fixes bnc#670074

Signed-off-by: Michal Vyskocil <mvyskocil@suse.cz>
6 years ago05nfscheck: avoid system hung on hibernate with active NFS mount
Michal Vyskocil [Tue, 18 Jan 2011 13:23:51 +0000 (14:23 +0100)]
05nfscheck: avoid system hung on hibernate with active NFS mount

6 years agoRemove power.d hooks already in upstream pm-utils
vdziewiecki [Tue, 27 Mar 2012 08:55:40 +0000 (10:55 +0200)]
Remove power.d hooks already in upstream pm-utils

6 years agosuppress the IBFO message
Michal Vyskocil [Fri, 9 Jul 2010 08:18:47 +0000 (10:18 +0200)]
suppress the IBFO message

6 years agoset and check the governors via sysfs - bnc#619750
Michal Vyskocil [Fri, 9 Jul 2010 08:14:48 +0000 (10:14 +0200)]
set and check the governors via sysfs - bnc#619750

Powersave now allows for users with access to /sys/ to change the
governor on systems without HAL. The implementation is slightly
different from HAL - in querying (-c) it checks all cpus and if the
governors are different, it prints Unknown policy. HAL prints cpu0 state
only.

6 years agofix typo in upower_find_ac_adapter
Michal Vyskocil [Fri, 9 Jul 2010 07:41:16 +0000 (09:41 +0200)]
fix typo in upower_find_ac_adapter

6 years agofixes bnc#617667: 50rcnetwork sleep hook cannot work
Stefan Seyfried [Mon, 28 Jun 2010 07:44:42 +0000 (09:44 +0200)]
fixes bnc#617667: 50rcnetwork sleep hook cannot work

50rcnetwork needs bash, because /etc/sysconfig/network/scripts/functions
uses stuff only bash provides
Signed-off-by: Michal Vyskocil <mvyskocil@suse.cz>
6 years agofix a typo in stderr redirecting
Michal Vyskocil [Mon, 14 Jun 2010 13:10:35 +0000 (15:10 +0200)]
fix a typo in stderr redirecting

6 years agorelease dhcp adresses on suspend
Michal Vyskocil [Mon, 14 Jun 2010 13:06:00 +0000 (15:06 +0200)]
release dhcp adresses on suspend

Fix of bnc#603291 - to prevent DHCP leases timing out stop all DHCP
interfaces on suspend and restart them on resume.

6 years agomake iwl-pm better readable
vdziewiecki [Tue, 27 Mar 2012 08:43:17 +0000 (10:43 +0200)]
make iwl-pm better readable

6 years agoiwl-pm read rfkill state only if exists
vdziewiecki [Tue, 27 Mar 2012 08:40:14 +0000 (10:40 +0200)]
iwl-pm read rfkill state only if exists

6 years agoport powersave to upower
Michal Vyskocil [Fri, 2 Apr 2010 08:32:43 +0000 (10:32 +0200)]
port powersave to upower

As HAL is going to be replaced by org.freedesktop.UPower, let's
implement upower_ equivalents of all hal_ functions. Some helper
functions for work with upower has been defined

* upower_call_method: call upower method
* upower_device_get_property: get a property (not only, but mostly) of a
                              device
* upower_available: check if upower is available
* upower_enumerate_batteries: get a list of devices are batteries and
                              power supply
* upower_find_ac_adapter: find the AC adapter

Reimplemented functions:
* upower_suspend_to_ram
* upower_suspend_to_disk
* upower_battery_info
* upower_ac_status_info

Not ready:
* upower_standby: did not finf the upower equivalent
* upower_performance_speed: org.freedesktop.UPower.QoS???
* upower_powersave_speed: org.freedesktop.UPower.QoS???
* upower_dynamic_speed: org.freedesktop.UPower.QoS???
* upower_cpufreq_state_info

6 years agoadd hal_ prefix to all functions using HAL to maintain backward compatibility
Michal Vyskocil [Fri, 2 Apr 2010 08:31:55 +0000 (10:31 +0200)]
add hal_ prefix to all functions using HAL to maintain backward compatibility

6 years agothe original powersave version from 11.2
Michal Vyskocil [Fri, 2 Apr 2010 08:31:08 +0000 (10:31 +0200)]
the original powersave version from 11.2

6 years agowol: remove the HAL dependency, use ethtool instead
Michal Vyskocil [Thu, 1 Apr 2010 14:21:47 +0000 (16:21 +0200)]
wol: remove the HAL dependency, use ethtool instead

6 years agosata-pm: port to the udisks
Michal Vyskocil [Thu, 1 Apr 2010 12:50:33 +0000 (14:50 +0200)]
sata-pm: port to the udisks

The HAL is going away from openSUSE, so let's use new shiny udisks
interface instead

6 years agodo a sanity check on S2DISK_CONF
Stefan Seyfried [Tue, 16 Feb 2010 15:12:10 +0000 (16:12 +0100)]
do a sanity check on S2DISK_CONF

It's generally not a good idea to overwrite /etc/s2disk.conf with
autogenerated config files (using the content of /etc/s2disk.conf
as input for itself ;)

6 years agosuspend-to-file support (bnc#309522)
Michal Vyskocil [Thu, 10 Dec 2009 10:18:29 +0000 (11:18 +0100)]
suspend-to-file support (bnc#309522)

The 30s2disk-check now allows suspend-to-file

6 years agouse HIBERNATE_MODULE in 30s2disk-check
Michal Vyskocil [Wed, 25 Nov 2009 13:51:19 +0000 (14:51 +0100)]
use HIBERNATE_MODULE in 30s2disk-check

6 years agoPolish sleep.d scripts
Michal Vyskocil [Tue, 24 Nov 2009 08:47:33 +0000 (09:47 +0100)]
Polish sleep.d scripts

Add the . "${PM_FUNCTION}" on a beggining of every script
Use the proper exit $NA on unknown $1
command_exists when we test a presence of the commands
used rcautofs on a restart of autofs

6 years agoadded 75ndiswrapper hook
Michal Vyskocil [Tue, 24 Nov 2009 08:37:34 +0000 (09:37 +0100)]
added 75ndiswrapper hook

6 years agoused correct hook name in rtcwake.config comments
Michal Vyskocil [Tue, 24 Nov 2009 08:19:12 +0000 (09:19 +0100)]
used correct hook name in rtcwake.config comments

6 years agoUpdate NetworkManager Sleep method bnc#735837
vdziewiecki [Tue, 27 Mar 2012 08:30:40 +0000 (10:30 +0200)]
Update NetworkManager Sleep method bnc#735837

6 years agoexport SUSE_IGNORE_FBMODES to workaround bnc#304995
vdziewiecki [Tue, 27 Mar 2012 08:29:09 +0000 (10:29 +0200)]
export SUSE_IGNORE_FBMODES to workaround bnc#304995

6 years agosetup also kernel loglevel to show up the progress bar
vdziewiecki [Tue, 27 Mar 2012 08:27:56 +0000 (10:27 +0200)]
setup also kernel loglevel to show up the progress bar

6 years agoadded config file for 02rtcwake
Michal Vyskocil [Tue, 24 Nov 2009 08:18:13 +0000 (09:18 +0100)]
added config file for 02rtcwake

6 years agocovered by pm-utils-1.2.6.1-grub.patch
Michal Vyskocil [Tue, 24 Nov 2009 08:16:46 +0000 (09:16 +0100)]
covered by pm-utils-1.2.6.1-grub.patch

6 years agofix resume problems if the "Failsafe" kernel is listed before
vdziewiecki [Tue, 27 Mar 2012 08:19:42 +0000 (10:19 +0200)]
fix resume problems if the "Failsafe" kernel is listed before
  the "good" kernel in /boot/grub/menu.lst

6 years agocovered by pm-utils-1.2.6.1-logging.patch
Michal Vyskocil [Tue, 24 Nov 2009 08:16:20 +0000 (09:16 +0100)]
covered by pm-utils-1.2.6.1-logging.patch

6 years agoadded suse hooks
vdziewiecki [Tue, 27 Mar 2012 07:58:54 +0000 (09:58 +0200)]
added suse hooks

6 years agoadd some aditional config variables for pm-utils-suse
vdziewiecki [Mon, 26 Mar 2012 13:24:40 +0000 (15:24 +0200)]
add some aditional config variables for pm-utils-suse

6 years agomake the uswsusp module default on SUSE and port the smart behavior
vdziewiecki [Mon, 26 Mar 2012 13:23:38 +0000 (15:23 +0200)]
make the uswsusp module default on SUSE and port the smart behavior

6 years agofixes a dbus-send call
vdziewiecki [Mon, 26 Mar 2012 13:02:57 +0000 (15:02 +0200)]
fixes a dbus-send call

7 years agoMerge branch 'pm-utils-1.4'
Victor Lowther [Wed, 23 Jun 2010 00:12:17 +0000 (19:12 -0500)]
Merge branch 'pm-utils-1.4'

7 years agoMake on_ac_power check sysfs directly.
Victor Lowther [Wed, 23 Jun 2010 00:09:40 +0000 (19:09 -0500)]
Make on_ac_power check sysfs directly.

This avoids us depending on power managers that depend on us.

7 years agoMerge remote branch 'UPSTREAM/master'
Victor Lowther [Sat, 19 Jun 2010 23:32:02 +0000 (18:32 -0500)]
Merge remote branch 'UPSTREAM/master'

7 years agoUpdate configure.ac to 1.4.0
Victor Lowther [Sat, 19 Jun 2010 23:31:12 +0000 (18:31 -0500)]
Update configure.ac to 1.4.0

7 years agoOops, stop worrying about disabling wake on lan for wireless.
Victor Lowther [Sat, 19 Jun 2010 23:20:14 +0000 (18:20 -0500)]
Oops, stop worrying about disabling wake on lan for wireless.

7 years agoMerge remote branch 'UPSTREAM/pm-utils-1.4' into pm-utils-1.4
Victor Lowther [Sat, 19 Jun 2010 23:10:00 +0000 (18:10 -0500)]
Merge remote branch 'UPSTREAM/pm-utils-1.4' into pm-utils-1.4

7 years agoFix stupid error in sata_alpm
Victor Lowther [Sat, 19 Jun 2010 23:08:19 +0000 (18:08 -0500)]
Fix stupid error in sata_alpm

7 years agoUse flock for more robust lock file handling
Michael Biebl [Fri, 18 Jun 2010 13:15:16 +0000 (15:15 +0200)]
Use flock for more robust lock file handling

Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568565

7 years agoUse flock for more robust lock file handling
Michael Biebl [Fri, 18 Jun 2010 13:15:16 +0000 (15:15 +0200)]
Use flock for more robust lock file handling

Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568565

7 years agoMerge remote branch 'UPSTREAM/master'
Victor Lowther [Fri, 18 Jun 2010 12:09:38 +0000 (07:09 -0500)]
Merge remote branch 'UPSTREAM/master'

7 years agoVarious small man page updates and fixes
Michael Biebl [Fri, 18 Jun 2010 06:09:56 +0000 (08:09 +0200)]
Various small man page updates and fixes

7 years agoVarious small man page updates and fixes
Michael Biebl [Fri, 18 Jun 2010 06:09:56 +0000 (08:09 +0200)]
Various small man page updates and fixes

7 years agoBump to pm-utils-1.4.0-rc2
Victor Lowther [Tue, 15 Jun 2010 12:07:45 +0000 (07:07 -0500)]
Bump to pm-utils-1.4.0-rc2

7 years agoAdded informative messages to some of the sleep hooks.
Victor Lowther [Tue, 15 Jun 2010 12:03:22 +0000 (07:03 -0500)]
Added informative messages to some of the sleep hooks.

7 years agoMake powersave hooks a little more verbose.
Victor Lowther [Mon, 14 Jun 2010 20:10:52 +0000 (15:10 -0500)]
Make powersave hooks a little more verbose.

7 years agoChange hook run printing to make it not look ugly.
Victor Lowther [Mon, 14 Jun 2010 20:29:42 +0000 (15:29 -0500)]
Change hook run printing to make it not look ugly.

Hooks can print things too.

7 years agoFix some thinkos introduced by the wireless hooks changes.
Victor Lowther [Mon, 14 Jun 2010 18:25:24 +0000 (13:25 -0500)]
Fix some thinkos introduced by the wireless hooks changes.

Among other things, we were not actually enabling power management
for wireless adaptors.  We are now.

7 years agoOops, missed some Makefile.am updates.
Victor Lowther [Mon, 14 Jun 2010 15:29:20 +0000 (10:29 -0500)]
Oops, missed some Makefile.am updates.

7 years agoAdd a hook to disable polling optical media while on battery.
Victor Lowther [Mon, 14 Jun 2010 13:15:30 +0000 (08:15 -0500)]
Add a hook to disable polling optical media while on battery.

7 years agoimport-fdi-quirkdb was only ever a temporary hack.
Victor Lowther [Mon, 14 Jun 2010 12:34:59 +0000 (07:34 -0500)]
import-fdi-quirkdb was only ever a temporary hack.

Now that we handle the quirk database, it goes byebye.

7 years agoFix a typo in README.distributions.
Victor Lowther [Mon, 14 Jun 2010 12:25:25 +0000 (07:25 -0500)]
Fix a typo in README.distributions.

7 years agoUpdate README.debugging.
Victor Lowther [Mon, 14 Jun 2010 12:23:32 +0000 (07:23 -0500)]
Update README.debugging.

7 years agoUpdate TODO file
Victor Lowther [Mon, 14 Jun 2010 12:19:35 +0000 (07:19 -0500)]
Update TODO file

7 years agoUpdate NEWS.
Victor Lowther [Sat, 12 Jun 2010 14:53:56 +0000 (09:53 -0500)]
Update NEWS.

7 years agoThe power management stuff deserves its own branch.
Victor Lowther [Sat, 12 Jun 2010 14:28:27 +0000 (09:28 -0500)]
The power management stuff deserves its own branch.

7 years agoUpdate git tree packaging to conflict with laptop-mode-tools
Victor Lowther [Sat, 12 Jun 2010 18:07:51 +0000 (13:07 -0500)]
Update git tree packaging to conflict with laptop-mode-tools

The new powermanagement scripts conflict with laptop-mode-tools.
Make sure both are not installed at the same time.

7 years agoAdd more specificity to the wireless hook.
Victor Lowther [Sat, 12 Jun 2010 17:52:36 +0000 (12:52 -0500)]
Add more specificity to the wireless hook.

Explicity handle Intel wireless cards according to their unique requirements.
If only iwconfig power on/off did The Right Thing on all the cards.

7 years agoUpdate provides= line in PKGBUILD to privide version 9999
Victor Lowther [Fri, 11 Jun 2010 12:25:09 +0000 (07:25 -0500)]
Update provides= line in PKGBUILD to privide version 9999

7 years agoFix paths for sched_powersave script
Chase Douglas [Tue, 8 Jun 2010 18:57:13 +0000 (14:57 -0400)]
Fix paths for sched_powersave script

The paths had a leading stray '$' and the hyperthreading path was
incorrect.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
7 years agoFix audio powersave script to look for snd_* modules
Chase Douglas [Tue, 8 Jun 2010 18:47:26 +0000 (14:47 -0400)]
Fix audio powersave script to look for snd_* modules

Without this change the snd_hda_intel module is skipped.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
7 years agoRefuse to change sata link pm states on kernels < 2.6.33
Victor Lowther [Wed, 9 Jun 2010 10:23:57 +0000 (05:23 -0500)]
Refuse to change sata link pm states on kernels < 2.6.33

Kernels earlier then 2.6.33 have a bug that can cause filesystem corruption
due to the upper layers aborting a transaction instead of retrying it if the
sata link glitches out momentarily during a power state transition.

7 years agoOops, forgot to add service script into the ight Makefile.am.
Victor Lowther [Sat, 5 Jun 2010 19:09:07 +0000 (14:09 -0500)]
Oops, forgot to add service script into the ight Makefile.am.

7 years agoThere are no actual users of chassis_type anymore, get rid of it.
Victor Lowther [Sat, 5 Jun 2010 18:52:24 +0000 (13:52 -0500)]
There are no actual users of chassis_type anymore, get rid of it.

7 years agoAdd help functionality to pm-powersave
Victor Lowther [Fri, 4 Jun 2010 16:56:11 +0000 (11:56 -0500)]
Add help functionality to pm-powersave

7 years agoUpdate Makefile.am to include new hooks.
Victor Lowther [Fri, 4 Jun 2010 16:31:48 +0000 (11:31 -0500)]
Update Makefile.am to include new hooks.

7 years agoUpdate help text for powersave hooks that display help.
Victor Lowther [Fri, 4 Jun 2010 17:53:04 +0000 (12:53 -0500)]
Update help text for powersave hooks that display help.

7 years agoAdd wakeonlan and pcie aspm powersave hooks.
Victor Lowther [Fri, 4 Jun 2010 14:38:31 +0000 (09:38 -0500)]
Add wakeonlan and pcie aspm powersave hooks.

7 years agoAdd support for ext4 filesystems in journal_commit.
Victor Lowther [Fri, 4 Jun 2010 13:18:31 +0000 (08:18 -0500)]
Add support for ext4 filesystems in journal_commit.

Also force pm-utils to disable powersaving features across a suspend/resume.

7 years agoAdd sata_alpm control hook.
Victor Lowther [Thu, 3 Jun 2010 21:30:32 +0000 (16:30 -0500)]
Add sata_alpm control hook.

7 years agoAdd help and configurability to most of the powersave hooks.
Victor Lowther [Thu, 3 Jun 2010 20:53:24 +0000 (15:53 -0500)]
Add help and configurability to most of the powersave hooks.

7 years agoAdded powersave hook to change journal commit interval
Victor Lowther [Thu, 24 Jul 2008 02:29:27 +0000 (21:29 -0500)]
Added powersave hook to change journal commit interval

7 years agoMake sure that we are root before trying to run dmidecode.
Victor Lowther [Sat, 5 Jul 2008 16:41:27 +0000 (11:41 -0500)]
Make sure that we are root before trying to run dmidecode.

7 years agoMake laptop-mode, readahead, and xfs_buffer only apply
Victor Lowther [Tue, 1 Jul 2008 00:08:44 +0000 (19:08 -0500)]
Make laptop-mode, readahead, and xfs_buffer only apply
when we are running on something that looks like a laptop.

"looks like a laptop" = dmidecode says that chassis type is Portable.

7 years agoMore comments to the power hooks.
Victor Lowther [Sun, 29 Jun 2008 17:07:22 +0000 (12:07 -0500)]
More comments to the power hooks.

Also added an environment variable that will (hopefully) tell us
what type of system we have.