From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87projiegr.fsf@stupidchicken.com> <87zlnuinq2.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1218218104-15782-0" X-Trace: ger.gmane.org 1218218863 27288 80.91.229.12 (8 Aug 2008 18:07:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 18:07:43 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 20:08:31 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 1KRWO7-0002eQ-7h for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 20:08:31 +0200 Original-Received: from localhost ([127.0.0.1]:40166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRWNB-0004vH-7X for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 14:07:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRWN5-0004um-Qc for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRWN5-0004u8-7Y for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:27 -0400 Original-Received: from [199.232.76.173] (port=47850 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRWN4-0004u4-SY for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40794) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRWN4-0008PI-Ei for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07: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 m78I7NFd020731; Fri, 8 Aug 2008 11:07:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m78Ht5kb015908; Fri, 8 Aug 2008 10:55:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 643 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:19151 Archived-At: This is a multi-part message in MIME format... ------------=_1218218104-15782-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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.) --=20 643: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D643 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1218218104-15782-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,X_DEBBUGS_CC autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Aug 2008 07:36:29 +0000 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 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 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 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 Received: (qmail invoked by alias); 03 Aug 2008 07:09:36 -0000 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 From: Sven Joachim To: emacs-pretest-bug@gnu.org Subject: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface X-Debbugs-CC: Sven Joachim Date: Sun, 03 Aug 2008 09:04:05 +0200 Message-ID: <87zlnuinq2.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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) 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 ------------=_1218218104-15782-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 643-done) by emacsbugs.donarmstrong.com; 8 Aug 2008 17:49:50 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m78Hnl0M014278 for <643-done@emacsbugs.donarmstrong.com>; Fri, 8 Aug 2008 10:49:49 -0700 Received: by cyd (Postfix, from userid 1000) id 9E52757E1C5; Fri, 8 Aug 2008 13:49:56 -0400 (EDT) From: Chong Yidong To: 643-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface Date: Fri, 08 Aug 2008 13:49:56 -0400 Message-ID: <87projiegr.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in the patch. ------------=_1218218104-15782-0--