Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-02-2010, 09:10 PM   #1
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Rep: Reputation: 55
APM. Making the system go into standby.

GNU/Linux 2.6, Slackware 12.0
apmsleep 1.3, revision 1.1

I found, via 'apropos standby', the apmsleep command and I am reading the man page.
The manual (man page) speaks about the required system configuration and says:

Kernel: The special character device /dev/rtc must exist and the kernel
needs to be compiled with APM and RTC support.

BIOS: The computer must have the 'suspend to RAM' feature enabled in the
BIOS; 'suspend to Disk' will not work, because the computer is
turned off completely. You do not need to enable the ALARM timer,
it will be activated by apmsleep. On some boards, you can config-
ure which interrupts can be used to awake from suspend mode. If
you have such a board, you might want to make sure that keyboard
(IRQ 1) and RTC (IRQ 8) are among those interrupts. If your com-
puter does not wake up, try to enable 'modem ring' in the BIOS,
even if you do not have a modem.

Here is what the program does:
$ apmsleep +00:05
apmsleep: Your kernel does not support APM.
apmsleep: Recompile kernel with APM and /dev/rtc support

I did ls -l /dev/rtc and the output was 'rtc -> misc/rtc'. So, I guess /dev/rtc exists. As to compiling with APM and RTC support, I would need some guidance. About the BIOS, I have checked the CMOS menu through and through and did not find the Suspend to RAM (or Suspend to disk, for that case) option. Mine is a Pentium Celeron desktop computer. I can say that, running other o.s. on this machine, I can put it into standby, indeed.

However, the author says he tested the program on a Winbook XL laptop (Pentium) only. Also, the manual is dated January 2004. 'apmsleep --version' gets
Version: $Revision: 1.1 $ (apmsleep 1.3).
I would greatly appreciate any suggestions.

Some pieces of information which could be useful to a
would be helper:
(a) At the time of this writing, the system puts the monitor into standby after some 30m have elapsed.
(b) Motherboard ID ends with M758LT-H.
(c) The Slackware package containing apmsleep is apmd-3.2.2-i486-1

P.S.: Maybe I should have posted this post in the hardware forum. If so, please let me know and I will try to have it moved there.

Last edited by stf92; 06-03-2010 at 12:05 AM.
Old 06-03-2010, 12:42 AM   #2
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Original Poster
Rep: Reputation: 55
Is it possible to add APM support to the kernel by inserting some module? Thanks in advance.
Old 06-03-2010, 10:08 AM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Original Poster
Rep: Reputation: 55
I now see its very like my running kernel ( already has ACPI support build into it. So, for the time being, I'll shift my attention to ACPI and will unsubscribed from the thread and mark it 'solved'. Sorry for the waste of time employed by whoever read these posts.


apm, power, standby

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
Slackware 12 standby/restore on a T21 (ACPI-APM confusion) threecaster Linux - Laptop and Netbook 0 01-14-2009 09:08 PM
Standby lockups with APM and kernel 2.6.8 rdibley Linux - Laptop and Netbook 0 02-19-2006 07:17 PM
disable apm standby on lid close laurentwahl Linux - General 0 05-03-2005 04:54 PM
Is there a way to use APM for a full standby? sznet88 Fedora 0 07-29-2004 08:46 PM
system standby for redhat applelinuxman Linux - Software 2 02-22-2004 08:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 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