mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Pavel Machek <pavel@ucw.cz>
Cc: Norbert Preining <preining@logic.at>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Mattia Dongili <malattia@linux.it>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Matthias Welwarsky <matze@welwarsky.de>
Subject: Re: Linux not shutting down all devices? Battery drain in after shutdown
Date: Sat, 19 Sep 2009 11:49:11 -0300	[thread overview]
Message-ID: <20090919144911.GD28777@khazad-dum.debian.net> (raw)
In-Reply-To: <20090919103709.GA4466@elf.ucw.cz>

On Sat, 19 Sep 2009, Pavel Machek wrote:
> On Thu 2009-09-17 14:24:51, Norbert Preining wrote:
> > 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.

I have seen this sort of problem on ThinkPads as well.  Lenovo decided to
fix it in firmware and shut down the stuff entirely in firmware.
Interestingly enough, in the ThinkPad case, Windows was not affected.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

  reply	other threads:[~2009-09-19 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 12:24 Norbert Preining
2009-09-19 10:37 ` Pavel Machek
2009-09-19 14:49   ` Henrique de Moraes Holschuh [this message]
2009-09-19 15:04     ` Norbert Preining
     [not found] <dlohM-3zc-19@gated-at.bofh.it>
2009-09-19 18:15 ` Daniel J Blueman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090919144911.GD28777@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=matze@welwarsky.de \
    --cc=mjg59@srcf.ucam.org \
    --cc=pavel@ucw.cz \
    --cc=preining@logic.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®