Your message dated Sat, 30 May 2009 15:47:07 +0000
with message-id <[email protected]>
and subject line Bug#525951: fixed in acpitool 0.5-3
has caused the Debian Bug report #525951,
regarding acpitool: fails to retrieve power information as of kernel 2.6.29
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.)


-- 
525951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525951
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpitool
Version: 0.5-2
Severity: normal



After upgrading to the 2.6.29 kernel and running acpitool I get:

Battery is not present, bailing out.
 AC adapter     : <info not available>
 Thermal zone 1 : ok, 38 C
 Thermal zone 2 : ok, 25 C

The files under /sys/class/power_supply exist, however.

The hardware is a Lenovo X200 laptop.

In case it provides insight, here is the output of running acpitool under
strace. System information also appears below.

execve("/usr/bin/acpitool", ["acpitool"], [/* 17 vars */]) = 0
brk(0)                                  = 0x161d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1f000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=76720, ...}) = 0
mmap(NULL, 76720, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8ff4d0a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260g\5\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1019248, ...}) = 0
mmap(NULL, 3191608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f8ff47f8000
mprotect(0x7f8ff48e9000, 2093056, PROT_NONE) = 0
mmap(0x7f8ff4ae8000, 36864, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf0000) = 0x7f8ff4ae8000
mmap(0x7f8ff4af1000, 74552, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ff4af1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\0\0\0\0\0\0"..., 832) 
= 832
fstat(3, {st_mode=S_IFREG|0644, st_size=534736, ...}) = 0
mmap(NULL, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f8ff4575000
mprotect(0x7f8ff45f7000, 2093056, PROT_NONE) = 0
mmap(0x7f8ff47f6000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x7f8ff47f6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 ,\0\0\0\0\0\0"..., 832) 
= 832
fstat(3, {st_mode=S_IFREG|0644, st_size=93016, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d09000
mmap(NULL, 2188856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f8ff435e000
mprotect(0x7f8ff4374000, 2097152, PROT_NONE) = 0
mmap(0x7f8ff4574000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f8ff4574000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\346\1\0\0\0\0\0"..., 832) = 
832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0
mmap(NULL, 3482264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f8ff400b000
mprotect(0x7f8ff4154000, 2097152, PROT_NONE) = 0
mmap(0x7f8ff4354000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x7f8ff4354000
mmap(0x7f8ff4359000, 17048, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ff4359000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d08000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d07000
arch_prctl(ARCH_SET_FS, 0x7f8ff4d07700) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\243\270\230g!oY\32", 8)       = 8
close(3)                                = 0
mprotect(0x7f8ff4354000, 16384, PROT_READ) = 0
mprotect(0x7f8ff47f6000, 4096, PROT_READ) = 0
mprotect(0x7f8ff4ae8000, 28672, PROT_READ) = 0
mprotect(0x7f8ff4d20000, 4096, PROT_READ) = 0
munmap(0x7f8ff4d0a000, 76720)           = 0
brk(0)                                  = 0x161d000
brk(0x163e000)                          = 0x163e000
open("/proc/acpi/info", O_RDONLY)       = 3
open("/sys/module/acpi/parameters/acpica_version", O_RDONLY) = 4
read(3, "version:                 2008120"..., 8191) = 34
close(3)                                = 0
close(4)                                = 0
open("/proc/acpi/battery/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(4, /* 4 entries */, 4096)      = 96
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
close(3)                                = 0
open("/sys/class/power_supply/BAT0/type", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1c000
read(3, "Battery\n", 4096)              = 8
close(3)                                = 0
munmap(0x7f8ff4d1c000, 4096)            = 0
open("/sys/class/power_supply/AC/type", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1c000
read(3, "Mains\n", 4096)                = 6
close(3)                                = 0
munmap(0x7f8ff4d1c000, 4096)            = 0
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(4, /* 4 entries */, 4096)      = 96
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/sys/class/power_supply/BAT0/type", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1c000
read(4, "Battery\n", 4096)              = 8
close(4)                                = 0
munmap(0x7f8ff4d1c000, 4096)            = 0
open("/sys/class/power_supply/AC/type", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1c000
read(4, "Mains\n", 4096)                = 6
close(4)                                = 0
munmap(0x7f8ff4d1c000, 4096)            = 0
close(3)                                = 0
open("/sys/class/power_supply/BAT0/uevent", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1c000
read(3, "POWER_SUPPLY_NAME=BAT0\nPOWER_SUP"..., 4096) = 436
fstat(1, {st_mode=S_IFREG|0644, st_size=6872, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1b000
open("/proc/acpi/ac_adapter/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/class/power_supply/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(5, /* 4 entries */, 4096)      = 96
getdents(5, /* 0 entries */, 4096)      = 0
close(5)                                = 0
open("/sys/class/power_supply/BAT0/type", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1a000
read(5, "Battery\n", 4096)              = 8
close(5)                                = 0
munmap(0x7f8ff4d1a000, 4096)            = 0
open("/sys/class/power_supply/AC/type", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1a000
read(5, "Mains\n", 4096)                = 6
close(5)                                = 0
munmap(0x7f8ff4d1a000, 4096)            = 0
close(4)                                = 0
open("/sys/class/power_supply/AC/uevent", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f8ff4d1a000
read(4, "POWER_SUPPLY_NAME=AC\nPOWER_SUPPL"..., 4096) = 67
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
open("/proc/acpi/thermal_zone/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/acpi/thermal_zone/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
getdents(6, /* 4 entries */, 1024)      = 96
getdents(6, /* 0 entries */, 1024)      = 0
close(6)                                = 0
close(5)                                = 0
open("/proc/acpi/thermal_zone/THM0/state", O_RDONLY) = 5
read(5, "state:                   ok\n", 8191) = 28
close(5)                                = 0
open("/proc/acpi/thermal_zone/THM0/temperature", O_RDONLY) = 5
read(5, "temperature:             38 C\n", 8191) = 30
write(1, " Battery is not present, bailing"..., 108 Battery is not present, 
bailing out. 
  AC adapter     : <info not available> 
  Thermal zone 1 : ok, 38 C
) = 108
close(5)                                = 0
open("/proc/acpi/thermal_zone/THM1/state", O_RDONLY) = 5
read(5, "state:                   ok\n", 8191) = 28
close(5)                                = 0
open("/proc/acpi/thermal_zone/THM1/temperature", O_RDONLY) = 5
read(5, "temperature:             27 C\n", 8191) = 30
write(1, "  Thermal zone 2 : ok, 27 C\n", 28  Thermal zone 2 : ok, 27 C
) = 28
close(5)                                = 0
exit_group(0)                           = ?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpitool depends on:
ii  libc6                         2.9-6      GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.3-5  GCC support library
ii  libstdc++6                    4.3.3-5    The GNU Standard C++ Library v3

Versions of packages acpitool recommends:
ii  acpid                         1.0.8-7    Utilities for using ACPI power man

acpitool suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: acpitool
Source-Version: 0.5-3

We believe that the bug you reported is fixed in the latest version of
acpitool, which is due to be installed in the Debian FTP archive:

acpitool-dbg_0.5-3_i386.deb
  to pool/main/a/acpitool/acpitool-dbg_0.5-3_i386.deb
acpitool_0.5-3.diff.gz
  to pool/main/a/acpitool/acpitool_0.5-3.diff.gz
acpitool_0.5-3.dsc
  to pool/main/a/acpitool/acpitool_0.5-3.dsc
acpitool_0.5-3_i386.deb
  to pool/main/a/acpitool/acpitool_0.5-3_i386.deb



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.
Daniel Baumann <[email protected]> (supplier of updated acpitool 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: Sat, 30 May 2009 17:36:36 +0200
Source: acpitool
Binary: acpitool acpitool-dbg
Architecture: source i386
Version: 0.5-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description: 
 acpitool   - command line ACPI client
 acpitool-dbg - command line ACPI client (debug)
Closes: 463111 525951
Changes: 
 acpitool (0.5-3) unstable; urgency=low
 .
   * Replacing obsolete dh_clean -k with dh_prep.
   * Prefixing debhelper files with package name.
   * Updating to standards 3.8.1.
   * Updating year in copyright file.
   * Passing flags directly to configure.
   * Tidy rules file.
   * Using quilt rather than dpatch.
   * Adding patch from Evgeni Golov <[email protected]> to use /sys
     rather than /proc (Closes: #463111, #525951).
   * Using correct rfc-2822 date formats in changelog.
Checksums-Sha1: 
 3e6e6cf67428cdce3b30983908bdce04e6be809b 1147 acpitool_0.5-3.dsc
 5f301993be1f06d7e7f991d76a032eaeedc3e8d5 5201 acpitool_0.5-3.diff.gz
 7ba9db14718ef3c31c10c270dd8cec2163901021 46998 acpitool_0.5-3_i386.deb
 faa806f0ee46a046c882ee4c6fecb33a82831b57 144260 acpitool-dbg_0.5-3_i386.deb
Checksums-Sha256: 
 c8dd52668b58bc102eaa709b039477b57dd718eece3e2c69ddee496a530759b5 1147 
acpitool_0.5-3.dsc
 581c926ad4cf535387c19874be85f271572f582e4d26afa65cd8f26882bf9b1f 5201 
acpitool_0.5-3.diff.gz
 4993f043fcc88e61b9c2c1c5b6d83b42316ffbb46a60d421b7fed56fae62c2f4 46998 
acpitool_0.5-3_i386.deb
 1e73936b0a60177f95ea5dc5945e54fd84464f081e78bd570dd2c70dd492f983 144260 
acpitool-dbg_0.5-3_i386.deb
Files: 
 97a14449ff16d4979bb74a8cd79600f6 1147 utils optional acpitool_0.5-3.dsc
 fe8a16359d9b031338a3c0bad2e61ae7 5201 utils optional acpitool_0.5-3.diff.gz
 9c80dbfe0923ecf73e4e07074e7ceb8e 46998 utils optional acpitool_0.5-3_i386.deb
 57b1ff0216d0150f118846fa00b5c077 144260 devel extra acpitool-dbg_0.5-3_i386.deb

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

iEYEARECAAYFAkohUsAACgkQ+C5cwEsrK55zqgCgvq78s6+JdOru5KuLa+VECejI
TaQAniiLRFat88JgAlsNbJvp+xC/cetI
=vffM
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to