public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Lars Bungum <lars@bungum.no>
To: Beolach <beolach@comcast.net>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Machine to power off automatically.
Date: Tue, 13 Jan 2004 09:29:32 +0100	[thread overview]
Message-ID: <1073982571.1899.5.camel@shostakovitsj.larsemann> (raw)
In-Reply-To: <4002130D.6050504@comcast.net>

On Mon, 2004-01-12 at 04:22, Beolach wrote:
> Lars Bungum wrote:
> > On Sun, 2004-01-11 at 13:50, John Kelly wrote:
> > 
> >>>I can't get my machine to turn itself off automatically (when I tell it
> >>>to do so in KDE), it just hangs saying "Power Down".  Is there some
> >>>option I have to enable in order to get this working?  Looked at the
> >>>APM/ACPI sections, but felt that was more related to laptops and
> >>>batteries, etc.  My BIOS was too old for ACPI, anyway.
> >>
> >>You don't say which distro or kernel you are using, which may help.
> >>For what it is worth I had this problem a while ago. My Redhat box died and the 
> >>only CD I had was debian. The new debian box (kernel2.4.18) would not power down 
> >>automatically. I just loaded the apm module and things then worked as expected.
> > 
> > 
> > John,
> > 
> > my system is based on RH9, with the kde-redhat project inside using
> > apt-rpm.  However as shutting the machine off works with the exact same
> > configuration only booting a different kernel (the 2.4.18 shipped with
> > RH) I suspect some option/module must be set in the kernel to get this
> > working.  The "apm" module is loaded, and the "apmd" daemon from the
> > RedHat system is started and runs without error.
> > 
> > My problem is that I don't really know what is supposed to make this
> > particular feature work.  Is it apm?  When I read the docs about
> > APM/ACPI it seemd all to be about battieries and other laptop-related
> > matters, and my machine is just a standing desktop.  So what software is
> > it that is supposed to make this work?
> > 
> > --lars
> > 
> 
> APM = Advanced Power Managment
> ACPI = Advanced Configuration and Power Interface
> 
> It would be one of these options that would handle shutting down the 
> power on your computer, most likely APM if you have an older BIOS.  It 
> does also take care of batteries on laptops, but it is Power Managment 
> in general, not just batteries that it handles.
> 
> As to fixing your problem, you did say the APM module is loaded & apmd 
> is running without errors, so my best guess is that your APM module is 
> missing some option required for it to work right on your machine.  Look 
> through your kernel config and check a couple options that you think 
> might have to do with this, such as "CONFIG_APM_REAL_MODE_POWER_OFF":
> 
> 	Use real mode APM BIOS call to power off
> 
> 	Use real mode APM BIOS calls to switch off the computer. This is 
> 
> 	a work-around for a number of buggy BIOSes. Switch this option
> 	on if your computer crashes instead of powering off properly.

Con, 

thanks a bunch for your illuminating clarifications.  When I altered
some options under APM, it worked.  (My BIOS was too old for ACPI).  As
I enabled more functions, I can't really know what the trick was, but I
suspect that it actually was compiling apm directly into the kernel
instead of loading it as a module.  The
"CONFIG_APM_REAL_MODE_POWER_OFF": was enabled all the time.

BTW: Another "strange" thing I saw, is that my isapnp Soundblaster
stopped working when I compiled a kernel with pnp BIOS.  Something to
try if this is a problem, I guess.

--lars

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

      reply	other threads:[~2004-01-13  8:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11  9:06 Machine to power off automatically Lars Bungum
2004-01-11 12:50 ` John Kelly
2004-01-11 17:57   ` Lars Bungum
2004-01-12  3:22     ` Beolach
2004-01-13  8:29       ` Lars Bungum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1073982571.1899.5.camel@shostakovitsj.larsemann \
    --to=lars@bungum.no \
    --cc=beolach@comcast.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox