[alsa-devel] Restore state around suspend/resume

Takashi Iwai tiwai at suse.de
Sun Nov 30 10:01:50 CET 2008


At Sat, 29 Nov 2008 12:40:02 -0800,
Dan Nicholson wrote:
> 
> Hi,
> 
> Currently, suspending the computer via pm-suspend (as done from HAL),
> causes the ALSA state to be stored and restored via alsactl. Here's
> what the hook looks like:
> 
> http://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/65alsa
> 
> Is this still necessary on recent kernels? Is there a list of drivers
> which properly maintain state across suspend/resume? We're trying to
> cut down on the amount of work done in userspace which slows down
> suspend cycles.

The all drivers with PM support should have do store/restore the
mixer states.  For such drivers, calling alsactl is just a waste of
time.

I don't know who introduced it, but maybe it was a workaround...


Takashi
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Alsa-devel mailing list