Since some sound modules can't survive suspend, it's necessary to unload
them and reload them. However, some of them won't "let go" as long as
something is talking to the sound card.

For this case, Mandriva has had a solution for the last few years that
has worked reasonable well: They kill all the programs that are talking
to the sound card and restart them. (It's an option, not the default
behavior!).

It makes sense to me to offer to the same option through pm-utils, for
people would like to make this trade-off. (Personally, it has worked
well for me).

Mandriva' GPL code for this available here, and it should be trivial to
port to pm-utils, it seems:

http://cvs.mandriva.com/cgi-bin/viewvc.cgi/soft/suspend-scripts/suspend.d/sound?revision=1.5&view=markup

Also see my related bug report and patch here:
http://qa.mandriva.com/show_bug.cgi?id=28910

It fixes "resume" for exaile other music players written in interpreted
languages.

  Mark

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to