LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-08-2003, 05:12 PM   #16
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50

aaa, this is more complicated than I thought.

you can read all about acpi here:

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt

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
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 262

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

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

/etc/rc.d/rc.M

(uncomment the apm daemon section if necessary)

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

Code:
$ 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
aaa
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
aaa
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.
 
  


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
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration