Re: swsusp: don't eat ide disks

David Woodhouse (dwmw2@infradead.org)
Thu, 07 Nov 2002 22:25:53 +0000


andrew.grover@intel.com said:
> Yes, ACPI can and should use standard kernel interfaces when they are
> available.

I'd go further than that. Where it's blatantly obvious that a standard
kernel interface is going to be required for some functionality for which
ACPI is the first implementation, that generic interface should have been
implemented from the start.

> The interfaces you're talking about don't exist yet, but
> could be added.

Actually I do have boxes on which I "echo 1 > /proc/sys/pm/suspend" to make
them sleep. Pavel's right though -- that's not a particularly wonderful
interface either. Using sys_reboot() makes some sense to me.

But stuff like battery info in /proc/acpi just has no excuse.

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/