Skip to contentSkip to conversation

How to Power off with ACPI/APM?

DISCUSSION Michael D. Crawford 2 participants 2 messages Jan 5, 2001 – Jan 6, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

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.

Mike

Signature · 10 lines
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com/
[email protected]

   Tilting at Windmills for a Better Tomorrow.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 11 lines · Michael D. Crawford
Quoted 2 lines

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.

Quoted 8 lines

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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/