LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2002, 08:26 AM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
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
 
Old 04-28-2002, 04:12 PM   #2
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
Disable SMP Support in kernel and recompile it.
 
Old 05-07-2002, 12:59 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
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
 
Old 05-08-2002, 02:07 AM   #4
urinal cake
LQ Newbie
 
Registered: Feb 2002
Posts: 27

Rep: Reputation: 15
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.
 
Old 05-08-2002, 02:50 AM   #5
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
Choose

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

Then recompile kernel and try again...
 
Old 05-19-2002, 09:57 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
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
 
Old 05-29-2002, 09:28 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
What happens if you do "modprobe apm"?
 
Old 05-30-2002, 04:10 AM   #8
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
poweroff Poszukiwacz Ubuntu 2 08-17-2005 05:10 AM
how to poweroff ?? perdesiz Linux - Laptop and Netbook 5 12-29-2004 03:31 AM
Slackware 9.1 poweroff iZvi Linux - Hardware 24 12-04-2004 06:00 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
poweroff praveen_2003 Linux - Software 1 07-13-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration