[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#533574: closed by Bastian Blank <waldi@debian.org> (Re: Bug#533574: linux-image-2.6.29-2-686: Optoin CONFIG_ACPI_PROCFS_POWER is not set -- battery monitors don't work)



I don't think this is the right way to go about changing interfaces between packages in Debian.

The correct way to go about this is to propose a new packaging policy that packages use the sysfs interface. When that's approved then issue bug reports against all packages using the old interface. Then when all or most of those packages have switched to the new interface release a package which disables the old interface.

This is the same process other packages go through, whether things like Emacs or Apache or Inetd or anything else that has to interface with other packages. They don't just change interfaces and leave it to people to discover everything else is broken.



On Fri, Jun 19, 2009 at 10:18 AM, Debian Bug Tracking System <owner@bugs.debian.org> wrote:

This is an automatic notification regarding your Bug report
which was filed against the linux-image-2.6.29-2-686 package:

#533574: linux-image-2.6.29-2-686: Optoin CONFIG_ACPI_PROCFS_POWER is not set -- battery monitors don't work

It has been closed by Bastian Blank <waldi@debian.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Bastian Blank <waldi@debian.org> by
replying to this email.


--
533574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533574
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems


---------- Forwarded message ----------
From: Bastian Blank <waldi@debian.org>
To: 533574-done@bugs.debian.org
Date: Fri, 19 Jun 2009 11:15:44 +0200
Subject: Re: Bug#533574: linux-image-2.6.29-2-686: Optoin CONFIG_ACPI_PROCFS_POWER is not set -- battery monitors don't work
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



---------- Forwarded message ----------
From: Gregory Stark <stark@enterprisedb.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Thu, 18 Jun 2009 23:16:25 +0100
Subject: linux-image-2.6.29-2-686: Optoin CONFIG_ACPI_PROCFS_POWER is not set -- battery monitors don't work
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






--
Gregory Stark



Reply to: