Your message dated Fri, 19 Jun 2009 11:15:44 +0200
with message-id <20090619091544.ga19...@wavehammer.waldi.eu.org>
and subject line Re: Bug#533574: linux-image-2.6.29-2-686: Optoin 
CONFIG_ACPI_PROCFS_POWER is not set -- battery monitors don't work
has caused the Debian Bug report #533574,
regarding linux-image-2.6.29-2-686: Optoin CONFIG_ACPI_PROCFS_POWER is not set 
-- battery monitors don't work
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 ow...@bugs.debian.org
immediately.)


-- 
533574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533574
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.29-2-686
Version: 2.6.29-5
Severity: wishlist
File: /lib/modules/2.6.29-2-686/kernel/drivers/acpi/battery.ko

The ACPI battery module appears to be built with CONFIG_ACPI_PROCFS_POWER
unset. That leaves it pretty useless. Things like gui battery monitors and
even powertop require this file to report the battery usage.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.29-2-686 depends on:
ii  debconf [debconf-2.0]        1.5.24      Debian configuration management sy
ii  initramfs-tools [linux-initr 0.91e       tools for generating an initramfs
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.29-2-686 recommends:
ii  libc6-i686                    2.9-16     GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.29-2-686/preinst/overwriting-modules-2.6.29-2-686: true
  linux-image-2.6.29-2-686/postinst/bootloader-error-2.6.29-2-686:
  linux-image-2.6.29-2-686/preinst/abort-install-2.6.29-2-686:
  linux-image-2.6.29-2-686/preinst/failed-to-move-modules-2.6.29-2-686:
  linux-image-2.6.29-2-686/preinst/initrd-2.6.29-2-686:
  linux-image-2.6.29-2-686/postinst/old-dir-initrd-link-2.6.29-2-686: true
  linux-image-2.6.29-2-686/postinst/old-initrd-link-2.6.29-2-686: true
  linux-image-2.6.29-2-686/postinst/bootloader-test-error-2.6.29-2-686:
  linux-image-2.6.29-2-686/postinst/depmod-error-initrd-2.6.29-2-686: false
  linux-image-2.6.29-2-686/preinst/elilo-initrd-2.6.29-2-686: true
  linux-image-2.6.29-2-686/preinst/lilo-initrd-2.6.29-2-686: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.29-2-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.29-2-686/postinst/depmod-error-2.6.29-2-686: false
  linux-image-2.6.29-2-686/postinst/kimage-is-a-directory:
  linux-image-2.6.29-2-686/postinst/create-kimage-link-2.6.29-2-686: true
  linux-image-2.6.29-2-686/prerm/removing-running-kernel-2.6.29-2-686: true
  linux-image-2.6.29-2-686/postinst/old-system-map-link-2.6.29-2-686: true
  linux-image-2.6.29-2-686/preinst/bootloader-initrd-2.6.29-2-686: true
  linux-image-2.6.29-2-686/prerm/would-invalidate-boot-loader-2.6.29-2-686: true
  linux-image-2.6.29-2-686/preinst/abort-overwrite-2.6.29-2-686:

-- 
  Gregory Stark
  http://mit.edu/~gsstark/resume.pdf



--- End Message ---
--- Begin Message ---
On Thu, Jun 18, 2009 at 11:16:25PM +0100, Gregory Stark wrote:
> The ACPI battery module appears to be built with CONFIG_ACPI_PROCFS_POWER
> unset. That leaves it pretty useless. Things like gui battery monitors and
> even powertop require this file to report the battery usage.

The information is properly exported in the sysfs:
| $ cat /sys/class/power_supply/BAT0/{charge_{full,now},voltage_now}
| 5450000
| 5450000
| 8316000

If the tools are not able to use them, it is their bug. No bug in the
kernel.

Bastian

-- 
There is an order of things in this universe.
                -- Apollo, "Who Mourns for Adonais?" stardate 3468.1


--- End Message ---

Reply via email to