LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-21-2002, 08:48 AM   #1
NRTJ
LQ Newbie
 
Registered: Sep 2002
Location: Singapore
Distribution: RH 7.2
Posts: 2

Rep: Reputation: 0
Cool How to go into "standby" (as in Windoze) using RH7.2


My thanks

My first Post. I am just two weeks into Linux, have spent many hours every day on LQ resolving issues on my own, so many tks for all the help given in the threads. I have just a few problems left (and I promise I have checked everywhere before writing this..)


Summary question

I would like to understand how to put my RH Linux box (which acts as a server to my Windoze machines) into "standby" automatically and have it wake up very quickly when pinged from my other machines. I use "standby" in the Windoze sense of shut off the CPU, idle the disks AND the case fans and be ready to immediately 'wake up' (i.e. not need to reboot) when prompted by my Windoze machines. Problem is I cannot workout how to switch off the case fans in the Linux standby and suspend sense.


More background - my setup

I have various Windoze machines in the house running XP Prof and, until very recently, had my server running XP Prof in the spare room holding my audio and data files. Everything works reasonably OK using M$ - when none of the 'Users' need audio or data the server goes into standby, with CPU, disks AND fans shutting off. When I use the Windoze machines and prompt for audio or data files the WOL causes the server to wake up in about 20s. It goes back to standby after 20 mins if I stop using it. Of course, Windoze is forever going wrong so I have to keep rebooting the server for some problme or other. I now set up a dual boot machine with XP Prof / RH7.2 using samba and have mounted the windows files so that the Windoze machines can access the files on the server. After much blood, sweat (and tears) and reading LQ (of course) everthing works EXCEPT the standby.


What have I tried so far?

1) At the shell prompt I have experimented with shutdown and poweroff and various permutations discussed in the posts. I can get the machine to reduce power, stop the CPU and idle the HDDs but it leaves all the case fans and the HDDs fans running. The server is a huge box of disks with so many fans that I need to shut off the fans for most of the day (when I am not using the server). I can only get the fans to stop with poweroff but this is no good since it will then not WOL and then takes ages to reboot.
2) Using K I have gone Control Center > Power Control > Energy and ticked the standby, suspend and power off boxes - but it still leaves all the fans running....
3) I have tried disabling the APM and tried to rely on the BIOS APM alone, but still no success
-- I know that the hardware can do what I want it woks in Windoze ...


One final detailed question

If I can ever solve this problem, I have a more detailed question about how to speed up the WOL, should I consider some form of hibernation - I saw one Post where someone was trying to work out how to emulate the laptop concept of hibernation.

My thanks in advance to you all in helping me.
 
Old 09-21-2002, 02:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
linux does not support acpi properly yet. it is not possible.

sorry it's such a short answer for such a well researched and written question! (no, really i mean it - they tend to be something of a rarity round here)
 
Old 09-21-2002, 11:20 PM   #3
NRTJ
LQ Newbie
 
Registered: Sep 2002
Location: Singapore
Distribution: RH 7.2
Posts: 2

Original Poster
Rep: Reputation: 0


Chris / acid_kewpie

Many thanks for the fast answer. A little disappointing that I have found a drawback to Linux. A few follow up thoughts:

- any views/ guesstimates as to when RH might develop the required acpi?

- is there a RH 'suggestion box' to raise this issue. It occurs to me that this will be important if Linux is to make a smooth transition from server market to home PC market?

- currently I am using a RH distribution, do you happen to know whether any of the other distributions have resolved this issue.

As ever, thanks for your time.
 
Old 09-22-2002, 06:47 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
the issue is not distribution specific. ALL distro's are built around the Linux kernel, and it is that that deals with issues such as this. I *think* that the 2.6 kernel branch will finally include acpi compatability, and when it does, all distros next releases will include it too...

As for your request for a suggestion box, well it is a well known short fall, and the kernel developers are certainly aware about it!
 
Old 09-22-2002, 06:50 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
a kernel patching team have also been working on it...

http://acpi.sourceforge.net/
 
Old 09-27-2002, 05:18 AM   #6
agassi999
LQ Newbie
 
Registered: Sep 2002
Location: taiwan
Posts: 3

Rep: Reputation: 0
Hi NRTJ
Have seen your post, I am interesting to how to reduce power, stop CPU and idle HDDs. Since you doesn't allow to send email through LQ, I reply this post and hope that you will see it. Would
you mind to tell me what should I do to achieve the status metioned above?
Thanks.
 
Old 09-27-2002, 05:27 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well he did explain how to do it through KDE. All kde will do is configure apm. read the manpage for "apm" or "apmd"
 
Old 09-29-2002, 09:43 PM   #8
agassi999
LQ Newbie
 
Registered: Sep 2002
Location: taiwan
Posts: 3

Rep: Reputation: 0
Thanks to acid_kewpie for quickly answering.
And I have another question, hope you could teach me.
Does RedHat have any API or Lib for user's program calling to setup BIOS before SHUTDOWN, just like windoze, to achieve auto power on?
 
  


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
Screen not off in "Suspend" or "StandBy" Riddick Linux - Laptop and Netbook 8 09-22-2005 05:50 AM
(echo -n "standby" > /sys/power/state) only allowed for root? brynjarh Debian 5 02-14-2005 10:08 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-07-2005 12:44 AM
"windoze" "winblows" "M$" ? ugoff General 25 01-04-2005 10:26 PM
RH7.1 -"NV-GLX" missing on display ":0.0" octane Linux - Distributions 3 06-22-2001 04:38 AM


All times are GMT -5. The time now is 07:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration