The following patch (effectively a reversion of a change between alsa 0.9.4 and 0.9.5) fixes a problem whereby an APM suspend causes the program which is using the PCM device to enter the uninterruptible sleep state on resume and thus causes the sound device to be unusable.
--- linux-2.6.5/sound/isa/cs423x/cs4231_lib.c~ Tue Jun 8 03:24:49 2004 +++ linux-2.6.5/sound/isa/cs423x/cs4231_lib.c Tue Jun 8 03:24:52 2004 @@ -1402,7 +1402,7 @@ switch (rqst) { case PM_SUSPEND: if (chip->suspend) { - snd_pcm_suspend_all(chip->pcm); + // snd_pcm_suspend_all(chip->pcm); (*chip->suspend)(chip); } break; I've cc'ed alsa-user instead of alsa-devel as I'm only subscribed to alsa-user, and my attempt to report this in February (according to an automated reply I received) "Is being held until the list moderator can review it for approval." -- Just because it isn't nice doesn't make it any less a miracle. http://users.albatross.co.nz/~psycho/ O- -><- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user