Skip to content

Echoaudio - add suspend/resume support

Giuliano Pochini alsa-devel 1 version In review

Get series with b4
b4 am 20100130163123.54d60739@Jay

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Echoaudio - add suspend/resume supportalsa-kernel/pci/echoaudio/darla20_dsp.c alsa-kernel/pci/echoaudio/darla24_dsp.c alsa-kernel/pci/echoaudio/echo3g_dsp.c +15 more+69 -650 replies
2/5Echoaudio - add suspend/resume supportalsa-kernel/pci/echoaudio/echoaudio.c alsa-kernel/pci/echoaudio/echoaudio.h+41 -40 replies
3/5Echoaudio - add suspend/resume supportalsa-kernel/pci/echoaudio/darla20_dsp.c alsa-kernel/pci/echoaudio/darla24_dsp.c alsa-kernel/pci/echoaudio/echo3g_dsp.c +12 more+115 -800 replies
4/5Echoaudio - add suspend/resume supportalsa-kernel/pci/echoaudio/echoaudio.c alsa-kernel/pci/echoaudio/echoaudio.h alsa-kernel/pci/echoaudio/echoaudio_dsp.c+222 -780 replies
5/5Echoaudio - add suspend/resume supportpci/echoaudio/echoaudio.patch+29 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Echoaudio - add suspend/resume support

The following patch set adds suspend/resume support to all echoaudio drivers. It has been tested on an IndigoIOx and a Gina3G. Rawmidi device has been tested partially. PCM and controls interfaces have been tested more and I think it's reasonably safe. I also have a Gina24 and a Gina3G, but I didn't test suspend/resume with them because I couldn't manage to make PM test system work on my pmac.

Echoaudio soundcards do not support power management and Dx PCI states. Anyway, the card can enter a "comatose" state by sending a command to the DSP that is supposed to turn parts of the hardware off and reduce power consumption. Doing that causes the loss of the card's internal state, thus it is impossible, upon resume, to make the card continue from the exact point where it was suspended. The driver restores all controls and PCM settings and the applications have to call prepare() to restart the substreams. Rawmidi is restarted automatically, but some data in the i/o buffers may be lost.

Signature · 1 line
Giuliano.