You are not logged in.

#1 2005-02-23 18:15:45

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

APM or ACPI

Hi all! I have notebook, but i cant setup its power managment, ie notebook dont sleep then i press power button, or close monitor. It is possible to setup without recompile the kernel? I think it will be slow on p3.
PS: Notebook model : Fujitsu-Siemens S-5582.

Offline

#2 2005-02-23 19:21:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: APM or ACPI

Net@Worm wrote:

Hi all! I have notebook, but i cant setup its power managment, ie notebook dont sleep then i press power button, or close monitor. It is possible to setup without recompile the kernel? I think it will be slow on p3.
PS: Notebook model : Fujitsu-Siemens S-5582.

in lilo.conf or menu.lst, append "apm=off acpi=on" to your kernel boot params.

then run "pacman -S acpid" and add acpid to you DAEMONS=() array in rc.conf

that should do it...

you can later creat custom power scripts, but the defaults are fine with me

Offline

#3 2005-02-23 21:28:30

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: APM or ACPI

It didnt help sad. Then kernel start acpi post devices, modes, all looks ok. Then i run acpi_listen and press power button,  this line appearing:

button/power PWRF 00000080 00000015

Offline

#4 2005-02-24 10:37:45

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: APM or ACPI

It works, but not all. Works only bios setting to poweroff monitor, hd, etc. But didnt work standby(suspend) and power button. Pls help.

Offline

#5 2005-02-24 16:30:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: APM or ACPI

Net@Worm wrote:

It works, but not all. Works only bios setting to poweroff monitor, hd, etc. But didnt work standby(suspend) and power button. Pls help.

by "standby" you mean suspend-to-ram, correct? suspending to ram, and "hibernating" (suspend-to-disk) are odd beasts under linux...

for monitor blanking, you can always just use "xset"

Offline

#6 2005-02-24 17:54:43

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: APM or ACPI

So, suspend will not works?
PS: thnx for help.

Offline

#7 2005-02-24 19:11:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: APM or ACPI

well, suspend to disk is unstable and requires a kernel patch, as far as I know.... suspend to ram...

be careful with this, but you can try:

echo 3 > /proc/acpi/sleep

to see if it works...

if it works, we can go from there... it doesn't work all the time... and sometimes has problems (video and sound card can't resume, things like that)

Offline

#8 2005-02-25 13:13:53

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: APM or ACPI

echo 3 > /proc/acpi/sleep

It doesn't work: computer sleeps, but dont wake up.
Will wait for new kernel smile.

Offline

Board footer

Powered by FluxBB