Package: laptop-mode-tools
Version: 1.61-2
Severity: important
Tags: upstream patch

Dear Maintainer,

On startup and when running /etc/init.d/laptop-mode, I see logged
messages like

  cat: /sys/class/net/wlan0/device/enable: No such file or directory
  /usr/sbin/laptop_mode: 29: [: -eq: unexpected operator

The effect of this bug seems to be to interfere with power
management on laptop wireless devices.

These are a result of a fault in two of the module scripts, where 
the script tries to read a sys file that doesn't exist:

  ENABLED=`cat $DEVICE/device/enable`

The fix is just "s/enable/enabled/"

IMPORTANT: this bug appears in two places:
  /usr/share/laptop-mode-tools/modules/wireless-iwl-power  line 27
  /usr/share/laptop-mode-tools/modules/wireless-ipw-power  line 72

(In version 1.64, it's line 74, not 72.)

This corresponds to Ubuntu bug #1298884, which at the time of
this writing had no resolution.

-- System Information:
Debian Release: 7.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages laptop-mode-tools depends on:
ii  lsb-base    4.1+Debian8+deb7u1
ii  psmisc      22.19-1+deb7u1
ii  util-linux  2.20.1-5.3

Versions of packages laptop-mode-tools recommends:
ii  ethtool         1:3.4.2-1
ii  hdparm          9.39-1+b1
ii  net-tools       1.60-24.2
ii  sdparm          1.07-1
ii  udev            204-10
ii  wireless-tools  30~pre9-8

Versions of packages laptop-mode-tools suggests:
ii  acpid  1:2.0.16-1+deb7u1
ii  hal    0.5.14-8

-- Configuration Files:
/etc/laptop-mode/laptop-mode.conf changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to