summaryrefslogtreecommitdiff
path: root/pm
AgeCommit message (Collapse)AuthorFilesLines
2010-06-19Oops, stop worrying about disabling wake on lan for wireless.Victor Lowther1-1/+1
2010-06-19Merge remote branch 'UPSTREAM/pm-utils-1.4' into pm-utils-1.4Victor Lowther2-13/+15
2010-06-19Fix stupid error in sata_alpmVictor Lowther1-1/+1
2010-06-18Use flock for more robust lock file handlingMichael Biebl2-13/+15
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568565
2010-06-15Added informative messages to some of the sleep hooks.Victor Lowther4-12/+35
2010-06-15Make powersave hooks a little more verbose.Victor Lowther8-12/+31
2010-06-15Change hook run printing to make it not look ugly.Victor Lowther1-1/+3
Hooks can print things too.
2010-06-15Fix some thinkos introduced by the wireless hooks changes.Victor Lowther1-5/+16
Among other things, we were not actually enabling power management for wireless adaptors. We are now.
2010-06-14Oops, missed some Makefile.am updates.Victor Lowther1-1/+2
2010-06-14Add a hook to disable polling optical media while on battery.Victor Lowther1-0/+49
2010-06-12Add more specificity to the wireless hook.Victor Lowther1-15/+52
Explicity handle Intel wireless cards according to their unique requirements. If only iwconfig power on/off did The Right Thing on all the cards.
2010-06-09Fix paths for sched_powersave scriptChase Douglas1-2/+2
The paths had a leading stray '$' and the hyperthreading path was incorrect. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2010-06-09Fix audio powersave script to look for snd_* modulesChase Douglas1-2/+2
Without this change the snd_hda_intel module is skipped. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2010-06-09Refuse to change sata link pm states on kernels < 2.6.33Victor Lowther1-0/+4
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.
2010-06-05There are no actual users of chassis_type anymore, get rid of it.Victor Lowther1-6/+0
2010-06-05Update Makefile.am to include new hooks.Victor Lowther1-1/+4
2010-06-05Update help text for powersave hooks that display help.Victor Lowther6-34/+59
2010-06-05Add wakeonlan and pcie aspm powersave hooks.Victor Lowther2-0/+37
2010-06-05Add support for ext4 filesystems in journal_commit.Victor Lowther2-1/+3
Also force pm-utils to disable powersaving features across a suspend/resume.
2010-06-05Add sata_alpm control hook.Victor Lowther1-0/+31
2010-06-05Add help and configurability to most of the powersave hooks.Victor Lowther7-32/+228
2010-06-05Added powersave hook to change journal commit intervalVictor Lowther2-1/+40
2010-06-05Make sure that we are root before trying to run dmidecode.Victor Lowther1-1/+1
2010-06-05Make laptop-mode, readahead, and xfs_buffer only applyVictor Lowther3-3/+4
when we are running on something that looks like a laptop. "looks like a laptop" = dmidecode says that chassis type is Portable.
2010-06-05More comments to the power hooks.Victor Lowther4-1/+16
Also added an environment variable that will (hopefully) tell us what type of system we have.
2010-06-05Added comments to intel-audio-powersave and wirelessVictor Lowther2-0/+11
2010-06-05Rewrote the sched-powersave hook to eliminate redundancy.Victor Lowther1-21/+18
2010-06-05Power management for a couple of other subsystemsVictor Lowther3-1/+42
2010-06-05Added some explanatory comments to the power hooks.Victor Lowther3-0/+9
2010-06-05Richard raised concerns about hard drive spindown.Victor Lowther2-5/+6
So the harddrive hook no longer tries to spin the drive down pending some sort of consensus on the right thing to do to make the hard drive save power. In the mean time, though, just flat-out disable write caching on the hard drive. I know that there are barriers and flushes that the ATA layer uses to ensure that data really is written to the disk, but hard drive cache isn't battery backed.
2010-06-05Added basic laptop mode support to power.dVictor Lowther5-1/+103
2010-06-05Autodetect sleep modules by default instead of forcing the kernel one.Victor Lowther2-2/+2
2010-06-05Make tuxonice methods chvt if using a userspace UI.Victor Lowther1-9/+23
Since we do not always chvt away from X before actually hibernating, things may get nasty if both X and the userspace UI start drawing.
2010-05-31Try falling back to standby suspend of mem is not available.Dylan Smith1-0/+3
It saves less power, but is the only option available on some systems. Thanks, Dylan Smith.
2010-04-11Create a pm-utils local service command for distros that do not have one.Victor Lowther1-14/+2
2010-03-14Merge branch 'master' into pm-utils-1.3Victor Lowther2-3/+6
2010-02-15Small fix for 309fba58adaf8c57df6cb91411c81eae336e82dcMichael Biebl1-1/+1
2010-02-03Rename, for consistency's sakeMichael Biebl1-0/+0
2010-02-03Fix typo in regexp, replacing ; charRafał Miłecki1-1/+1
Replace all occurences of ; not only the first one Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2010-02-03fix alternatives matching in native quirks DBMartin Pitt1-1/+1
The native quirks DB separates alternatives with ';'. For regexp matching, turn those into '|', so that they will actually match.
2010-02-03fix usage of find_native()Martin Pitt1-0/+3
98-video-quirk-db-handler expects find_native() to write the quirks to stdout, so actually do write them there. This makes the native quirks work.
2010-02-03fix DMI attribute matchingMartin Pitt1-1/+1
canonicalize_dmivar() refused the valid property "system.firmware.release_date" because of a missing '_' in the character filter.
2009-12-25chvt again when using nvidia binary driverVictor Lowther1-1/+0
Certian newer nvidia binary drivers do not chvt in kernelspace, which leads to reported lockups. Go ahead and have them chvt in userspace again.
2009-12-13Merge is_set fix from 1.2 branchVictor Lowther1-2/+2
2009-12-13Oops, the "simple" bugfix for is_set broke everything else.Victor Lowther1-2/+2
2009-12-10Use --quirk-test to override the usual sanity checks.Victor Lowther1-4/+9
This can be useful for testing to see if your system requires an unusual set of quirks, but can also make your system crash in new and exciting ways across suspend/resume. You have been warned.
2009-12-10Update 98-video-quirk-db-handler to reflect recent bug fixesVictor Lowther1-4/+4
Some longstanding typos in the quirks were fixed in 98smart-kernel-video. Update the new quirk handling machinery to take those fixes into account.
2009-12-10Merge branch 'pm-utils-1.2' into pm-utils-1.3Victor Lowther3-7/+7
Conflicts: pm/sleep.d/98smart-kernel-video
2009-12-10Fix pci-save vs save-pci related typosChristian Krause2-4/+4
- fix wrong function calls to pci_restore and pci_save which did not match the actual defined functions (restore_pci and save_pci) - use the correct quirk parameter in "remove_paramters" (use --quirk-save-pci instead of --quirk-pci-save)
2009-12-10[PATCH] Fix vga-mode-3 typo in video hooksTormod Volden3-4/+4
We have been using vga-mode3 while the standard says vga-mode-3. This might fix (or even break) some resume issues on hardware which did not have any video quirks, since the option is set in fdi/information/10freedesktop/99-video-quirk-default.fdi from hal-info. http://bugs.freedesktop.org/show_bug.cgi?id=25334 Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Victor Lowther <victor.lowther@gmail.com>