On Mon, 14 Sep 2009 11:39:20 +0200 Takashi Iwai tiwai@suse.de wrote:
At Sat, 12 Sep 2009 22:38:00 +0200, Giuliano Pochini wrote:
I tested suspend/resume on a laptop because I failed to make it work on my G4 (grr!!). Suspend work, resume does not. From dmesg (below) it looks like the soundcard driver is asked to resume before the ATA driver, thus is cannot load the firmware. Am I overlooking something ? Suggestions ?
You can't load the firmware file in resume phase because the system isn't yet ready at this stage. Either postpone it or keep the old firmware and reuse it.
*sigh* Ok, I'll try to find a workaround. I don't want to keep the firmware in memory. Is there a way to know if resume is still in progress or when it is possible to load the firmware ? I could -as last resort- load the firmware in the prepare callback.