Your message dated Thu, 23 Feb 2006 16:32:08 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#353567: fixed in laptop-mode-tools 1.30-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: laptop-mode-tools
Version: 1.27-1
Severity: normal
Tags: patch

Hello,

When laptop-mode is activated and battery power is plentiful,
laptop-mode disables write caching regardless of the settings in the
configuration file.  The following patch fixes the problem.

Thanks,
        Ken

--- /usr/sbin/laptop_mode       2006-02-19 10:10:02.000000000 -0500
+++ /usr/sbin/laptop_mode       2006-02-19 10:09:41.000000000 -0500
@@ -1239,10 +1239,12 @@
 if [ $CONTROL_HD_WRITECACHE -eq 1 ] ; then
        # The writecache may only be enabled when data-loss sensitive
        # features are active.
-       if [ "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -eq 0 ] ; then
-               HD_WRITECACHE=0 
-       elif [ "$ACTIVATE" -eq 1 ] ; then
-               HD_WRITECACHE=$LM_HD_WRITECACHE
+       if [ "$ACTIVATE" -eq 1 ] ; then
+               if [ "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -eq 0 ] ; then
+                       HD_WRITECACHE=0 
+               else
+                       HD_WRITECACHE=$LM_HD_WRITECACHE
+               fi
        else
                if [ $ON_AC -eq 1 ] ; then
                        HD_WRITECACHE=$NOLM_AC_HD_WRITECACHE

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)

laptop-mode-tools depends on no packages.

Versions of packages laptop-mode-tools recommends:
ii  acpid                         1.0.4-5    Utilities for using ACPI power man
ii  apmd                          3.2.2-5    Utilities for Advanced Power Manag
ii  hdparm                        6.3-3      tune hard disk parameters for high
ii  sdparm                        0.96-1     Output and modify SCSI device para

-- no debconf information

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Q.  What do you call a sheep covered in chocolate?
A.  ... A ... Chocolate ... BAA!!!

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: laptop-mode-tools
Source-Version: 1.30-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.30-1.diff.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.30-1.diff.gz
laptop-mode-tools_1.30-1.dsc
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.30-1.dsc
laptop-mode-tools_1.30-1_all.deb
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.30-1_all.deb
laptop-mode-tools_1.30.orig.tar.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.30.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.
Bart Samwel <[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: SHA1

Format: 1.7
Date: Thu, 23 Feb 2006 19:20:00 +0200
Source: laptop-mode-tools
Binary: laptop-mode-tools
Architecture: source all
Version: 1.30-1
Distribution: unstable
Urgency: low
Maintainer: Bart Samwel <[EMAIL PROTECTED]>
Changed-By: Bart Samwel <[EMAIL PROTECTED]>
Description: 
 laptop-mode-tools - Scripts to spin down hard drive and save power
Closes: 353567
Changes: 
 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.
Files: 
 8b0d691f2fd74ee54adbc3a375bb5c0c 594 utils optional 
laptop-mode-tools_1.30-1.dsc
 641e899140ca4933327af05125012064 84126 utils optional 
laptop-mode-tools_1.30.orig.tar.gz
 d4797ab58cda1d5b08bd6c303f0479c8 5903 utils optional 
laptop-mode-tools_1.30-1.diff.gz
 d55ce2fcd255bb17c26eb38c58426af1 80536 utils optional 
laptop-mode-tools_1.30-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/k+cKb5dImj9VJ8RAmoeAJ4mCuYiuO9tT1owDVrL1svxZ/q9SgCfTzWS
tnc2Y6Fpjj4Fkb2doEoN8JY=
=6Ys4
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to