Your message dated Mon, 26 Jan 2009 20:47:42 +0000
with message-id <[email protected]>
and subject line Bug#513078: fixed in laptop-mode-tools 1.47-1
has caused the Debian Bug report #513078,
regarding usb-autosuspend fails
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.)


-- 
513078: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513078
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: laptop-mode-tools
Version: 1.46-1
Severity: normal
Tags: patch

Hi,

usb-autosuspend fails with the following error message:

/usr/share/laptop-mode-tools/modules/usb-autosuspend: line 20: echo:
write error: Invalid argument

The attached patch solves the issue.

Hannes

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

Kernel: Linux 2.6.28.2 (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-1      Utilities for using ACPI power man
ii  ethtool                     6+20080913-1 display or change Ethernet device 
pn  hal                         <none>       (no description available)
ii  hdparm                      8.9-3        tune hard disk parameters for high
pn  sdparm                      <none>       (no description available)

laptop-mode-tools suggests no packages.

-- no debconf information
--- /usr/share/laptop-mode-tools/modules/usb-autosuspend.orig   2009-01-26 
07:31:24.000000000 +0100
+++ /usr/share/laptop-mode-tools/modules/usb-autosuspend        2009-01-26 
07:31:31.000000000 +0100
@@ -17,7 +17,7 @@
            do
                usb_device=`basename $usb_device`;
                if [ -f /sys/bus/usb/devices/$usb_device/power/autosuspend ]; 
then
-                   echo AUTOSUSPEND_TIMEOUT > 
/sys/bus/usb/devices/$usb_device/power/autosuspend;
+                   echo $AUTOSUSPEND_TIMEOUT > 
/sys/bus/usb/devices/$usb_device/power/autosuspend;
                    $LM_VERBOSE && echo "Enabling auto suspend mode for usb 
device $usb_device." >> $OUTPUT
                else
                    $LM_VERBOSE && echo "Not enabling auto suspend mode for usb 
device $usb_device -- /sys/bus/usb/devices/$usb_device/power/autosuspend not 
present." >> $OUTPUT

--- End Message ---
--- Begin Message ---
Source: laptop-mode-tools
Source-Version: 1.47-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.47-1.diff.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.47-1.diff.gz
laptop-mode-tools_1.47-1.dsc
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.47-1.dsc
laptop-mode-tools_1.47-1_all.deb
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.47-1_all.deb
laptop-mode-tools_1.47.orig.tar.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.47.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.8
Date: Mon, 26 Jan 2009 20:53:58 +0100
Source: laptop-mode-tools
Binary: laptop-mode-tools
Architecture: source all
Version: 1.47-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: 513078
Changes: 
 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.
Checksums-Sha1: 
 c1127655ee77f4725dc559a9ec43ab8d4ff23f50 1033 laptop-mode-tools_1.47-1.dsc
 e38745b17b7259289190b0630c15c5e9e77ff891 85195 
laptop-mode-tools_1.47.orig.tar.gz
 c1dddceadf568ff9b49a94f0ba1dac8e3c2a7aa9 9340 laptop-mode-tools_1.47-1.diff.gz
 dad2283edd5530292cfe8ef835732a0590b6698d 105280 
laptop-mode-tools_1.47-1_all.deb
Checksums-Sha256: 
 16f5a07458fe74e5ebb8bd2b8c12d328d5520552de0dcf17771e390919b5c518 1033 
laptop-mode-tools_1.47-1.dsc
 47844f7cf824b28343494bf9b4f69ca8b9b6fd446e80a7576a8c5186342e2e29 85195 
laptop-mode-tools_1.47.orig.tar.gz
 5667380ea396c434e79f84fcc23c260a531cc559e64c12c077fc69fc39535670 9340 
laptop-mode-tools_1.47-1.diff.gz
 2ae54e8991d5162b38d81df8ed12c2ba12ff481ba2f8917a96fefb8f0d68aa61 105280 
laptop-mode-tools_1.47-1_all.deb
Files: 
 8813a5ef9766119ce5832cf94bb1b1e5 1033 utils optional 
laptop-mode-tools_1.47-1.dsc
 ec32f80d9bb427cb02a54d8c0a08f5e6 85195 utils optional 
laptop-mode-tools_1.47.orig.tar.gz
 c7c9c17335de471a3af2f7d2bbe1dbf2 9340 utils optional 
laptop-mode-tools_1.47-1.diff.gz
 ffc028afcbea08e6e6bf9b7465147496 105280 utils optional 
laptop-mode-tools_1.47-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkl+FVYACgkQ7O7doAun0JTi/ACfbayVK2CVHLnMguOEO5zJADXB
77IAn2fdXoDUYvhdmHsEB5r8vr1xLxIs
=iMUV
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to