--- laptop-mode-tools-1.51.orig/README +++ laptop-mode-tools-1.51/README @@ -18,7 +18,9 @@ * To configure the laptop mode scripts, edit /etc/laptop-mode/laptop-mode.conf. -* The laptop mode FAQ can be found at http://samwel.tk/laptop_mode/faq. +* The laptop mode FAQ can be found at: + + http://samwel.tk/laptop_mode/faq * The revision history is included in the Documentation directory. --- laptop-mode-tools-1.51.orig/etc/init.d/laptop-mode +++ laptop-mode-tools-1.51/etc/init.d/laptop-mode @@ -6,63 +6,54 @@ # # config: /etc/laptop-mode/laptop-mode.conf +### BEGIN INIT INFO +# Provides: laptop-mode +# Should-Start: $all +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Enable laptop-mode-tools power management functions +# Description: Enable laptop-mode-tools power management functions +### END INIT INFO + + test -f /usr/sbin/laptop_mode || exit 0 -if [ -f /lib/lsb/init-functions ] ; then - . /lib/lsb/init-functions -else - log_success_msg() - { - logger -t LAPTOP-MODE -p daemon.info -- $* - echo "$*" - } - log_failure_msg() - { - logger -t LAPTOP-MODE -p daemon.notice -- $* - echo "$*" - } -fi +. /lib/lsb/init-functions # Enable laptop mode when the system is booted when running on battery. case $1 in start) + log_action_begin_msg "Enabling laptop mode" mkdir -p /var/run/laptop-mode-tools touch /var/run/laptop-mode-tools/enabled - if RESULT=`/usr/sbin/laptop_mode auto` ; then - log_success_msg "$RESULT" - else - log_failure_msg "$RESULT" - fi + RESULT=`/usr/sbin/laptop_mode init auto` + log_action_end_msg $? "$RESULT" ;; restart|reload|force-reload) # Full restart: first stop laptop mode completely (to restore default mount options etc.) + log_action_begin_msg "Disabling laptop mode" mkdir -p /var/run/laptop-mode-tools - rm -f /var/run/laptop-mode-tools/enabled - if RESULT=`/usr/sbin/laptop_mode stop` ; then - log_success_msg "$RESULT" - else - log_failure_msg "$RESULT" - fi + rm -f /var/run/laptop-mode-tools/enabled + RESULT=`/usr/sbin/laptop_mode init stop` + log_action_end_msg $? "$RESULT" # Now remove files containing stored status, re-enable, and start it up again. - rm -f /var/run/laptop-mode-tools/* + log_action_begin_msg "Enabling laptop mode" + rm -f /var/run/laptop-mode-tools/* touch /var/run/laptop-mode-tools/enabled - if RESULT=`/usr/sbin/laptop_mode auto force` ; then - log_success_msg "$RESULT" - else - log_failure_msg "$RESULT" - fi + RESULT=`/usr/sbin/laptop_mode init auto force` + log_action_end_msg $? "$RESULT" ;; stop) + log_action_begin_msg "Disabling laptop mode" rm -f /var/run/laptop-mode-tools/enabled - if RESULT=`/usr/sbin/laptop_mode stop` ; then - log_success_msg "$RESULT" - else - log_failure_msg "$RESULT" - fi + RESULT=`/usr/sbin/laptop_mode init stop` + log_action_end_msg $? "$RESULT" ;; status) --- laptop-mode-tools-1.51.orig/etc/power/scripts.d/laptop-mode +++ laptop-mode-tools-1.51/etc/power/scripts.d/laptop-mode @@ -28,7 +28,7 @@ $LMODE "stop" ;; resume) - /etc/init.d/laptop-mode restart + $LMODE "auto" "force" ;; esac elif [ -x logger ]; then --- laptop-mode-tools-1.51.orig/debian/laptop-mode-tools.postinst +++ laptop-mode-tools-1.51/debian/laptop-mode-tools.postinst @@ -0,0 +1,70 @@ +#! /bin/sh +# postinst script for laptop-mode-tools +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + acpi_pid=`pidof acpid || echo 0` + if [ ! -z $acpi_pid -a $acpi_pid != 0 ]; then + if [ -x /etc/init.d/acpid ]; then + invoke-rc.d acpid force-reload || true + fi + fi + + apm_pid=`pidof apmd || echo 0` + if [ ! -z $apm_pid -a $apm_pid != 0 ]; then + if [ -x /etc/init.d/apmd ]; then + invoke-rc.d apmd force-reload || true + fi + fi + + pbbuttonsd_pid=`pidof pbbuttonsd || echo 0` + if [ ! -z $pbbuttonsd_pid -a $pbbuttonsd_pid != 0 ]; then + if [ -x /etc/init.d/pbbuttonsd ]; then + invoke-rc.d pbbuttonsd force-reload || true + fi + fi + + pmud_pid=`pidof pmud || echo 0` + if [ ! -z $pmud_pid -a $pmud_pid != 0 ]; then + if [ -x /etc/init.d/pmud ]; then + invoke-rc.d pmud force-reload || true + fi + fi + + ;; + abort-upgrade|abort-remove|abort-deconfigure|triggered) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- laptop-mode-tools-1.51.orig/debian/control +++ laptop-mode-tools-1.51/debian/control @@ -0,0 +1,30 @@ +Source: laptop-mode-tools +Section: utils +Priority: optional +Maintainer: Ritesh Raj Sarraf +Homepage: http://www.samwel.tk/laptop_mode/ +Uploaders: Bart Samwel +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 5) +Standards-Version: 3.8.3 + +Package: laptop-mode-tools +Architecture: all +Depends: lsb-base (>= 3.0-10), util-linux (>= 2.13), psmisc +Recommends: acpid | apmd | pbbuttonsd | pmud, hdparm, sdparm, hal, ethtool, net-tools, wireless-tools, pm-utils +Conflicts: noflushd +Description: Tools for Power Savings based on battery/AC status + Laptop mode is a Linux kernel feature that allows your laptop to save + considerable power, by allowing the hard drive to spin down for longer + periods of time. This package contains the userland scripts that are + needed to enable laptop mode. + . + It includes support for automatically enabling laptop mode when the + computer is working on batteries. It also supports various other power + management features, such as starting and stopping daemons depending on + power mode, automatically hibernating if battery levels are too low, and + adjusting terminal blanking and X11 screen blanking + . + laptop-mode-tools uses the Linux kernel's Laptop Mode feature and thus + is also used on Desktops and Servers to conserve power + --- laptop-mode-tools-1.51.orig/debian/watch +++ laptop-mode-tools-1.51/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://samwel.tk/laptop_mode/packages/tarball \ +http://samwel.tk/laptop_mode/tools/downloads/laptop-mode-tools_(.*)\.tar\.gz --- laptop-mode-tools-1.51.orig/debian/dirs +++ laptop-mode-tools-1.51/debian/dirs @@ -0,0 +1,2 @@ +usr/sbin +usr/share/laptop-mode-tools/modules --- laptop-mode-tools-1.51.orig/debian/laptop-mode-tools.postinst.checkacpiorapm +++ laptop-mode-tools-1.51/debian/laptop-mode-tools.postinst.checkacpiorapm @@ -0,0 +1,57 @@ +#! /bin/sh + +# Watch out: we also check for the nonexistence of /proc/pmu because +# some kernel versions emulate /proc/apm for PMU hardware. +if [ ! -f /proc/apm -o -d /proc/pmu ] ; then + APM_FOUND=0 +elif [ ! -f /usr/sbin/apmd] ; then + echo APM support found in the kernel but apmd is not installed. Laptop mode + echo will NOT be enabled automatically using APM. + APM_FOUND=1 +else + APM_FOUND=1 +fi + +if [ ! -d /proc/acpi/ac_adapter ] ; then + ACPI_FOUND=0 +elif [ ! -f /usr/sbin/acpid ] ; then + echo ACPI support found in the kernel, but acpid is not installed. Laptop mode + echo will NOT be enabled automatically using ACPI. + ACPI_FOUND=1 +else + ACPI_FOUND=1 +fi + +if [ ! -d /proc/pmu ] ; then + PMU_FOUND=0 +elif [ ! -f /sbin/pmud -a ! -f /sbin/pbbuttonsd ] ; then + echo PMU support found in the kernel, but neither pmud nor pbbuttonsd is + echo installed. Laptop mode will NOT be enabled automatically. If you want + echo to start laptop mode automatically, install either pmud or pbbuttonsd, + echo and then *manually* edit /etc/power/pwrctl-local to call + echo "/usr/sbin/laptop_mode auto". + PMU_FOUND=1 +else + PMU_FOUND=1 +fi + +if [ $PMU_FOUND -ne 0 -a -f /etc/apm/event.d/laptop-mode ] ; then + # This is a HACK. We install the apm thing always but simply remove + # it afterwards. I haven't found out how to make dpkg install these + # things conditionally (like the install.sh does) unless I take them + # out of the package and install them manually in the postinst. :( + rm /etc/apm/event.d/laptop-mode +fi + +if [ $APM_FOUND -eq 0 -a $ACPI_FOUND -eq 0 -a $PMU_FOUND=0 ] ; then + echo "Warning: No ACPI, APM or PMU support was found in the running kernel. To" + echo "be able to start laptop mode automatically when running on battery, you" + echo "must recompile your kernel with support for ACPI/APM/PMU (depending on" + echo "what your computer supports). It is possible that your computer supports" + echo "none of these. If this is the case, then you must control laptop mode" + echo "manually, using the laptop_mode command, or you can enable the " + echo "ENABLE_LAPTOP_MODE_ON_AC option in the configuration file" + echo "/etc/laptop-mode/laptop-mode.conf." +fi + +exit 0 --- laptop-mode-tools-1.51.orig/debian/copyright +++ laptop-mode-tools-1.51/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Bart Samwel on +Thu, 29 Jul 2004 01:01:32 +0200. + +The upstream author is Bart Samwel, who has also done the debianization. + +The website for the upstream package (including debianization) is + +http://www.samwel.tk/laptop_mode/ + +Copyright (c) 2004 by Bart Samwel, Kiko Piris, Micha Feigin, Andrew Morton, +Herve Eychenne, Dax Kelson, Jan Topinski + +License: + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. --- laptop-mode-tools-1.51.orig/debian/README.source +++ laptop-mode-tools-1.51/debian/README.source @@ -0,0 +1,5 @@ +The orig tarball has been downloaded from: +http://samwel.tk/laptop_mode/packages/tarball + +debian/rules has a get-orig-source target which +will fetch the tarball from the upstream page. --- laptop-mode-tools-1.51.orig/debian/rules +++ laptop-mode-tools-1.51/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Based on a sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# Modifications Copyright 2008 by Bart Samwel + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') +get-orig-source: + uscan --force-download --rename --repack\ + --download-version=$(DEB_UPSTREAM_VERSION) --destdir=. + +configure: configure-stamp +configure-stamp: + dh_testdir + + # Nothing to do. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + cp etc/init.d/laptop-mode debian/laptop-mode-tools.laptop-mode.init + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f debian/laptop-mode-tools.laptop-mode.init + rm -f build-stamp configure-stamp + dh_clean + +DESTDIR=$(CURDIR)/debian/laptop-mode-tools + +INSTALL=install -o root -g root + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/laptop-mode-tools. + install -m755 -d $(DESTDIR)/etc/laptop-mode + install -m755 -d $(DESTDIR)/etc/acpi/events + install -m755 -d $(DESTDIR)/etc/acpi/actions + install -m755 -d $(DESTDIR)/usr/sbin + install -m755 -d $(DESTDIR)/usr/share/laptop-mode-tools/modules + install -m755 -d $(DESTDIR)/usr/share/laptop-mode-tools/module-helpers + install -m755 -d $(DESTDIR)/etc/apm/event.d + install -m755 -d $(DESTDIR)/etc/power/scripts.d + install -m755 -d $(DESTDIR)/etc/power/event.d + install -m755 -d $(DESTDIR)/usr/lib/pm-utils/sleep.d + install -m755 -d $(DESTDIR)/etc/laptop-mode/batt-start + install -m755 -d $(DESTDIR)/etc/laptop-mode/batt-stop + install -m755 -d $(DESTDIR)/etc/laptop-mode/lm-ac-start + install -m755 -d $(DESTDIR)/etc/laptop-mode/lm-ac-stop + install -m755 -d $(DESTDIR)/etc/laptop-mode/nolm-ac-start + install -m755 -d $(DESTDIR)/etc/laptop-mode/nolm-ac-stop + install -m755 -d $(DESTDIR)/etc/laptop-mode/conf.d + install -m755 -d $(DESTDIR)/etc/laptop-mode/modules + install -m644 etc/laptop-mode/laptop-mode.conf $(DESTDIR)/etc/laptop-mode/laptop-mode.conf + install -m644 etc/laptop-mode/conf.d/* $(DESTDIR)/etc/laptop-mode/conf.d + install -m755 etc/acpi/actions/* $(DESTDIR)/etc/acpi/actions + install -m644 etc/acpi/events/* $(DESTDIR)/etc/acpi/events + install -m755 etc/apm/event.d/* $(DESTDIR)/etc/apm/event.d + install -m755 etc/power/scripts.d/* $(DESTDIR)/etc/power/scripts.d + install -m755 etc/power/event.d/* $(DESTDIR)/etc/power/event.d + install -m755 usr/lib/pm-utils/sleep.d/* $(DESTDIR)/usr/lib/pm-utils/sleep.d + install -m755 usr/sbin/laptop_mode $(DESTDIR)/usr/sbin + install -m755 usr/sbin/lm-syslog-setup $(DESTDIR)/usr/sbin + install -m755 usr/sbin/lm-profiler $(DESTDIR)/usr/sbin + install -m755 usr/share/laptop-mode-tools/modules/* $(DESTDIR)/usr/share/laptop-mode-tools/modules + install -m755 usr/share/laptop-mode-tools/module-helpers/* $(DESTDIR)/usr/share/laptop-mode-tools/module-helpers + +# Build architecture-independent files here. +binary-arch: build install + +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs Documentation/revision-history.txt + dh_installdocs + dh_installinit --name laptop-mode -- defaults 99 + dh_installman man/* + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source --- laptop-mode-tools-1.51.orig/debian/compat +++ laptop-mode-tools-1.51/debian/compat @@ -0,0 +1 @@ +5 --- laptop-mode-tools-1.51.orig/debian/changelog +++ laptop-mode-tools-1.51/debian/changelog @@ -0,0 +1,561 @@ +laptop-mode-tools (1.51-1) unstable; urgency=low + + * New Upstream Release + + 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 + (Closes: #540639) + + Use the standard pm-hibernate script from pm-utils for hibernation + (Closes: #541447) + + Check if wireless device is disabled before attempting to power + configure it. Thanks to Clemens Buchacher. (Closes: #541997) + + On speed change, an ethernet device can lose connectivity. Document + that in the config file. + * debian/watch + + Scan for the correct link in watch file. + * debian/control + + Add Recommends for pm-utils. Closes: #541447 + + Format the description + + Update Standards Version to 3.8.3 (No changes required) + * debian/rules + + Add a get-orig-source target. It can fetch the relevant source tarball + parsing the changelog + * Change one line description since laptop-mode-tools does more than what + the old description had + * Add a README.source file explaining on how to get the source + + -- Ritesh Raj Sarraf Wed, 02 Sep 2009 15:31:19 +0530 + +laptop-mode-tools (1.50-1) unstable; urgency=low + + * New Upstream Release 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. Closes: #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. Closes: # 535051 + + Do the test comparision of integeres using string operators. + Closes: #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 + * Update Standards Version to 3.8.2 (No Changes Required) + + -- Ritesh Raj Sarraf Mon, 27 Jul 2009 16:48:56 +0530 + +laptop-mode-tools (1.49-1) unstable; urgency=low + + * New Upstream Release 1.49: + + Fix syntax error in laptop_mode. Closes: #528835. + + New feature to log messages to syslog. LP: #370005. + + Improved Intel HDA Powersaving module. Can now be enabled in + different (BATT,LM,NOLM) modes. + + Reload Power Management Daemons during installation. Thanks to Wido + for pointing out the problem. + + Update runlevel priority to 99 to ensure laptop-mode is started late + enough while its dependency daemon are starting. LP: #369807 + + Put a proper check for Hal Polling. Thanks Vincent Panel. + + Fix typo error in Wake-On-Lan module. + + Add check on iwconfig to determine an ipw based wireless device. + Fixes: LP #369113 + * Handle Power Management Daemons to restart during package + post-installation. + * debian/control + + Add wireless-tools under Recommends since laptop-mode-tools depends on + it for the wireless powersaving module. + + Add Bart Samwel to Uploaders. + * debian/rules + + Cleanup some commented lines. + + -- Ritesh Raj Sarraf Thu, 04 Jun 2009 13:28:58 +0530 + +laptop-mode-tools (1.48-1) unstable; urgency=low + + * New upstream release 1.48: + + Fix udevinfo call. Newer udev has deprecated the usage of + udevinfo in favor of 'udevadm info' Closes: #522043. + + Fix ethernet throttling. Throttle speed to a user specified + speed or probe speed from the device Closes: #519426. + + Restore ethernet speed to user specified speed or MAX speed + when switching back to AC. + + Fix manpage error. + * Build-Depend on debhelper version 5. + * Add Homepage field. + * Bump Standards Version to 3.8.1 + * Take maintenance from Bart Samwel + * Recommend net-tools for ethernet speed detection. + + -- Ritesh Raj Sarraf Sat, 25 Apr 2009 18:01:51 +0530 + +laptop-mode-tools (1.47-1) unstable; urgency=low + + * New upstream release 1.47: + * Fix typo in usb-autosuspend module. Closes: #513078. + * Support ext4 file system. The mount options on these file systems + * are now adapted for laptop mode as well. + + -- Bart Samwel Mon, 26 Jan 2009 20:53:58 +0100 + +laptop-mode-tools (1.46-1) unstable; urgency=low + + * New upstream version 1.46: + * Fix inverted LM_VERBOSE. Closes: #510294. + * Improve error handling in lcd-brightness module. Closes: #507640. + * Add usb-autosuspend module. Closes: #506839. + * Improve hal-polling defaults and comments. Closes: #495364. + * Add intel-hda-powersave module for Intel HDA audio chipsets. + * Prefer PMU over APM if available, to avoid the delay involved in + the APM emulation layer. + * Support iwlagn driver which replaced iwl4965 in Linux 2.6.27. + Closes: #502022. + * Set sched_mc_power_savings to 2 instead of 1, for more power savings. + * Integrate with pm-utils. Closes: #481766. + * Improve reliability of dpms-standby module display handling. + * Add battery-level-polling module, for systems without reliable ACPI + battery events. Closes: #495208. + * Recommend ethtool. Closes: #497343. + * Depend on psmisc. Closes: #497345. + * Fix lintian warning on pbbuttonsd integration. + * Set proper permissions on directories created for laptop mode tools; + relax permissions on installed files so that others can read them. + + -- Bart Samwel Sun, 25 Jan 2009 23:05:09 +0100 + +laptop-mode-tools (1.45-1) unstable; urgency=low + + * New upstream version 1.45. + * New upstream version 1.44: + * Strip non-numeric suffixes from kernel minor version number. + Closes: #488950. + * Remove spurious error message on machines that don't have + /sys/class/power_supply. Closes: #490167. + * Fix incorrect path to laptop-mode.conf in the laptop-mode.conf(8) + manual page. Closes: #488261. + * Add sched-mc-power-savings module. Closes: #490587. + + -- Bart Samwel Tue, 15 Jul 2008 12:47:01 +0200 + +laptop-mode-tools (1.43-1) unstable; urgency=low + + * New upstream version 1.43: + * Don't use temp file in init script, that doesn't work if /tmp is + mounted readonly. Closes: #480946. + * Fix IPW2100 power management so that power management mode stays + enabled even on AC. If we don't do this, we can't control the + transmit power at all because we let the chipset handle it. + Closes: #481180. + * Replace *_ENABLE_HAL_POLLING settings by *_DISABLE_HAL_POLLING. + More intuitive that way. The old settings were also interpreted + in reverse. The backward compatibility layer actually *fixes that* + because it was a bug, so behaviour will change for 1.42 + installations. Closes: #482307. + * Get rid of bashism in laptop-mode module. + * Put URL on separate line in README. Closes: #486467. + * Set DM-Upload-Allowed field to yes. + * Fix bashism in lm-profiler script. Closes: #480606 + + -- Bart Samwel Sun, 22 Jun 2008 16:34:17 +0200 + +laptop-mode-tools (1.42-1) unstable; urgency=low + + * New upstream version 1.42: + * Remove "echo -e" bashism in lm-profiler. Closes: #480606. + * Allow different names for AC adapter in /sys/class/power_supply. + Closes: #478937. + * Add "hal-polling" module to control HAL polling of CD/DVD drives. (Taken + from powertop tips.) Closes: #438782. + * Add "bluetooth" module to disable bluetooth in battery mode. (Taken from + powertop tips.) + + -- Bart Samwel Mon, 12 May 2008 15:05:00 +0200 + +laptop-mode-tools (1.41-1) unstable; urgency=high + + * New upstream version 1.41: + * Support energy_* in /sys/class/power_supply interface. Closes: #477118. + * Rename module "core" to "laptop-mode". Closes: #477310. + * Add missing assignment to ACTIVATE_WITH_POSSIBLE_DATA_LOSS. + Closes: #477172. + + -- Bart Samwel Tue, 22 Apr 2008 22:10:00 +0200 + +laptop-mode-tools (1.40-1) unstable; urgency=high + + * Upgrade standards version to 3.7.3. + * Add hal to recommends due to upstream changes. + * New upstream version 1.40: + * Add support for getting lid button state from HAL instead of from + /proc/acpi. + * Support /sys/class/power_supply interface to determine battery levels. + Closes: #475926 + * Add generic support for config file swapping. Closes: #475304 + * Add module for iwlwifi power management. Closes: #475407 + * Fully modularized configuration. + + -- Bart Samwel Tue, 15 Apr 2008 18:35:00 +0200 + +laptop-mode-tools (1.36-1) unstable; urgency=low + + * New upstream version 1.36. + * Init script LSB header: depend on remote_fs instead of local_fs. + Closes: #468657. + * Remove ^M from /etc/init.d/laptop-mode. Closes: #459422. + * Change package description to say "X11" instead of "X Windows". + Closes: #464066. + * Get rid of empty /usr/bin directory in package. (lintian warning) + + -- Bart Samwel Sun, 2 Mar 2008 17:15:00 +0200 + +laptop-mode-tools (1.35-1) unstable; urgency=low + + * New upstream version 1.35. + * Listen to more ACPI events for AC adapters. Closes: #448101. + * Better error messages when laptop_mode status is called by a non-root user. + Closes: #428162. + * Clean up temp file from init script, and properly quote messages so that + they are displayed in full. Closes: #442321, 427292. + * Set READAHEAD setting correctly on Linux 2.4. Closes: #355492. + * Set HD power management default values to 254 instead of 255. + Closes: #451589. + * Update homepage location in debian/copyright. Closes: #445455. + * Fix bug in manual page for lm-profiler.conf. Closes: #450431. + * Don't adjust LCD brightness to the same value as before. Closes: #440115. + * Modules moved to /usr/share/laptop-mode-tools/modules to improve FHS + compliance. + + -- Bart Samwel Sun, 18 Nov 2007 16:33:00 +0200 + +laptop-mode-tools (1.34-1) unstable; urgency=low + + * New upstream version 1.34. + * (Closes: #425387) Ignore_nice_load now set also for governors other than + ondemand. + * (Closes: #425957) Got rid of error message when CPU frequency governor is + not compiled as a module. + * (Closes: #425551) Support for Intel IPW3945, IPW2200, IPW2100 wireless + power setting. + * Modular configuration file in /etc/laptop-mode/conf.d. + * First version of a modularized architecture. + * Support for custom modules in /etc/laptop-mode/modules. + + -- Bart Samwel Mon, 28 May 2007 17:15:00 +0100 + +laptop-mode-tools (1.33-1) unstable; urgency=low + + * New upstream version 1.33. + * (Closes: #394557) PARTITIONS configuration setting now supports wildcards + (thanks to Mikko Rapeli). + * (Closes: #398179) When using pbbuttonsd, laptop-mode is now automatically + reinitialized on resume. + * (Closes: #389218) CPU frequency settings are now applied to all cores, not + just the first one. (This was actually already fixed in 1.32, this + changelog entry is for the record.) + * (Closes: #423853) Laptop mode init script sequence number increased, so + that *-stop and *-start scripts are done after all other init scripts have + completed. + * (Closes: #416445) A new option allows for controlling the ignore_nice_load + setting of the ondemand and conservative CPU frequency governors. + * Backported Ubuntu's diff that supports the acpi-support package. + + -- Bart Samwel Sat, 19 May 2007 20:00:00 +0100 + +laptop-mode-tools (1.32-1) unstable; urgency=low + + * New upstream version 1.32. + * (Closes: #366220) Modprobe frequency governor before using it. + * (Closes: #370118) Correctly restore mount options. + * (Closes: #384899) Added LSB logging for init script. Added dependency to lsb-base. + + -- Bart Samwel Fri, 6 Oct 2006 12:00:00 +0200 + +laptop-mode-tools (1.31-1) unstable; urgency=low + + * New upstream version 1.31. + * (Closes: #354751) Depended on gawk, now works with any awk. + * (Closes: #356553) Add /dev/mapper/* to default partitions list. + * (Closes: #362261) Strip ^M from various files. + + -- Bart Samwel Sun, 17 Apr 2006 03:00:00 +0200 + +laptop-mode-tools (1.30-1) unstable; urgency=low + + * New upstream version 1.30. + * Included FAQ and revision history as text documentation as well. + * (Closes: #353567) Writecache was disabled when laptop mode was + disabled. Thanks to Chung-chieh Shan (AKA Ken) for the patch. + + -- Bart Samwel Thu, 23 Feb 2006 19:20:00 +0200 + +laptop-mode-tools (1.27-1) unstable; urgency=low + + * New upstream version 1.27. + * Additional fixes for #350518 and #351351. + * (Closes: #353028) In laptop-mode.conf, the fastest processor speed + was called "highest" while it should have been "fastest". + * (Closes: #351597) Fixed incorrect references to "X-Windows". Not in + the revision history because that is history, and history can't be + changed. :-) + * (Closes: #353027, #352647) Data loss sensitive features not disabled + when battery reports a discharge rate. + * Included FAQ and revision history as documentation. + + -- Bart Samwel Sat, 18 Feb 2006 12:45:00 +0200 + +laptop-mode-tools (1.23-1) unstable; urgency=low + + * New upstream version 1.23. + * (Closes: #350518) Fixed auto-hibernation. + * (Closes: #350520) Cleared up relationship between CONTROL_CPU_FREQUENCY + and the CPU governor settings in the laptop-mode.conf manpage. + * (Closes: #350983) Fixed media detection code that uses udevinfo. + * (Closes: #351351) Fixed handling of double battery slots. + + -- Bart Samwel Sat, 04 Feb 2006 13:30:00 +0200 + +laptop-mode-tools (1.22-1) unstable; urgency=low + + * New upstream version 1.22. + * (Closes: #350278) Fixed typo that broke terminal powerdown control. + * (Closes: #350280) Create batt-start/stop etc. config directories + in proper place (/etc/laptop-mode) instead of below the root. + + -- Bart Samwel Sat, 28 Jan 2006 16:45:00 +0200 + +laptop-mode-tools (1.21-1) unstable; urgency=low + + * New upstream version 1.21. + * Fixed some installation issues. + * Fixed package description. + * Fixed kernel version detection. + * Restart service on upgrade. + + -- Bart Samwel Thu, 26 Jan 2006 14:40:00 +0200 + +laptop-mode-tools (1.20-1) unstable; urgency=low + + * New upstream version 1.20. + * (Closes: #345417) When stopping laptop-mode-tools, the syslog.conf is + always restored as a normal file. Only when the laptop-mode service is + started is the syslog.conf replaced by a link (of course only when + CONTROL_SYSLOG_CONF is enabled). + * (Closes: #341057) Typo fixed. + * (Closes: #348923) Laptop mode's output no longer truncates acpid's log + file. More of a bug in acpid, but it's nice to have it fixed. + * (Closes: #341322) Modified BIT FAT WARNING to indicate solution better. + * (Closes: #343967) Incorporated patch that should make DPMS standby + control work properly. + * (Closes: #345521) Fixed incorrect path in log message. + * (Closes: #345523) Fixed typo in config Shoudl -> Should. + * (Closes: #345808) Default for CONTROL_NOATIME set to 0. + * Create batt-start/stop, lm-ac-start/stop and nolm-ac-start/stop + directories at install time. + * Adjusted package description so that newer features are also mentioned. + * Support for sdparm (SCSI drives) added. + * Added dependency on sdparm. + * Removed dependency on powermgmt-base, as the package doesn't make use of + on_ac_power anymore. + + -- Bart Samwel Wed, 25 Jan 2006 16:50:00 +0200 + +laptop-mode-tools (1.11-1) unstable; urgency=low + + * New upstream version 1.11. + * (Closes: #328118) Unset VERBOSE before starting. + * (Closes: #328432) Check if block device is block device before + treating it as such. + * (Closes: #335492, #326433) Check if /var/run/laptop-mode-nolm-mount-opts + exists before using it. + * (Closes: #325186) Change default for CONTROL_HD_POWERMGMT to 0, because + it causes system crashes on some hardware. + * (Closes: #328028) Check if hdparm is installed before using it. + * (Closes: #324457) Fit config file in 80-character screen. + * (Closes: #327028) Check whether requested state matches old state, + and do nothing if so. + * (Closes: #336294) Send error output of hdparm to /dev/null. + * (Closes: #323623) CPU frequency governor and minimum frequency control. + * (Closes: #324137) Add lm-profiler, accompanying config file + lm-profiler.conf, and several subdirectories to /etc/laptop-mode for + controlling daemons. + + -- Bart Samwel Sat, 29 Oct 2005 16:40:00 +0200 + +laptop-mode-tools (1.10-1) unstable; urgency=low + + * New upstream version 1.10. + * (Closes: #321877) Typo fixed. + * (Closes: #323019) Default for HD powermgmt NOLM was wrong. + * (Closes: #322867) Verbose output was incorrectly enabled by default. + + -- Bart Samwel Sun, 14 Aug 2005 12:46:00 +0200 + +laptop-mode-tools (1.09-1) unstable; urgency=low + + * New upstream version 1.09. + * Closing a number of bugs that ought to have been closed by + 1.06 which was never uploaded. + * (Closes: #274836) Disables write caches by default when laptop mode is + enabled. + * (Closes: #315451) Support for fallbacks in file system types, e.g. + "ext3,ext2". + * (Closes: #317554) apmd AND acpid dependency replaced by apmd OR acpid. + * (Closes: #322144) init script output not sent to /dev/null anymore. + + -- Bart Samwel Tue, 09 Aug 2005 21:22:00 +0200 + +laptop-mode-tools (1.08-1) unstable; urgency=low + + * New upstream version 1.08. + + -- Bart Samwel Thu, 04 Aug 2005 15:43:00 +0200 + +laptop-mode-tools (1.07-1) unstable; urgency=low + + * New upstream version 1.07. + * Fixes breakage caused by 1.06 release. + + -- Bart Samwel Fri, 29 Jul 2005 19:18:00 +0200 + +laptop-mode-tools (1.06-1) unstable; urgency=low + + * New upstream version 1.06. + * (Closes: #274836) Disables write caches by default when laptop mode is + enabled. + * (Closes: #315451) Support for fallbacks in file system types, e.g. + "ext3,ext2". + * (Closes: #317554) apmd AND acpid dependency replaced by apmd OR acpid. + + -- Bart Samwel Thu, 28 Jul 2005 13:07:00 +0200 + +laptop-mode-tools (1.05-1) unstable; urgency=low + + * New upstream version 1.05. + * (Closes: #294064) No longer fails when ACPI ac_adapter did not have a + power state. + * (Closes: #271362) All power management daemons are now Recommended, as + a result of the addition of integration with pbbuttonsd and pmud. + * (Closes: #290441) Restart acpid after installing / uninstalling. + * (Closes: #291594) Integration with pbbuttonsd has changed, please + reopen bug if the problem persists. + * (Closes: #302550, #302571, #273386) Native pbbuttonsd and pmud integration. + * (Closes: #282291) READAHEAD default is now 3072 or 3MB. + * (Closes: #288128) Typos in config file fixed. + + -- Bart Samwel Sun, 10 Apr 2005 17:00:00 +0200 + +laptop-mode-tools (1.04-1) unstable; urgency=medium + + * New upstream version 1.04. + * (Closes: #278673) Fix PMU power detection logic. + * (Closes: #274383) Support / in mount options. + * (Closes: #279051, #279053) General manpage cleanup. + * (Closes: #278960) Add syslogd config switching support (no manpage yet, + see config file and run /usr/sbin/lm-syslog-setup). + + -- Bart Samwel Tue, 9 Nov 2004 23:46:00 +0200 + +laptop-mode-tools (1.03-1) unstable; urgency=low + + * New upstream version 1.03. + * (Closes: #278456) Works on APM again. Thanks Chung-chieh Shan! + * (Closes: #278145) This bug was already resolved by 1.01, by the + AC_HD_WITH_LM/AC_HD_WITHOUT_LM split. + * (Closes: #278144) Fixed the incorrect description of a default + in the config file. + + -- Bart Samwel Wed, 27 Oct 2004 08:38:00 +0200 + +laptop-mode-tools (1.01-2) unstable; urgency=low + + * Re-upload, this time without mistakenly overriding the maintainer + field, so that bugs are properly closed. + + -- Chris Hanson Tue, 26 Oct 2004 00:13:18 -0400 + +laptop-mode-tools (1.01-1) unstable; urgency=low + + * New upstream version 1.01. + * (Closes: #270501) ACPI_WITHOUT_AC_EVENTS calls other script with correct + path now. + * (Closes: #271127) Added dependency on hdparm. + * (Closes: #273104) -B option made configurable using new configuration + settings BATT_HDPARM_POWERMGMT, AC_HDPARM_POWERMGMT_WITH_LM and + AC_HDPARM_POWERMGMT_WITHOUT_LM. Also, switched the order in which -B + and -S options are applied, so that the -S option always overrules any + effect -B has on the -S setting. -B can also be disabled using the + DO_HDPARM_POWERMGMT option. + * (Closes: #272912) Updated config file and manual page with correct + default values. + + -- Bart Samwel Sun, 3 Oct 2004 14:42:00 +0200 + +laptop-mode-tools (1.00-1) unstable; urgency=low + + * New upstream version 1.00. + * (Closes: #267043) Configuration flag ACPI_WITHOUT_AC_EVENTS added. + * (Closes: #269667) /var/run/laptop-mode-enabled controls laptop mode, so + that it is never started when /etc/init.d/laptop-mode has been stopped. + + -- Bart Samwel Wed, 18 Aug 2004 20:44:00 +0200 + +laptop-mode-tools (0.99-2) unstable; urgency=low + + * Included changelog entries to close bugs in correct format. + * Added powermgmt-base to dependencies. + * Removed unneeded dependencies. + * (Closes: #266706) DO_CPU is no more ignored. + * (Closes: #266512) on_ac_power is now used to detect power source. + * (Closes: #266643) Fixed division by 0 in lm_battery.sh. + + -- Bart Samwel Wed, 18 Aug 2004 20:44:00 +0200 + +laptop-mode-tools (0.99-1) unstable; urgency=low + + * New upstream version 0.99. + * Fixes #266706. + + -- Bart Samwel Wed, 18 Aug 2004 20:44:00 +0200 + +laptop-mode-tools (0.98-1) unstable; urgency=low + + * New upstream version 0.98. + * Fixes #266512 and #266643. + + -- Bart Samwel Wed, 18 Aug 2004 20:44:00 +0200 + +laptop-mode-tools (0.97-1) unstable; urgency=low + + * New upstream version 0.97. + + -- Bart Samwel Sat, 13 Aug 2004 14:06:00 +0200 + +laptop-mode-tools (0.95-1) unstable; urgency=low + + * Move Debian stuff out of upstream into separate diff. This changelog + will only report the Debian-related fixes from now on. + + -- Bart Samwel Sat, 31 Jul 2004 17:05:00 +0200 + +laptop-mode-tools (0.94-2) unstable; urgency=low + + * Fix feedback from lintian. + + -- Bart Samwel Thu, 29 Jul 2004 17:22:00 +0200 + +laptop-mode-tools (0.94-1) unstable; urgency=low + + * Initial release. + * Debianization included in upstream package. + + -- Bart Samwel Thu, 29 Jul 2004 01:01:32 +0200 + --- laptop-mode-tools-1.51.orig/debian/docs +++ laptop-mode-tools-1.51/debian/docs @@ -0,0 +1,3 @@ +README +Documentation/laptop-mode.txt +Documentation/revision-history.txt