From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Linux not shutting down all devices? Battery drain in after shutdown Date: Sat, 19 Sep 2009 12:37:09 +0200 Message-ID: <20090919103709.GA4466@elf.ucw.cz> References: <20090917122451.GA13717@gandalf.dynalias.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46936 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbZISKiL (ORCPT ); Sat, 19 Sep 2009 06:38:11 -0400 Content-Disposition: inline In-Reply-To: <20090917122451.GA13717@gandalf.dynalias.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Norbert Preining Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Mattia Dongili , Matthew Garrett , Matthias Welwarsky On Thu 2009-09-17 14:24:51, Norbert Preining wrote: > Dear all, > > I have a very strange problem with my Sony VAIO Z11 laptop. When I turn > it off in Linux it still drains battery, and quite a lot indeed, several > percent per hour. > > Interestingly, when shutting down from Windows XP the same doesn't happen, > after 10 hours of off time starting from 100% charge after rebooting I have > still 98.8%, so that is fine (counting that booting costs some energy). > > This is in fact also a problem for many other users using Windows, too, > see [1]. I have checked that on Windows all devices are set up so that > at shutdown and hibernation (S4 and S5) they are going to off state (D3). > > The only thing I can imagine is that one of the devices not completely > of not at all supported by the kernel is not properly shut down. > AFAIS the only device which I have not running here is the fingerprint > scanner. > > My questions are: > - is there a way and if how to check that all devices will get properly > shut down on halt? > - is there any other reason the battery drain might happen? > > Some details about the laptop: > - it has a dual graphic card (Intel and nVidia), the sony-laptop module > (extended for the zseries, see [2], with adaption to 2.6.31 by me [3]), > or the stock kernel sony-laptop plus the nvidia-control module > (by Matthew Garret [4]) can be used to turn the nvidia card of on a > running system so that it does not draw any energy > - lspci -vvv output is attached as lspci.txt > - software running is Debian/sid with kernel 2.6.31 On PC, keyboard driver is expected to shut down the machine; I'd try complaining to Sony, perhaps they have newer bios. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html