Hi Frederik, Let me see if I can answer your questions.
Frederik Eaton wrote: > I am sorry to be trouble, there is probably an easy solution but I > couldn't find it after some time, so I am submitting this as a > documentation bug, hopefully the situation can be improved for future > users even if my question is addressed. > > I just want to turn of my network interfaces on suspend (maybe this > happens automatically with some desktop environment or using > /etc/network/interfaces but I don't use those), so I looked around and > found /etc/acpi/suspend.d/ and put a script in there. It doesn't seem > to run on suspend, which I do with > > acpitool -s Ahhhh... acpitool is a low-level tool which runs *nothing* on suspend. It is not really intended for end user usage, because it doesn't integrate with the system at all. So that explains it. If you want to use the suspend method as specified in /etc/default/acpi-support, you need to run /etc/acpi/sleep.sh. The trouble here is that suspend on Linux is an absolute mess. There is confusion between layers: acpitool is a low-level hardware tool while acpi-support and pm-utils both deliver a high-level suspend system integrated with the system. There is no central place to put scripts (acpi-support and pm-utils both have their own systems for this, and there are even more suspend systems!). The only way to fix this is for the various authors to get together and make arrangements. I haven't had much success cooperating with the pm-utils folks in the past, and the acpi-support upstream is not too cooperative either. All in all, I've given up. I've deprecated the acpi-support suspend system in favor of the pm-utils one so that there's at least *some* semblance of a single suspend system (especially since gnome-power-manager forces the use of pm-utils and we like to keep behaviour consistent with that). Anyway, I might be able to add some docs, but it's going to remain a mess whatever I do... Cheers, Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

