Package: laptop-mode-tools
Version: 1.50-1
Severity: normal
Tags: patch

Power modes 6 and 7 are removed in 2.6.30. They are simply aliases to
0 and 3, respectively, so use those instead.
---
 etc/laptop-mode/conf.d/wireless-iwl-power.conf     |   10 ++++------
 .../laptop-mode-tools/modules/wireless-iwl-power   |    4 ++--
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/etc/laptop-mode/conf.d/wireless-iwl-power.conf 
b/etc/laptop-mode/conf.d/wireless-iwl-power.conf
index c5be2f2..a02ea23 100644
--- a/etc/laptop-mode/conf.d/wireless-iwl-power.conf
+++ b/etc/laptop-mode/conf.d/wireless-iwl-power.conf
@@ -20,11 +20,9 @@ CONTROL_IWL_POWER=0
 
 # Levels passed to "/sys/class/net/*/device/power_level" for the iwlwifi
 # wireless chipsets. The allowed values are:
-# 1 = fixed values with most power usage
+# 0 = most power usage
 # ...
-# 5 = fixed values with least power usage
-# 6 = AC (full power)
-# 7 = Battery (least power)
-IWL_AC_POWER=6
-IWL_BATT_POWER=7
+# 5 = least power usage
+IWL_AC_POWER=0
+IWL_BATT_POWER=3
 
diff --git a/usr/share/laptop-mode-tools/modules/wireless-iwl-power 
b/usr/share/laptop-mode-tools/modules/wireless-iwl-power
index 08c50e7..e934c7d 100755
--- a/usr/share/laptop-mode-tools/modules/wireless-iwl-power
+++ b/usr/share/laptop-mode-tools/modules/wireless-iwl-power
@@ -36,8 +36,8 @@ if [ x$CONTROL_IWL_POWER = x1 ] ; then
        log "VERBOSE" "Setting power levels for iwlwifi wireless interfaces."
 
        # Provide defaults for config file settings
-       [ "$IWL_AC_POWER" ]   || IWL_AC_POWER=6
-       [ "$IWL_BATT_POWER" ] || IWL_BATT_POWER=7
+       [ "$IWL_AC_POWER" ]   || IWL_AC_POWER=0
+       [ "$IWL_BATT_POWER" ] || IWL_BATT_POWER=3
 
        WIFI_IFNAMES=""
        [ -d /sys/module/iwl3945 ] && findWifiIfsByDriver iwl3945
-- 
1.6.4.174.gc193a

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  psmisc                        22.6-1     Utilities that use the proc filesy
ii  util-linux                    2.13.1.1-1 Miscellaneous system utilities

Versions of packages laptop-mode-tools recommends:
ii  acpid                      1.0.8-1lenny1 Utilities for using ACPI power man
ii  apmd                       3.2.2-12      Utilities for Advanced Power Manag
ii  ethtool                    6+20080913-1  display or change Ethernet device 
ii  hal                        0.5.11-8      Hardware Abstraction Layer
ii  hdparm                     8.9-3         tune hard disk parameters for high
ii  net-tools                  1.60-22       The NET-3 networking toolkit
ii  sdparm                     1.02-1        Output and modify SCSI device para
ii  wireless-tools             29-1.1        Tools for manipulating Linux Wirel

laptop-mode-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to