Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-08-2003, 05:12 PM   #16
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 756

Rep: Reputation: 53

aaa, this is more complicated than I thought.

you can read all about acpi here:

frankly, it is a bit involved.
I think I will backtrack, and suggest you recompile with apm only (as a module). Then make sure as I said before:

uncomment the APM line in your etc/rc.d/rc.modules file:
/sbin/modprobe apm

acpi support is at a more experimental level than apm, and unless you have a laptop which needs acpi, I would go with the apm, it works for most people.

sorry if I misled you.

did you check your bios by the way?
Old 07-08-2003, 05:15 PM   #17
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 284

Rep: Reputation: 38
Here is how it works on my machine (IBM A22e laptop):

Make sure that the apm daemon is started by taking a look at:


(uncomment the apm daemon section if necessary)

If the apm daemon has already been launched, you can check its presence by typing the following:

$ sudo ps -faxu | grep apm
root        36  0.0  0.0     0    0 ?        SW   Jul08   0:00 [kapmd]
root       686  0.0  0.1  1356  524 ?        S    Jul08   0:00 /usr/sbin/apmd
You can also try the dmesg command to make sure it was launched properly when the 'puter was switched on.

Then, as root, simply enter:

apm --suspend

However, you need to know that some machines have severely broken BIOS, that do *not* conform to the APM/ACPI standards. On such machines, the commands shown above probably won't work...

Off-topic: don't bother compiling a new kernel for your machine if you can upgrade using the kernel 2.4.21 packages from Slackware. I used this package on my machine, and apm support is compiled right in.

Hope this helps...
Old 07-09-2003, 11:51 AM   #18
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
I have a cheap bios that didn't have anything on apm or acpi. I'll try using apm only like you suggested.
Old 07-11-2003, 11:25 AM   #19
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
I recompiled the kernel with no acpi and apm as a module, and also uncommented the line in rc.modules, but I ended up almost where I began. I think this means that my bios doesn't support apm, so I'll have to download the 2.4.21 kernel since it supports acpi sleep. Thanks.


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
How to Power-Off with Button? win32sux Linux - Hardware 6 07-01-2006 01:19 PM
disabling my power button yocomoqueso Linux - Hardware 1 06-27-2005 08:42 PM
There is no power off button on gdm folken718 Slackware 6 08-02-2004 04:45 AM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 08:08 PM
Can I use the power button like in Windows? Mackan Linux - Newbie 2 03-16-2002 03:43 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 PM.

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