How to Power off with ACPI/APM?
As suggested, I added:
apm=power-off
to the kernel line of my grub menu.lst file and now I can power off. I almost jumped when the machine snapped off - my bloody monitor doesn't go dark when it loses signal it lights up with an RGB test pattern (TTX - don't buy one).
I think the real reason it wasn't working was that, although I'm using a one-processor machine with a motherboard that only allows for one processor, I had enabled SMP in the kernel, and this disables APM.
In my own work I mostly do multithreaded software development and I just sort of felt like it would be good karma to enable it even if my machine didn't support it. Go figure. So this was mostly a user error, although I guess I've been helpful in discovering the current interaction of ACPI and APM.
I'll read up a bit more on ACPI and see what I can do with that later on.
Thanks for the help. If you're in the neighborhood, stop by:
http://linuxquality.sunsite.dk
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/
Quoted 8 lines · On 2001.01.05 Michael D. Crawford wrote:
In my own work I mostly do multithreaded software development and I just sort of
felt like it would be good karma to enable it even if my machine didn't support
it. Go figure. So this was mostly a user error, although I guess I've been helpful in discovering the current interaction of ACPI and APM.
Silly question, but have you realized that you don't have to enable SMP in kernel to do multithreading ?
Signature · 9 lines
J.A. Magallon $> cd pub mailto:[email protected] $> more beer Linux werewolf 2.2.19-pre6 #1 SMP Wed Jan 3 21:28:10 CET 2001 i686 - 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/
Quoted 4 lines · J . A . Magallon
Silly question, but have you realized that you don't have to enable SMP in kernel to do multithreading ?
That depends on your definition: If you really want to run multiple threads simultaneously (as opposed to concurrent i guess) i imagine you will either need more than one CPU or one of those new beasties which support multiple threads in parallel on their various execution units...
Dominik
Signature · 6 lines
http://petition.eurolinux.org/index_html - No Software Patents In Europe! http://petition.lugs.ch/ (in Switzerland) - 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/
Quoted 6 lines · On 2001.01.05 Dominik Kubla wrote:
Quoted 4 lines · J . A . Magallon
Silly question, but have you realized that you don't have to enable SMP in kernel to do multithreading ?
Quoted 6 lines
That depends on your definition: If you really want to run multiple threads simultaneously (as opposed to concurrent i guess) i imagine you will either need more than one CPU or one of those new beasties which support multiple threads in parallel on their various execution units...
Nope. You can run multiple threads "simultaneously" on an uniprocessor, so simultaneous as the rest of the processes the cpu is running. Of course the efficiency of multi-threading drops on an uni-processor if your threads only do hard math work and no IO, but a thread can be crunchin numbers at the same time one other is waiting for IO even on a one cpu box. Think on an app that does read-process-write in loop. Two parallel threads on an uniprocessor can overlap IO and process and be more efficient than a non-threaded version.
Signature · 9 lines
J.A. Magallon $> cd pub mailto:[email protected] $> more beer Linux werewolf 2.2.19-pre6 #1 SMP Wed Jan 3 21:28:10 CET 2001 i686 - 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/