bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#643: marked as done (23.0.60; battery.el needs deprecated ACPI_PROC


From: Emacs bug Tracking System
Subject: bug#643: marked as done (23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface)
Date: Fri, 8 Aug 2008 10:55:05 -0700

Your message dated Fri, 08 Aug 2008 13:49:56 -0400
with message-id <87projiegr.fsf@stupidchicken.com>
and subject line Re: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER 
interface
has caused the Emacs bug report #643,
regarding 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface
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 don@donarmstrong.com
immediately.)


-- 
643: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=643
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface Date: Sun, 03 Aug 2008 09:04:05 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
In recent Linux kernels, the information about battery status has been
moved from /proc/acpi/battery to /sys/class/power_supply.  It is only
available from the former place if the kernel has been built with the
ACPI_PROCFS_POWER option, which is deprecated:

,----[ /usr/src/linux-2.6.26.1/drivers/acpi/Kconfig ]
| config ACPI_PROCFS_POWER
|       bool "Deprecated power /proc/acpi directories"
|       depends on PROC_FS
|       default y
|       ---help---
|         For backwards compatibility, this option allows
|           deprecated power /proc/acpi/ directories to exist, even when
|           they have been replaced by functions in /sys.
|           The deprecated directories (and their replacements) include:
|         /proc/acpi/battery/* (/sys/class/power_supply/*)
|         /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
|         This option has no effect on /proc/acpi/ directories
|         and functions, which do not yet exist in /sys
| 
|         Say N to delete power /proc/acpi/ directories that have moved to /sys/
| 
`----

At least Debian ships kernels that are built without ACPI_PROCFS_POWER,
so battery.el will not work with them.

Sven



--- End Message ---
--- Begin Message --- Subject: Re: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface Date: Fri, 08 Aug 2008 13:49:56 -0400
I've checked in the patch.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]