315 lines
12 KiB
HTML
315 lines
12 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.4F.n">
|
|
<TITLE>The Answer Gang 76: Soyo Shutdown</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!--endcut ========================================================= -->
|
|
<P> <hr>
|
|
<!--startcut ======================================================= -->
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<!-- *** END navbar *** -->
|
|
</CENTER>
|
|
</p>
|
|
<!--endcut ========================================================= -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<p align="center">
|
|
<table width="100%" border="0"><tr>
|
|
<td align="right" valign="center"
|
|
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
|
|
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
|
|
><A HREF="..//"
|
|
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
|
|
ALT="[ Table Of Contents ]" border="0"></A
|
|
><A HREF="../lg_answer.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
|
|
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
|
|
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
|
|
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
|
|
<A HREF="../tag/bios.html">Meet the Gang</A>
|
|
<A HREF="1.html">1</A>
|
|
<A HREF="2.html">2</A>
|
|
<A HREF="3.html">3</A>
|
|
<A HREF="4.html">4</A>
|
|
<A HREF="5.html">5</A>
|
|
<A HREF="6.html">6</A>
|
|
<A HREF="7.html">7</A>
|
|
<A HREF="8.html">8</A>
|
|
<A HREF="9.html">9</A>
|
|
<A HREF="10.html">10</A>
|
|
<A HREF="11.html">11</A>
|
|
<A HREF="12.html">12</A>
|
|
</td>
|
|
<td align="left" valign="center"><A HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
|
|
ALT="[ Index of Past Answers ]" border="0"></A
|
|
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
|
|
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
|
|
</p>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<!--endcut ========================================================= -->
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
|
|
border="0" align="middle">
|
|
<font color="#B03060">The Answer Gang</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
|
|
border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>By Jim Dennis, Ben Okopnik, Dan Wilder, Breen, Chris, and...
|
|
(<a href="bios.html">meet the Gang</a>) ...
|
|
the Editors of Linux Gazette...
|
|
|
|
and You!
|
|
<br>Send questions (or interesting answers) to
|
|
The Answer Gang
|
|
for possible publication
|
|
(but read the <a href="ask-the-gang.html">guidelines</a> first)
|
|
</H4>
|
|
</center>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<p><hr><p>
|
|
<!-- begin 7 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>Soyo Shutdown</H3>
|
|
|
|
|
|
<p><strong>From Tongke Xue
|
|
</strong></p>
|
|
<p></strong></p>
|
|
|
|
<!-- sig -->
|
|
|
|
|
|
<!-- sig -->
|
|
|
|
|
|
<p align="right"><strong>Answered By Jim Dennis, Karl-Heinz Herrmann, Heather Stern, Matthias Posseldt, Mike Orr
|
|
</strong></p>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Greetings!
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
You're the "Answer Guy" from LinuxDocs righ? (if
|
|
not, forgive me and trash this email).
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Mike]
|
|
Just to clarify.
|
|
Jim is the original Answer Guy, and used to write a column by that name
|
|
in Linux Gazette (LG). LG is copied into the Linux Documentation Project
|
|
and thus exists on all the <A HREF="http://www.linuxdoc.org/">Linux Documentation Project</A> (LDP) mirrors.
|
|
</blockQuote>
|
|
<blockQuote><DL><DT>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [JimD]
|
|
<DD><A HREF="http://www.linuxdoc.org"
|
|
>http://www.linuxdoc.org</A>
|
|
</DL></blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Mike]
|
|
Several months ago, we converted The Answer Guy to The Answer Gang,
|
|
and the column is now called The Answer
|
|
Gang. The Answer Gang also produces LG's Mailbag and 2-Cent Tips columns.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [JimD]
|
|
</blockQuote>
|
|
<blockQuote>
|
|
while I'm mostly lurking and lounging on a beach
|
|
in the Bahamas -- the virtual Bahamas, of course.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
... So, guess you've found the droids you were looking for.
|
|
</blockQuote>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Is there a way to have Linux automatically power off
|
|
my machine ... I recently discovered that while my
|
|
machine was <EM>off</EM> if I double clicked the mouse, (any
|
|
where) the machine would automatically boot ... I'm
|
|
using the Soyo Dragon+ motherboard.
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [K.-H.]
|
|
Yes. You need apm support in your kernel. In 2.2.x times there were not too
|
|
many options so it worked or not depending on your BIOS. Since 2.4.late
|
|
(like 16) there are lots of apm options to make it work on various boards
|
|
and BIOS versions.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Matthias]
|
|
That's no Linux problem at all. Your Linux system shuts down the machine
|
|
and powers it off, the same way as Windows does, right? And you can go
|
|
away for 2 hours, and no fan spins and no harddrive nor video card is
|
|
active. But you double click with your mouse and the computer boots.
|
|
That's a BIOS feature. Power On on Mouse event, or something like that.
|
|
You have to disable it in the BIOS -> Power Management menu.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
The ATX boards have this option, they are not completely off if powered
|
|
down, so they can use features like Power on on mouse click or power on on
|
|
keyboard event or Wake-On-LAN. Maybe your PC has a power switch on the
|
|
back, near the power cord. It completely powers off the PC (same as if you
|
|
would pull the plug ...)
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Heather]
|
|
There was however a recent tidbit on debian-laptops, that some APM will not
|
|
work - and therefore not properly turn off the machine even after shutdown -
|
|
with APIC support turned on. This makes sense as that's some nice features
|
|
from the SMP world for uniprocessors (if I understood the kernel source
|
|
help notes; y'all are free to correct me). This <EM>seriously</EM> affects laptop
|
|
users, who don't want a reboot sequence to pause and waste extra juice if
|
|
they had to change kernel options.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
Many laptops no longer properly support APM, since they don't bother to even
|
|
try debugging that it works (since the Borg from Redmond have very nice ACPI
|
|
support)... and I would not be terribly surprised if some desktop motherboards
|
|
are the same. Reports are that ACPI for Linux is actually usable for menial
|
|
day to day use like turning the whole box off properly, and suspend/resume
|
|
to some mild degree of usability. But a lot of work still needs to be done
|
|
for drivers to support different sleep levels.
|
|
</blockQuote>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Specifically, I'm wondering if there is some package
|
|
that I can install so that when I do `shutdown -h now`
|
|
the machine could just turn it self off.
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Matthias]
|
|
Dive into the BIOS options
|
|
<IMG SRC="../../gx/dennis/smily.gif" ALT=";-)"
|
|
height="24" width="20" align="middle">
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [K.-H.]
|
|
You could simply try:
|
|
</blockQuote>
|
|
<blockQuote><BLOCKQuote>
|
|
"halt -p" or "poweroff" instead of the shutdown command. That will call
|
|
shutdown anyway. Works on my laptop (kernel 2.2.18 and 2.4.4, 2.4.16
|
|
tested).
|
|
</BLOCKQuote></blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [JimD]
|
|
</blockQuote>
|
|
<blockQuote>
|
|
This information is spot on. As I said, the Answer Gang (including
|
|
Karl) answers most of the questions these days.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
BTW: many kernels kill not support APM (soft power switch for
|
|
desktop systems) under an SMP (symmetrical multi-processor) kernel.
|
|
I've heard that there are inherent race conditions, design flaws
|
|
in the APM spec, that makes most APM functions dangerous in an SMP
|
|
environment. Newer kernels seem to have an option to allow limited
|
|
APM functionality (specific soft power switch control) even on SMP
|
|
desktops. Read the kernel configuration help pages (make menuconfig,
|
|
select "Help" from the dialog) and the kernel docs (under
|
|
<TT>/usr/src/linux/Documentation</TT>) and maybe search Google!
|
|
(<A HREF="http://www.google.com/linux"
|
|
>http://www.google.com/linux</A> ) for details.
|
|
</blockQuote>
|
|
|
|
<!-- end 7 -->
|
|
<P> <hr> </p>
|
|
<!-- *** BEGIN copyright *** -->
|
|
<H5 align="center">This page edited and maintained by the Editors
|
|
of <I>Linux Gazette</I>
|
|
<a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 2002
|
|
<BR>Published in issue 76 of <I>Linux Gazette</I> March 2002</H5>
|
|
<H6 ALIGN="center">HTML script maintained by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6>
|
|
<!-- *** END copyright *** -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<p align="center">
|
|
<table width="100%" border="0"><tr>
|
|
<td align="right" valign="center"
|
|
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
|
|
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
|
|
><A HREF="..//"
|
|
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
|
|
ALT="[ Table Of Contents ]" border="0"></A
|
|
><A HREF="../lg_answer.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
|
|
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
|
|
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
|
|
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
|
|
<A HREF="../tag/bios.html">Meet the Gang</A>
|
|
<A HREF="1.html">1</A>
|
|
<A HREF="2.html">2</A>
|
|
<A HREF="3.html">3</A>
|
|
<A HREF="4.html">4</A>
|
|
<A HREF="5.html">5</A>
|
|
<A HREF="6.html">6</A>
|
|
<A HREF="7.html">7</A>
|
|
<A HREF="8.html">8</A>
|
|
<A HREF="9.html">9</A>
|
|
<A HREF="10.html">10</A>
|
|
<A HREF="11.html">11</A>
|
|
<A HREF="12.html">12</A>
|
|
</td>
|
|
<td align="left" valign="center"><A HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
|
|
ALT="[ Index of Past Answers ]" border="0"></A
|
|
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
|
|
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
|
|
</p>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<!--endcut ========================================================= -->
|
|
<P> <hr>
|
|
<!--startcut ======================================================= -->
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<!-- *** END navbar *** -->
|
|
</CENTER>
|
|
</p>
|
|
<!--endcut ========================================================= -->
|
|
<!--startcut ======================================================= -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|