Bug 4297 - Sync pm-utils with Debian to fix bugs/improve battery savings
Summary: Sync pm-utils with Debian to fix bugs/improve battery savings
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH
Depends on:
Blocks:
 
Reported: 2012-01-27 14:52 CET by Frederik Himpe
Modified: 2012-10-16 20:01 CEST (History)
3 users (show)

See Also:
Source RPM: pm-utils
CVE:
Status comment:


Attachments

Description Frederik Himpe 2012-01-27 14:52:11 CET
You may want to sync Mageia's pm-utils package with the changes in Debian's package. They have some interesting patches, and did some good testing (with Ubuntu) of settings, which result in more efficient battery savings.

For example:
   * Add 26-inhibit-on-right-status.patch: Do not use the exit status of log
     rather the exit status of the hook thereby allowing inhibit to work.
     Thanks to Ariel Cornejo for the patch! (LP: #665651, Closes: #633147)
   * Add 01_xfs_buffer_arguments.patch: pm/power.d/xfs_buffer: Fix wrong
     argument ordering. Thanks to Andre Draszik for the patch!
     (LP: #645974)
   * debian/rules: Remove the journal-commit and readahead scripts. Recent
     measurements have shown that they do not save any power in different
     workloads on rotary disks, and in fact increase power usage on SSD.
     (fd.o #44627, LP: #900923) This also avoids bugs caused by the
     journal-commit script. (Closes: #625606, LP: #891688)
   * Add debian/power.d/{pci_devices,usb_bluetooth}: Set USB bluetooth to
     autosuspend and a safe subclass of PCI devices to low-power mode during
     powersafe mode. (fd.o #44672, LP: #911325)
   * Add debian/patches/03-fix-alpm-typo.patch: Fix typo in sata_alpm hook.
     (fd.o #44676, LP: #900930)
   * debian/rules: Stop install hal-cd-polling. hal has been obsolete for
     years, so don't waste cycles for checking for hal. (LP: #898564)
   * debian/rules: Stop installing sleep.d/49bluetooth, it is not necessary any
     more with current Linux kernels. (Closes: #623750)

Complete changelog: http://packages.debian.org/changelogs/pool/main/p/pm-utils/pm-utils_1.4.1-9/changelog

The Debian Patches and additional power.d files and other stuff can be found here:
http://ftp.de.debian.org/debian/pool/main/p/pm-utils/pm-utils_1.4.1-9.debian.tar.gz
Comment 1 Manuel Hiebel 2012-01-27 22:02:27 CET
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => PATCH
CC: (none) => pterjan

Comment 2 Marja Van Waes 2012-05-02 09:41:20 CEST
cc'ing blino, too, who committed pm-utils a lot in Mandriva

CC: (none) => mageia, marja11
Summary: Sync with Debian to fix bugs/improve battery savings => Sync pm-utils with Debian to fix bugs/improve battery savings

Comment 3 Marja Van Waes 2012-05-26 13:03:34 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 4 Marja Van Waes 2012-07-01 16:29:38 CEST
Since May 2nd, we have pm-utils-1.4.1-4.mga2

Please tell us whether that fixed the problem
Comment 5 Marja Van Waes 2012-10-16 20:01:48 CEST
(In reply to comment #4)
> Since May 2nd, we have pm-utils-1.4.1-4.mga2
> 
> Please tell us whether that fixed the problem

Over three months later, no reply, closing as OLD

Feel free to reopen if needed, and tell for which updated version(s) of Mageia and pm-utils this bug is still valid

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.