Bug 227384 - (ATX board) power off button does not work correctly
Summary: (ATX board) power off button does not work correctly
Status: RESOLVED DUPLICATE of bug 221667
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: i586 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-09 13:08 UTC by macias -
Modified: 2007-01-12 04:27 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/messages (90.40 KB, text/plain)
2006-12-10 13:23 UTC, macias -
Details
/var/log/messages (56.89 KB, text/plain)
2006-12-11 10:17 UTC, Kamil Zulewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description macias - 2006-12-09 13:08:27 UTC
ASUS P3B-F (ACPI BIOS rev. 1006) it is the ATX motherboard.

KDE 3.5.5.

In opensuse 10.0 I was able to turn off the computer via "shutdown", in 10.2 I can almost do the same. The system is shutting down to the exactly last step but then... it just stays on. The last piece is missing -- real turning off the computer.

And since opensuse shows by default splashscreen the user has no idea what is going on. It is impossible to see the log at the end because computer is frozen.
Comment 1 Matej Horvath 2006-12-10 12:22:07 UTC
Please attach your /var/log/messages. Thank you.
Comment 2 macias - 2006-12-10 13:23:25 UTC
Created attachment 109007 [details]
/var/log/messages
Comment 3 Kamil Zulewski 2006-12-11 10:17:13 UTC
Created attachment 109106 [details]
/var/log/messages
Comment 4 Kamil Zulewski 2006-12-11 10:23:21 UTC
I've got the same problem. After "system will be halted immediately" message computer is just stoped, but it's not turned off. No matter how I do shutdown (from GUI or console: shutdown -h now). 

I've got an old motherboard: ACORP 7KTA3. On 10.1 i was able to turn off computer.

BTW, rebooting works OK.
Comment 5 Kamil Zulewski 2006-12-11 11:06:51 UTC
I found workaround. For my system it works when I pass acpi=force parameter to kernel. Now my default /boot/grub/menu.lst entry looks like this:

title openSUSE 10.2
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hda4 vga=0x317 resume=/dev/hda3 splash=silent showopts acpi=force
    initrd /boot/initrd-2.6.18.2-34-default
Comment 6 macias - 2006-12-11 13:05:09 UTC
Works like you described. But previously (without acpi=force) the hardware off button kills the computer (cold-down, immediate turn-off) which was bad of course. With acpi=force the hardware off is completely ignored. Which is bad of course too (but I rather like the latter since it is safer for the system).
Comment 7 Kamil Zulewski 2006-12-11 15:53:01 UTC
Now, you can immediately turn-off computer by holding power button down for a few seconds. You can also assign some actions for normal power button use (short one). See Yast->System->/etc/sysconfig->System->Powermanagement->Powersave->Events->EVENT_BUTTON_POWER
Comment 8 macias - 2006-12-11 16:39:00 UTC
> Now, you can immediately turn-off computer by holding power button down for
> a few seconds. 

a) it is a brute-force thing -- you can pull the power plug as well
b) I don't want to do this (get this effect -- see (a))
c) I want to be able to properly shutdown the system

> You can also assign some actions for normal power button use
> (short one). See
Yast->System->/etc/sysconfig->System->Powermanagement->Powersave->Events->EVENT_BUTTON_POWER

a) it should be shutdown by default
b) it is 
c) it does not work (same as in 10.0, worked in 9.x)
Comment 9 Kamil Zulewski 2006-12-11 16:51:32 UTC
> a) it is a brute-force thing -- you can pull the power plug as well
> b) I don't want to do this (get this effect -- see (a))
> c) I want to be able to properly shutdown the system

True.

> a) it should be shutdown by default
> b) it is 
> c) it does not work (same as in 10.0, worked in 9.x)
> 

True. Now (with acpi=force) on _my_ system it works 
Comment 10 Arjen de Korte 2006-12-14 09:44:01 UTC
(In reply to comment #5)
> I found workaround. For my system it works when I pass acpi=force parameter to
> kernel.

I have an old system too, but unfortunately the ACPI implementation is broken, so this is not an option for me. So far, using APM there has never been a problem with this and in previous versions it always did power off cleanly.

Comment 11 Pavel Machek 2006-12-14 20:05:45 UTC
Known problem; just add "power-off" to kernel command line.

(Changing kernel to work around this one would be ugly/incompatible; but could we make yast add power-off by default?)
Comment 12 Matej Horvath 2006-12-15 13:17:11 UTC
Please test the Pavel's suggestion and report if you are successful.
Comment 13 macias - 2006-12-15 16:23:54 UTC
power-off at grub level, I mean just like acpi=force?

Does not work, I mean I still can't shutdown system via hardware button.
Comment 15 macias - 2006-12-26 08:28:56 UTC
It is just getting better...

I upgraded another computer from 10.0 to 10.2 -- Dell Latitude D610. In 10.0 power off button worked. Lid close -- worked (suspend to ram).

In 10.2 none of them work.

I retitled this report since it is no longer "some old ATX board" case.
Comment 16 macias - 2006-12-27 09:33:37 UTC
Retitled again (back; sorry). This laptop story is quite other case -- see:
https://bugzilla.novell.com/show_bug.cgi?id=230841

Superficially they looked the same but they are not the same. So, here is the case as described in the report and #4 comment.
Comment 17 Greg Kroah-Hartman 2007-01-12 04:27:55 UTC

*** This bug has been marked as a duplicate of bug 221667 ***