Re: shutdown with toshiba portege

3 messages, 2 authors, 2012-11-21 · open the first message on its own page

Re: shutdown with toshiba portege

From: Dan Carpenter <hidden>
Date: 2012-09-28 13:24:09

On Fri, Sep 21, 2012 at 04:57:53PM +0200, François Boisson wrote:
Le Thu, 20 Sep 2012 20:42:34 +0200
François Boisson  [off-list ref] a écrit:
quoted
Hey 

I have a problem which seems to be related to shutdown for a Toshiba portege
(it's seems that the problem is also on other Toshiba, on VAIO cw5, y
[...]
quoted
If i shutdown the computer and wait some hours, the power consumption of the
computer is not null, it's about the same as the power consumtion during a
suspend of computer. In fact

Boot and halt with:
Windows 7 ---> No power consumption after
Linux 2.6.37-486-PAE --->  No power consumption after
Linux >= 3.0  ---> Power consumption (about 45-50 mW if acpitool is correct)
[...]

Well can anybody just tell me the sequence of shutdown and power of a x86
computer in then linux kernell, or just how to verify that a device is power
off with a printk, or where to search or even only where is the part of code
doing this. There is many documentation about use device but nothing about
power off.
So your Toshiba is going into suspend instead of power off...

There are several ways that computers shutdown but modern systems
use ACPI.  It could be that the 2.6.37-486-PAE was using a
different method.  I've CC'd the ACPI list.

regards,
dan carpenter

Re: shutdown with toshiba portege

From: François Boisson <hidden>
Date: 2012-09-28 21:38:25

Le Fri, 28 Sep 2012 16:23:55 +0300
Dan Carpenter [off-list ref] a écrit:
So your Toshiba is going into suspend instead of power off...

There are several ways that computers shutdown but modern systems
use ACPI.  It could be that the 2.6.37-486-PAE was using a
different method.  I've CC'd the ACPI list.
Thinks, first I have open a bug 
https://bugzilla.kernel.org/show_bug.cgi?id=47811
the I have compiled a 3.5.4 with some printk around the halt/poweroff. (FIles
arch/x86/kernel/reboot.c
arch/x86/kernel/apm32.c ) trying to trace call BIOS but nothing printk, either
I do not understand the power off mechanism, or the computer is in a state
where printk do not appear on screen.
In fact I don't know what I can do to find an issue to this bug.

Thanks for your answer

François Boisson
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: shutdown with toshiba portege

From: François Boisson <hidden>
Date: 2012-11-21 16:52:15

Le Fri, 28 Sep 2012 16:23:55 +0300
Dan Carpenter [off-list ref] a écrit:
quoted
So your Toshiba is going into suspend instead of power off...

There are several ways that computers shutdown but modern systems
use ACPI.  It could be that the 2.6.37-486-PAE was using a
different method.  I've CC'd the ACPI list.
Thinks, first I have open a bug 
https://bugzilla.kernel.org/show_bug.cgi?id=47811
the I have compiled a 3.5.4 with some printk around the halt/poweroff. (FIles
arch/x86/kernel/reboot.c
arch/x86/kernel/apm32.c ) trying to trace call BIOS but nothing printk,
either I do not understand the power off mechanism, or the computer is in a
state where printk do not appear on screen.
In fact I don't know what I can do to find an issue to this bug.

Thanks for your answer
Just to say that the cause of battery to drain is making

hwclock --systohc 

just before halt computer. Add 
HWCLOCKACCESS=no
or remove calls to hwclock --systohc
in /etc/init.d/«scripts» in «stop» part removes the bug.

So I think it's not a bug of ACPI but a bug of the RTC standard in the kernel
(file arch/x86/kernel/rtc.c). I tried to add a «sleep 1» just after the
hwclock call but no change.

This is a workaround but not the real solution of this problem.
Thanks for reading.
François Boisson
(Please Cc to me, I'm not on linux-acpi list)

François Boisson
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help