[alsa-devel] Power management state flow in ALSA

Nobin Mathew nobin.mathew at gmail.com
Wed May 30 08:22:31 CEST 2007

I am having a doubt regarding ALSA power management.

My understanding of APM suspend() is like this.

Freeze the ALSA apps

Call ALSA driver suspend ()

in the ALSA suspend() function it saves the current state of substream
and changes the state of substream to SUSPENDED.

My understanding of APM resume() is like this

Call ALSA driver resume ()

Activate the ALSA apps

In ALSA resume function it restores the saved state of substream.

So my question is when ALSA app will get to know the SUSPENDED state
of substream.???

I am using linux kernel 2.6.17
ALSA driver version 1.0.11rc4
ASoC patch version 0.12.4

More information about the Alsa-devel mailing list