Re: [ACPI-sppt] Problem with poweroff (was Re: plz help ACPI)

Matt Gibson <[email protected]>
Newsgroups gmane.linux.acpi.support
Organization The Wardrobe Happy Cow Emporium
Message-ID <[email protected]>
On Monday 07 Jul 2003 14:47, Stefan Behnel wrote:
> PLEASE! If you want to support us in helping you to solve your problem,

Well, I'm going to try following the rules, as I've just joined the list.  
I've looked quite hard for a solution to my problem, but perhaps I just 
haven't hit the right page yet.

> 1) start your system with an ACPI enabled kernel

I have an ACPI enabled 2.4.21 kernel, using acpi-20030619-2.4.21.diff.

> 2) load all of the available ACPI modules, e.g. using modprobe for each of
> them. 

I have chosen to compile in everything rather than use modules.

3) run dmesg to see if there are any ACPI related errors.

No errors; I see "ACPI: Subsystem revision 20030619" and some other useful 
stuff, but no actual errors.

5) check the files in the /proc/acpi/* subdirectories to
> see if they seem to provide useful/correct information 

Everything seems fine.

> 7) do not forget to add some further information to your mail, including
> your system type (laptop? brand?), if you actually have any problems with
> your running system, what those problems are (more than one symptom per
> mail, if possible) and how to reproduce them - and anything else that you
> think might help us in understanding the problem and finding a solution.

Right.  Here goes.  I'm not sure if my problem is actually ACPI-related.  I 
recently updated my kernel to the standard 2.4.21, because the SuSE-supplied 
kernel (2.4.18) for SuSE 7.2 was causing occasional hangs.  Everything is 
fine, and the hanging has gone away, but one problem remains: now, my PC 
won't power off at shutdown.  I've tried halt -p (and poweroff) manually, 
and all that happens is that I get a sound which I think is my hard drive 
(IDE) parking, but then the system stays switched on.

I tried APM, which I was using before, and ACPI, and neither will power off 
the machine.  With ACPI, if I "echo 5 > /proc/acpi/sleep", then the machine 
does power off quite happily, so I think ACPI is working more than well 
enough to enter the S5 state.  So what I'm wondering is if there's something 
in halt/init that I need to update to take into account the fact that I'm 
using ACPI.

The machine powers off quite happily under Windows.  Currently, I have 
"ACPI-aware OS" selected in the BIOS.

I'm using a Gigabyte K7S5A motherboard with the latest available AMI BIOS, 
and I've tried using a custom DSDT table with any compilation problems 
fixed, but I'm guessing, as the echo > sleep works, that the core of ACPI is 
working okay.

Any ideas, folks?  Even if no one can solve my problem, I'd appreciate a 
pointer to a good page which describes how the halt/poweroff commands 
interact with the kernel to perform a poweroff.

Thanks,

Matt

-- 
"It's the small gaps between the rain that count,
 and learning how to live amongst them."
	      -- Jeff Noon


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.