commit laptop-mode-tools for openSUSE:Factory
Hello community, here is the log from the commit of package laptop-mode-tools for openSUSE:Factory checked in at Fri Feb 26 01:08:31 CET 2010. -------- --- laptop-mode-tools/laptop-mode-tools.changes 2009-10-05 11:02:13.000000000 +0200 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-tools.changes 2010-02-25 02:10:57.000000000 +0100 @@ -1,0 +2,73 @@ +Thu Feb 25 02:02:05 CET 2010 - ro@suse.de + +- drop laptop-mode-1.49-moblin-disable-control-hd-powermgmt.patch + again which was just changin a setting from another patch + (laptop-mode-1.49_conf.diff). + upstream has CONTROL_HD_POWERMGMT="auto" now +- update to 1.53 + * Add global enable/disable switch for laptop-mode-tools + * Add scheduler power saving module for SMT processors. Thanks to John + Reilly. + * Add a new "Auto Modules" mode which enables all modules whitelisted as + auto with a single configuration setting, ENABLE_AUTO_MODULES. + * Add LM/NOLM option for Intel SATA Power Management + * Do a check before trying to write to the SuperHE Control File +- update to 1.52 + * Initialize DEBUG to 0 by default. THanks to Matthijs Kooijman for pointing + it out. + * Add an option to completely disable ethernet devices when on battery. + * Introduce hooks to enable debug mode for individual modules + * Use iwconfig to determine device type for iwlwifi devices also + * Collect the correct exit code for iwconfig execution. + * Use iwconfig in wireless-iwl-power. Thanks to Darren Hoo for spotting it + * Handle spaces in mount point names. Thanks to Louis Simard for the patch + * Clarify about Global Debug mode and Module Specific Debug mode. + * Fix incorrect variable reference in video-out module. Thanks to Hans Werner + for noticing that. +- update to 1.51 + * Add option to blacklist usb devices by their device id. + Thanks to ich@phuk.ath.cx for the patch + * Trigger timer change for power mgmt by doing a device open/close + The open/close operation can fail if the audio device is busy. + Since this failure is non-fatal (worst case is that the timer changes + don't get activated), we don't bother if it was successful or not. + * Add support for EeePC FSB Control. Thanks to James Rayner + * Update iwlwifi power modes. Thanks to Clemens Buchacher + See Debian BTS: #540639 + * Use the standard pm-hibernate script from pm-utils for hibernation + See Debian BTS: #541447 + * Check if wireless device is disabled before attempting to power configure it + Thanks to Clemens Buchacher. See Debian BTS: #541997 + * On speed change, an ethernet device can lose connectivity. Document that in + the config file +- update to 1.50 + * Ship pm-utils hooks in /usr/lib/ and not in /etc/pm/ + Distributions will always want to have customized settings in /etc + and default upstream settings in /usr/lib. See LP: #384875 + * Fix incorrect explanation of Intel HDA Power Savings. See Debian + BTS: #532733 + * Don't clutter screen with print messages. + * Add patch from Mulyadi Santosa that adds ability to lm-profiler to show + read/write frequency of each collected program. Thank you. + * Enhance usb-autosuspend module to be executed under conditions. Also explain + the weirdness of broken usb drivers. Fixes Debian Bug #535051 + * Do the test comparision of integeres using string operators. Fixes Debian + Bug #535650 + * Run pidof with the -x Script Mode switch. Thanks Matthijs Kooijman + * Disconnect descriptors when backgrounding a script. Thanks Matthijs Kooijman + * Add option to run in shell debug mode + * Add a spec file to generate an RPM package + +------------------------------------------------------------------- +Fri Dec 4 01:47:32 UTC 2009 - jlee@novell.com + +- Add laptop-mode-1.49-moblin-enable-intel-hda-powersave.patch for + enable audio power saving even using ac-power. + +------------------------------------------------------------------- +Thu Nov 19 14:59:37 UTC 2009 - jlee@novell.com + +- Add laptop-mode-1.49-moblin-disable-control-hd-powermgmt.patch to + disable the APM level setup to harddrive. (bug #545681) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- laptop-mode-1.49-fix-pm-utils-sleep-script.diff laptop-mode-1.49-install_sh.diff laptop-mode-1.49_conf.diff laptop-mode-tools_1.49.tar.gz New: ---- laptop-mode-1.53-fix-pm-utils-sleep-script.diff laptop-mode-1.53-install_sh.diff laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch laptop-mode-1.53_conf.diff laptop-mode-tools_1.53.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.zUcAnM/_old 2010-02-26 01:08:24.000000000 +0100 +++ /var/tmp/diff_new_pack.zUcAnM/_new 2010-02-26 01:08:24.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package laptop-mode-tools (Version 1.49) +# spec file for package laptop-mode-tools (Version 1.53) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,9 @@ Name: laptop-mode-tools -Version: 1.49 -Release: 2 -License: GPL v2 or later +Version: 1.53 +Release: 1 +License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Base Summary: The Laptop Mode Tools @@ -29,12 +29,13 @@ Source: %{name}_%{version}.tar.gz Source1: laptop-mode-tools.pm-utils-hook Source2: README.SUSE -Patch1: laptop-mode-1.49-install_sh.diff +Patch1: laptop-mode-1.53-install_sh.diff Patch2: laptop_mode-1.49.diff -Patch3: laptop-mode-1.49_conf.diff +Patch3: laptop-mode-1.53_conf.diff Patch4: laptop-mode-1.49-initscript.diff Patch5: laptop-mode-1.49-new-dirty-ratio-defaults.diff -Patch6: laptop-mode-1.49-fix-pm-utils-sleep-script.diff +Patch6: laptop-mode-1.53-fix-pm-utils-sleep-script.diff +Patch8: laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch BuildArch: noarch BuildRequires: pm-utils @@ -60,6 +61,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch8 -p1 cp %{S:2} . %build ++++++ laptop-mode-1.49-fix-pm-utils-sleep-script.diff -> laptop-mode-1.53-fix-pm-utils-sleep-script.diff ++++++ --- laptop-mode-tools/laptop-mode-1.49-fix-pm-utils-sleep-script.diff 2009-10-05 11:02:12.000000000 +0200 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-1.53-fix-pm-utils-sleep-script.diff 2010-02-25 02:10:55.000000000 +0100 @@ -1,18 +1,14 @@ Index: b/etc/pm/sleep.d/99laptop-mode -=================================================================== ---- a/etc/pm/sleep.d/99laptop-mode -+++ b/etc/pm/sleep.d/99laptop-mode -@@ -8,11 +8,12 @@ case "$1" in - ;; - thaw|resume) - # Make laptop mode tools forcibly re-apply the hardware settings - # that laptop mode tools applies. - if [ -e /usr/sbin/laptop_mode ] ; then -- /usr/sbin/laptop_mode auto force -+ # the "cat" is because laptop_mode seems to truncate the output file :( -+ /usr/sbin/laptop_mode auto force | cat - fi - ;; - *) exit $NA - ;; - esac +================================================================================ +--- laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/99laptop-mode ++++ laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/99laptop-mode +@@ -13,7 +13,8 @@ + # Make laptop mode tools forcibly re-apply the hardware settings + # that laptop mode tools applies. + if [ -e /usr/sbin/laptop_mode ] ; then +- /usr/sbin/laptop_mode auto force ++ # the "cat" is because laptop_mode seems to truncate the output file :( ++ /usr/sbin/laptop_mode auto force | cat + fi + ;; + *) exit $NA ++++++ laptop-mode-1.49-install_sh.diff -> laptop-mode-1.53-install_sh.diff ++++++ --- laptop-mode-tools/laptop-mode-1.49-install_sh.diff 2009-06-26 16:30:34.000000000 +0200 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-1.53-install_sh.diff 2010-02-25 02:10:56.000000000 +0100 @@ -1,28 +1,18 @@ Index: laptop-mode-tools_1.49/install.sh -=================================================================== ---- laptop-mode-tools_1.49.orig/install.sh -+++ laptop-mode-tools_1.49/install.sh -@@ -180,13 +180,14 @@ if ( ! $INSTALL -m 744 man/* "$DESTDIR/$ - fi - - +================================================================================ +--- laptop-mode-tools_1.53/install.sh ++++ laptop-mode-tools_1.53/install.sh +@@ -183,7 +183,8 @@ # Install pm-utils hook only if pm-utils config dir is present, or force the # install if we have a DESTDIR. --if [ -n "$DESTDIR" -o -d "$DESTDIR/etc/pm/sleep.d" ] ; then -- if ( ! $INSTALL -D -m 755 etc/pm/sleep.d/99laptop-mode "$DESTDIR/etc/pm/sleep.d" ) ; then -- echo "$0: Failed to install 99-laptop-mode into /etc/pm/sleep.d. Installation failed." -+if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then + if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then +- if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/99laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ) ; then + # I don't think that this is the first thing that needs to run after resume, so i prio'd it down -- seife -+ if ( ! $INSTALL -D -m 755 etc/pm/sleep.d/99laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/05laptop-mode" ) ; then -+ echo "$0: Failed to install 99-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed." ++ if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/99laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/05laptop-mode" ) ; then + echo "$0: Failed to install 99-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed." exit 36 fi - fi - - -@@ -274,13 +275,13 @@ if [ $APM_DONE -eq 0 -a $ACPI_DONE -eq 0 - echo "Install either acpid, apmd, pbbuttonsd or pmud (depending on what your laptop supports) and reinstall." - fi +@@ -276,9 +277,9 @@ if [ "$INIT_D" != "none" ] ; then if [ -d "$INIT_D" -o -n "$DESTDIR" ] ; then @@ -35,5 +25,3 @@ exit 16 fi if [ -f "$DESTDIR/etc/rcS.d/S99laptop_mode" ] ; then - # Old symlink. - rm "$DESTDIR/etc/rcS.d/S99laptop-mode" ++++++ laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch ++++++ Index: laptop-mode-tools_1.49/etc/laptop-mode/conf.d/intel-hda-powersave.conf ================================================================================ --- laptop-mode-tools_1.53/etc/laptop-mode/conf.d/intel-hda-powersave.conf +++ laptop-mode-tools_1.53/etc/laptop-mode/conf.d/intel-hda-powersave.conf @@ -20,12 +20,12 @@ # Control INTEL HDA audio chipset power? # Set to 0 to disable -CONTROL_INTEL_HDA_POWER="auto" +CONTROL_INTEL_HDA_POWER=1 # Handle power savings for Intel HDA under specific circumstances BATT_INTEL_HDA_POWERSAVE=1 -LM_AC_INTEL_HDA_POWERSAVE=0 -NOLM_AC_INTEL_HDA_POWERSAVE=0 +LM_AC_INTEL_HDA_POWERSAVE=1 +NOLM_AC_INTEL_HDA_POWERSAVE=1 # Number of seconds to wait before you want the device to time out INTEL_HDA_DEVICE_TIMEOUT=10 ++++++ laptop-mode-1.49_conf.diff -> laptop-mode-1.53_conf.diff ++++++ --- laptop-mode-tools/laptop-mode-1.49_conf.diff 2009-06-26 16:30:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-1.53_conf.diff 2010-02-25 02:10:56.000000000 +0100 @@ -1,8 +1,8 @@ Index: b/etc/laptop-mode/laptop-mode.conf -=================================================================== ---- a/etc/laptop-mode/laptop-mode.conf -+++ b/etc/laptop-mode/laptop-mode.conf -@@ -1,7 +1,9 @@ +================================================================================ +--- laptop-mode-tools_1.53/etc/laptop-mode/laptop-mode.conf ++++ laptop-mode-tools_1.53/etc/laptop-mode/laptop-mode.conf +@@ -1,5 +1,7 @@ ############################################################################### # +# SEE THE NOTES ON THE SUSE PACKAGE BELOW THIS SECTION! @@ -10,38 +10,28 @@ # Configuration for Laptop Mode Tools # ----------------------------------- # - # There is a "system" to the configuration setting names: - # CONTROL_something=0/1 Determines whether Laptop Mode Tools controls -@@ -34,12 +36,24 @@ - # Laptop Mode Tools modules have separate configuration files, that can be - # found in /etc/laptop-mode/conf.d. Please look through these configuration +@@ -36,6 +38,20 @@ # files as well, there are many useful power saving tools in there! # ############################################################################### -- -- -+# -+# NOTES FOR THE SUSE PACKAGE: -+# --------------------------- -+# -+# i patched the main laptop_mode script, so that it has two additional -+# parameters: "start" and "stop". If you call "laptop_mode start", then it -+# will force the "on battery" profile, if you call "laptop_mode stop" then it -+# will force the "on ac power" profile. -+# -+# If laptop-mode is enabled with "/etc/init.d/laptop-mode start", then -+# pm-utils will call "laptop_mode start", when it is called via the HAL -+# setLowPower method, and "laptop_mode stop" when this method is disabled. -+# ++# ++# NOTES FOR THE SUSE PACKAGE: ++# --------------------------- ++# ++# i patched the main laptop_mode script, so that it has two additional ++# parameters: "start" and "stop". If you call "laptop_mode start", then it ++# will force the "on battery" profile, if you call "laptop_mode stop" then it ++# will force the "on ac power" profile. ++# ++# If laptop-mode is enabled with "/etc/init.d/laptop-mode start", then ++# pm-utils will call "laptop_mode start", when it is called via the HAL ++# setLowPower method, and "laptop_mode stop" when this method is disabled. ++# +############################################################################### - ############################################################################### - # Configuration debugging - # ----------------------- - ############################################################################### -@@ -203,22 +217,22 @@ NOLM_READAHEAD=128 - # + ############################################################################### +@@ -248,7 +264,7 @@ # Should laptop mode tools add the "noatime" option to the mount options when # laptop mode is enabled? # @@ -50,10 +40,7 @@ # Should laptop use relatime instead of noatime? The "relatime" mount option has # more standards-compliant semantics, and allows more applications to work, - # while retaining a low level of atime updates (i.e., disk writes). - USE_RELATIME=1 - - +@@ -259,7 +275,7 @@ # # Should laptop mode tools control the hard drive idle timeout settings? # @@ -62,18 +49,7 @@ # - # Idle timeout values. (hdparm -S) - # Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds -@@ -230,17 +244,17 @@ NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 - - - # - # Should laptop mode tools control the hard drive power management settings? - # --CONTROL_HD_POWERMGMT=0 -+CONTROL_HD_POWERMGMT=1 - - +@@ -282,7 +298,7 @@ # # Power management for HD (hdparm -B values) # @@ -82,5 +58,3 @@ LM_AC_HD_POWERMGMT=254 NOLM_AC_HD_POWERMGMT=254 - - # ++++++ laptop-mode-tools_1.49.tar.gz -> laptop-mode-tools_1.53.tar.gz ++++++ ++++ 1871 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de