[UFO Chicago] APM on sid
Fri, 24 Aug 2001 20:13:50 -0700 (PDT)
Folks, thanks for all your help. Finally got APM
poweroff to work. Here're the options pertaining to
APM in my .config. Worked on 2.4.8 with a few other
patches (unrelated to APM, though).
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
Before, I had CONFIG_APM_DO_ENABLE,
CONFIG_APM_REAL_MODE_POWER_OFF enabled. I wonder why
that'd be a problem (please tell me if you do know).
Anyway, the important thing is I got it to work.
P.S. Sorry I can't attend the meetings at George's. I
live pretty far off (Lombard). Would love to as soon
as I get a chance.
--- Elliot Shank <email@example.com> wrote:
> Fawad Halim wrote:
> > 1. Why does Mandrake power down while Debian
> Interesting related note: RH6.2 automatically
> powered off on halt(8).
> RH7.1 does not. Yet, if I select the "Halt" option
> from the Gnome log
> out dialog, the machine /is/ powered off. I've been
> wondering at this
> for a while but your email prompted me to look at
> the halt man page,
> which I hereby quote:
> halt, reboot, poweroff - stop the system.
> /sbin/halt [-n] [-w] [-d] [-f] [-i] [-p]
> /sbin/reboot [-n] [-w] [-d] [-f] [-i]
> /sbin/poweroff [-n] [-w] [-d] [-f] [-i]
> Halt notes that the system is being brought
> in the file /var/log/wtmp, and then either
> the kernel to halt, reboot or poweroff the
> If halt or reboot is called when the system
> is not
> in runlevel 0 or 6, shutdown(8) will be
> instead (with the flag -h or -r).
> [sniped for brevity]
> -p When halting the system, do a
> This is the default when halt is
> called as
> [snip again]
> Under older sysvinit releases, reboot and
> should never be called directly. From release
> on halt and reboot invoke shutdown(8) if the
> is not in runlevel 0 or 6. This means that if
> or reboot cannot find out the current
> (for example, when /var/run/utmp hasn't been
> initialized correctly) shutdown will be
> which might not be what you want. Use the -f
> if you want to do a hard halt or reboot.
> So, I'm thinking I ought to try out the poweroff
> Mmmmmmm... I'm liking that -n option. NOT! I don't
> see what use that
> option is for other than testing fsck.
> > 2. How do I find out what compilation options the
> > mandrake folks used to compile their kernel?
> Not that it helps your situation, but RedHat has
> started including all
> their configs for their kernels:
> elliot@nil 3 10:54:12 0> l --width=70
> UFO Chicago -- Users of Free Operating Systems
> Free Software Rules -- Proprietary Drools!
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger