LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   APM poweroff (https://www.linuxquestions.org/questions/slackware-14/apm-poweroff-19663/)

NSKL 04-28-2002 08:26 AM

APM poweroff
 
I have a chaintech motherboard and i compiled APM support and "use apm BIOS calls to power off" into the kernel and the Linux powers off the computer automatically after the halt script finishes (last message is "power off" and the computer powers off by itself, a feature of all the newer motherboards i beleive.
Now i have a new computer, a ASUS A7V266-a motherboard and i compiled both APM and "use apm BIOS calls to power off" into the kernwl as before, but this time the computer doesnt power off, but when halt script is done, the system waith with "power off", last message of halt script for me to manually power it off, by holding the power button for 5 seconds. Now this is very annoying as you might expect, So is there a way to force the kernel (apmd) to automatically power off this motherboard as well? what should i do to make it working like the chaintech motherboard?
Thanks in advance to everyone

-NSKL

CARTMAN 04-28-2002 04:12 PM

Disable SMP Support in kernel and recompile it.

NSKL 05-07-2002 12:59 PM

SMP support is disabled, kapm and apmd are running but the computer still doesnt power off. What else could cause this problem, maybe some BIOS settings are not letting Linux kernel pass the instruction to power off to the motherboard?
Thanks fro help

-NSKL

urinal cake 05-08-2002 02:07 AM

How it works for me..
 
KG7-RAID. I compiled only apm and put it in kernel, instead of as a module. I skipped the 'BIOS power off' thing (too lazy to go look what it's called). When I say 'halt', the sytem powers off. Don't know if that's exactly what you did, but if you have apm support as module, try moving it into the kernel.

CARTMAN 05-08-2002 02:50 AM

Choose

(*)Advanced Power Management BIOS Support
(*) Ignore USER SUSPEND
(*)Enable PM at boot time

Then recompile kernel and try again...

NSKL 05-19-2002 09:57 AM

Did that, still no luck. The halt script stops with "power off" but the computer doesnt power off automatically... Are there any other things i should enable?
Thanks in advance
-NSKL

Aussie 05-29-2002 09:28 AM

What happens if you do "modprobe apm"?

NSKL 05-30-2002 04:10 AM

I got it to work after fiddling around with APM kernel support. I disabled ACPI and left only APM support, and disabled "Use APM bios calls to power off" and now it works, with only APM support without any additioanal things.
Thanks to everyone again.

-NSKL


All times are GMT -5. The time now is 12:23 PM.