Your message dated Wed, 10 Jun 2009 12:17:15 +0000
with message-id <[email protected]>
and subject line Bug#528835: fixed in laptop-mode-tools 1.49-1
has caused the Debian Bug report #528835,
regarding ./usr/sbin/laptop_mode: line 657: [: missing `]' when battery does
not report a capacity
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
528835: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528835
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: ./usr/sbin/laptop_mode: line 657: [: missing `]' when battery does not
report a capacity
Package: laptop-mode-tools
Version: 1.48-1
Severity: important
Tags: patch
*** Please type your report below this line ***
On my macbook sometimes the battery capacity reports
$ cat BAT0/energy_now BAT0/energy_full
0
0
If /usr/sbin/laptop_mode runs then it fails with:
$ sudo /etc/init.d/laptop-mode start
Enabling laptop mode.../usr/sbin/laptop_mode: line 657: [: missing `]'
done (WARNING: Battery does not report a capacity. Minimum battery
charge checking does not work without a design capacity.
WARNING: Battery does not report a design capacity. Auto hibernation
does not work without a design capacity.
enabled, active [unchanged]).
Note error in line 657:
if [ -z "$CAPACITY" -o "$CAPACITY" -eq 0] ; then
change to (add space):
if [ -z "$CAPACITY" -o "$CAPACITY" -eq 0 ] ; then
helps.
Maybe thats zsh specific cause i'm using zsh for root and user account, i am
not sure.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=UTF-8) (ignored: LC_ALL set to
de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.2-22 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.10-1 Utilities for using ACPI power man
ii ethtool 6+20090307-1 display or change Ethernet device
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii hdparm 8.9-3 tune hard disk parameters for high
ii net-tools 1.60-23 The NET-3 networking toolkit
ii sdparm 1.02-1 Output and modify SCSI device para
laptop-mode-tools suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: laptop-mode-tools
Source-Version: 1.49-1
We believe that the bug you reported is fixed in the latest version of
laptop-mode-tools, which is due to be installed in the Debian FTP archive:
laptop-mode-tools_1.49-1.diff.gz
to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.49-1.diff.gz
laptop-mode-tools_1.49-1.dsc
to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.49-1.dsc
laptop-mode-tools_1.49-1_all.deb
to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.49-1_all.deb
laptop-mode-tools_1.49.orig.tar.gz
to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.49.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated laptop-mode-tools
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 04 Jun 2009 13:28:58 +0530
Source: laptop-mode-tools
Binary: laptop-mode-tools
Architecture: source all
Version: 1.49-1
Distribution: unstable
Urgency: low
Maintainer: Ritesh Raj Sarraf <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description:
laptop-mode-tools - Scripts to spin down hard drive and save power
Closes: 528835
Changes:
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 <[email protected]> to Uploaders.
* debian/rules
+ Cleanup some commented lines.
Checksums-Sha1:
c21925da69fa1e86deb624754ccf8db5649215c5 1420 laptop-mode-tools_1.49-1.dsc
1abfb4ec5c18fdb26d7d9d403e54676b5af9fc58 87229
laptop-mode-tools_1.49.orig.tar.gz
3e7b21d8a8221d40d5202418669bd31b298ddc6e 10576 laptop-mode-tools_1.49-1.diff.gz
1e5e39d53f2dbd5f155ae30a40e1b510a1d32239 110002
laptop-mode-tools_1.49-1_all.deb
Checksums-Sha256:
0d4c45ec39c01d46cda0004613e78c98ab5ba7c92c5795a9cac45f0ee008e1b0 1420
laptop-mode-tools_1.49-1.dsc
1164a2f0894e3700c9cffc37bca8721295dfc3e42e394b58796de48856a5e33b 87229
laptop-mode-tools_1.49.orig.tar.gz
7383e87ffd7be5d0712f480d8683f9791155689bb38eaf37a63afecc068b9901 10576
laptop-mode-tools_1.49-1.diff.gz
579678bb33efa58342c52407b95a67a5dfda6eecd0629815dd9aba68c21ba6fe 110002
laptop-mode-tools_1.49-1_all.deb
Files:
f34d8c6e510010d6d9c68085a313b2d2 1420 utils optional
laptop-mode-tools_1.49-1.dsc
48615d47679869226c88161d1b4e7a55 87229 utils optional
laptop-mode-tools_1.49.orig.tar.gz
d58f802c85a48942d5c98ddb0a1b122b 10576 utils optional
laptop-mode-tools_1.49-1.diff.gz
c61bee860092ffbda1617708f67a0f65 110002 utils optional
laptop-mode-tools_1.49-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAEBCAAGBQJKL6CPAAoJENbfLHnbvsrcLYIH/2m5YVnTXlQWX+NecmwY1aZa
OfgpW7VZs9rAsOaKiK97PDbr4phkiYVh8Tos0VIUFO1skdwCTMUsSwW8DgEWIo4n
YLEZfMeygHqRZsyIcExlj4IP1sHwLnrdlF8nDANH2y1cAkP6n1fccd5t4P+QZmc9
0jzethEOLOnz0/9cSOaRqrhc8WVuXkCTrbNjswdB4nGZ7fK5E3TIeyzj3ks5fmyB
QxuS0kCxKTYmPPwhM4UbKvd213vM2GE8yNKlcrSkAiRsNtnWGZj4DV/eg6a54jsH
8DagWVBj2d9gi+U/Cg42Dtr2j3HKyDXXWwdjv+eS5U4OXDjH0q6Dwhrm5oKY7oQ=
=vCxD
-----END PGP SIGNATURE-----
--- End Message ---