Power button

Asked by ddlaterreur

Hello,
I have a problem with my power button! Indeed, when I press on physical power button (hardware), the computer shutdown power supply. And when a shutdown ubuntu (software) with "sudo shutdown -h now" the computer shutdown HD but not power supply.
It's a software problem because with windows and ubuntu 6.06 all works well.
I change features in Power Manager Panel but that change nothing.
So I want to configure my computer to shutdown my computer when a press on physical and software power button (shutdown all: HD and power supply correctly)
Someone can help me ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Solved by:
ddlaterreur
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

if you run this command from a terminal (ctrl+alt+T (<11.04), from dash (unity only) or from application menu(gnome))

watch ' dmesg | tail '

does anything appear up when you press the power button? You can press Ctrl+C to abort the command.

Revision history for this message
ddlaterreur (sebpoub) said :
#2

Nothing appear because the computer shut down immediately (there are no protocol to shutdown). It's like unplug the computer.
And if I click to shutdown button on GUI (or with this command: "sudo shutdown -h now"), the computer shut down with protocol hard disk but no all in the computer.
There is this message on the screen:

Ubuntu 10.10
. . . . [ 98.488496] System helted. 1 seconds.... g all remaing processes to terminate... [OK]
* Deconfiguring network interfaces... [OK]
* Unmounting weak filesystems.. [OK]
* Will now halt [OK]

I don't understand why the first and second dot are in red:
Unbuntu 10.10
. .(in red) . . [ 98.................

Revision history for this message
ddlaterreur (sebpoub) said :
#3

someone can help me ?

Revision history for this message
mycae (mycae) said :
#4

Well, according to that, it appears to work just fine as far as the kernel is concerned. You might want to try loading your kernel without acpi using noacpi -- it could be an error in your BIOS' firmware. Though, I am guessing.
https://help.ubuntu.com/community/BootOptions

Alternatively try updating your BIOS to its latest version.

Revision history for this message
ddlaterreur (sebpoub) said :
#5

I try loading my kernel with change noacpi, but nothing change on my problem.
I saw my computer BIOS date is older than 2000 (1998 because it's old server) so I wrote in GRUB: acpi=force
Now, if I shutdown my computer (with this command: "sudo shutdown -h now"), all are okay; the computer shut down with protocol hard disk and power supply.
But there is one problem :S : When I press the physical power button nothing happens !

Revision history for this message
ddlaterreur (sebpoub) said :
#6

Thank you
All my problems are solved. I used acpi=force and power manager app.