Subject: Re: power management
To: Charles M. Hannum <mycroft@MIT.EDU>
From: Jachym Holecek <>
List: tech-kern
Date: 06/22/2006 19:49:26
# Charles M. Hannum 2006-06-22:
> There's an important item you missed.  Drivers need to supply positive
> acknowledgement before a suspend happens.  If there are drivers
> incapable of suspending properly, the system should not suspend -- you
> should never see "the machine woke up, but XXX doesn't work any more".
> Preferrably, the architecture for this should inform the user *which*
> devices failed.

Thanks for reminding me:

	[... pm code ...]
	if (ca->ca_activate == NULL) {
		if (suspending)

This is one of the reasons I'd prefer to use ca_activate.

	-- Jachym