From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750858AbWGCLQJ (ORCPT ); Mon, 3 Jul 2006 07:16:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750885AbWGCLQI (ORCPT ); Mon, 3 Jul 2006 07:16:08 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:2705 "EHLO ogre.sisk.pl") by vger.kernel.org with ESMTP id S1750853AbWGCLQH (ORCPT ); Mon, 3 Jul 2006 07:16:07 -0400 From: "Rafael J. Wysocki" To: Linux ACPI Subject: Re: Battery-related regression between 2.6.17-git3 and 2.6.17-git6 Date: Mon, 3 Jul 2006 13:16:45 +0200 User-Agent: KMail/1.9.3 Cc: LKML , Andrew Morton , Greg KH References: <200607020021.15040.rjw@sisk.pl> <200607021115.44739.rjw@sisk.pl> In-Reply-To: <200607021115.44739.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607031316.46034.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sunday 02 July 2006 11:15, Rafael J. Wysocki wrote: > On Sunday 02 July 2006 00:21, Rafael J. Wysocki wrote: > > With the recent -git on my box (Asus L5D, x86_64 SUSE 10) the powersave > > demon is apparently unable to get the battery status, although the data in > > /proc/acpi/battery/BAT0 seem to be correct. As a result, battery status > > notification via kpowersave doesn't work and it's hard to notice when the > > battery is low/critical. > > > > So far I have verified that this feature works fine with 2.6.17-git3 and > > doesn't work with 2.6.17-git6 (-git5 doesn't compile here). > > > > I'll try to get more information tomorrow (unless someone in the know has > > an idea of what's up ;-) ). > > I've verified that the problem first appeared in 2.6.17-git4. Apparently this happens because powersaved takes the battery status information from hald and the following kernel changes make hald crash on my system: http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=43104f1da88f5335e9a45695df92a735ad550dda http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd00949647ddcea47ce4ea8bb2cfcfc98ebf9f2a http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c182274ffe1277f4e7c564719a696a37cacf74ea http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9bde7497e0b54178c317fac47a18be7f948dd471 http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=36679ea59846d8f34a48f71ca1a37671ca0ad3c5 (ie. after reverting them hald works again). Greetings, Rafael