Re: How to Power off with ACPI/APM?

From: idalton@ferret.phonewave.net
Date: Fri Jan 05 2001 - 22:06:10 EST


On Fri, Jan 05, 2001 at 06:18:02PM +0000, Michael D. Crawford wrote:
> > Silly question, but have you realized that you don't have to enable
> > SMP in kernel to do multithreading ?
>
> Lest anyone think me completely clueless, yes, I'm well aware of that. It's
> just that I wanted to have that warm fuzzy feeling the comes from pretending I
> had the cash to buy a dual processor machine when I bought this PC.
>
> I had planned too, but my laptop died and I needed a new box in a hurry so I had
> to get what I could get. It's a decent motherboard though, for being single
> processor.
>
> On the other hand, I did identify that you can't power off with smp enabled
> unless (as someone helpfully posted) you give this parameter in lilo or grub:
>
> apm=power-off
>
> While the SMP config option says APM doesn't work if you have SMP enabled (so I
> should have known), it would be helpful to mention that you can still power off
> this way.

It would be even more helpful to make this into a kernel configuration
option dependant on the SMP setting (disable APM configuration, and ask
'Power off machine on shutdown?' instead).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:24 EST