Skip to contentSkip to conversation

Echoaudio - add suspend/resume support

PATCH In review Giuliano Pochini 2 participants 5 messages Jan 30, 2010 – Feb 15, 2010

lore
Share & tools
lore
#0 lore raw

cover 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.
#1 lore raw
Quoted 1 line · On Sat, 30 Jan 2010 16:31:23 +0100 Giuliano Pochini <[email protected]> wrote:

The following patch set adds suspend/resume support to all echoaudio drivers.

Ping.

Signature · 1 line
Giuliano.
#2 lore raw

At Thu, 11 Feb 2010 21:07:00 +0100,

Quoted 7 lines · Giuliano Pochini
Quoted 1 line · On Sat, 30 Jan 2010 16:31:23 +0100 Giuliano Pochini <[email protected]> wrote:

The following patch set adds suspend/resume support to all echoaudio drivers.

Ping.

Not all your patches have been delivered (maybe dropped?). Could you repost and add me to Cc? I don't check ML so much nowadays, so it may be easily overlooked.

thanks,

Takashi

#3 lore raw
Quoted 6 lines · On Sat, 13 Feb 2010 20:25:19 +0100 Takashi Iwai <[email protected]> wrote:

At Thu, 11 Feb 2010 21:07:00 +0100,

Quoted 4 lines · Giuliano Pochini

On Sat, 30 Jan 2010 16:31:23 +0100
Giuliano Pochini <[email protected]> wrote:

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

The following patch set adds suspend/resume support to all echoaudio drivers.

Ping.

Not all your patches have been delivered (maybe dropped?). Could you repost and add me to Cc? I don't check ML so much nowadays, so it may be easily overlooked.

I received my messages back from the ml, so maybe the spam filter of your mailbox dropped them.
I'm sending them again.

Signature · 1 line
Giuliano.
#4 lore raw

At Sun, 14 Feb 2010 18:14:53 +0100,

Quoted 14 lines · Giuliano Pochini
Quoted 10 lines · On Sat, 13 Feb 2010 20:25:19 +0100 Takashi Iwai <[email protected]> wrote:

At Thu, 11 Feb 2010 21:07:00 +0100,

Quoted 7 lines · Giuliano Pochini
Quoted 1 line · On Sat, 30 Jan 2010 16:31:23 +0100 Giuliano Pochini <[email protected]> wrote:

The following patch set adds suspend/resume support to all echoaudio drivers.

Ping.

Quoted 7 lines
Quoted 3 lines

Not all your patches have been delivered (maybe dropped?). Could you repost and add me to Cc? I don't check ML so much nowadays, so it may be easily overlooked.

I received my messages back from the ml, so maybe the spam filter of your mailbox dropped them.
I'm sending them again.

Thanks, now applied all patches.

Takashi