From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#643: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface Date: Sun, 03 Aug 2008 09:04:05 +0200 Message-ID: <87zlnuinq2.fsf@gmx.de> Reply-To: Sven Joachim , 643@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217749664 24646 80.91.229.12 (3 Aug 2008 07:47:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Aug 2008 07:47:44 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 03 09:48:34 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KPYKP-0003B5-G9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 09:48:33 +0200 Original-Received: from localhost ([127.0.0.1]:35308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPYJU-0006dz-Af for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 03:47:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPYJN-0006au-JB for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 03:47:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPYJL-0006XW-8H for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 03:47:28 -0400 Original-Received: from [199.232.76.173] (port=59322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPYJL-0006X8-31 for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 03:47:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58133) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KPYJK-0001xx-M6 for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 03:47:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m737lM6C026475; Sun, 3 Aug 2008 00:47:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m737j3cg025267; Sun, 3 Aug 2008 00:45:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Sven Joachim Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Sven Joachim , Emacs Bugs Resent-Date: Sun, 03 Aug 2008 07:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 643 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121774898923642 (code B ref -1); Sun, 03 Aug 2008 07:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Aug 2008 07:36:29 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m737aPGF023636 for ; Sun, 3 Aug 2008 00:36:27 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:40687) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KPY7j-0002c1-D7 for emacs-pretest-bug@gnu.org; Sun, 03 Aug 2008 03:35:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KPY8a-0000Y5-Q4 for emacs-pretest-bug@gnu.org; Sun, 03 Aug 2008 03:36:25 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:39923) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KPY8a-0000XL-3d for emacs-pretest-bug@gnu.org; Sun, 03 Aug 2008 03:36:20 -0400 Original-Received: (qmail invoked by alias); 03 Aug 2008 07:09:36 -0000 Original-Received: from p54865763.dip.t-dialin.net (EHLO debian) [84.134.87.99] by mail.gmx.net (mp035) with SMTP; 03 Aug 2008 09:09:36 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX19pxblwT9FpcXVUN64tl5N0xbTcoQHsIQIusz03so Trolo68lqxx1Ed User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 03 Aug 2008 03:47:28 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18991 gmane.emacs.pretest.bugs:22789 Archived-At: 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