Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
REQUIRED SYSTEM CONFIGURATION.
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.
I now see its very like my running kernel (220.127.116.11) 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.