Summary: | media-sound/pulseaudio is lacking suspend support for sys-power/pm-utils (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Marko <rissko> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | minor | CC: | alexander, cbm, freedesktop-bugs, pacho, sound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pulseaudio suspend script
better version |
Description
Richard Marko
2009-04-15 22:12:58 UTC
I'd say pulseaudio but you can propose it to pm-utils mailing list. Also could you please attach your script instead of pasting it as a comment. Makes it easier to pick and test. Which is your pm-utils version btw ? Created attachment 188776 [details]
pulseaudio suspend script
using sys-power/pm-utils-1.2.3-r1 Created attachment 188778 [details]
better version
changed get_pulse_users, not returning root now
This is REALLY best done through pulseaudio, and not pm-utils: http://cgit.freedesktop.org/pm-utils/tree/README.distributions A couple projects do this already (wicd comes to mind). This could probably be done in our pm-utils package, but probably best with pulseaudio itself. reassigning to sound as this is also what I think is the best option. I cannot reproduce it now - I have Amarok playing through pulseaudio in KDE and audio restarts playing upon suspending end resuming using pm-utils. Arun, thoughts ? I bet this has been solved in a way upower handles it on it's own now... This is only an educated guess. Ubuntu has a more complex hook: http://bazaar.launchpad.net/~ubuntu-core-dev/pulseaudio/ubuntu.2a/view/head:/debian/01PulseAudio I don't know where upower (or whatver) stores these hooks, but on GNOME, I don't face this problem. I cannot reproduce this problems for a long time, please try with a newer release like 4.99.4 (In reply to Pacho Ramos from comment #12) > I cannot reproduce this problems for a long time, please try with a newer > release like 4.99.4 Let me guess. You have sys-power/upower built with USE="systemd"? Then it won't use pm-utils, and obviously you won't hit the problem. But since I don't use pulseaudio myself and I can't test this, I'm leaving this closed, since I can't be 100% sure this wasn't fixed in some other way in later pulseaudio releases that I don't off-hand understand. But I remember it was still working ok when I was using consolekit/openRC (that months that I was using it with Gnome 3.8 when we were trying to make them play together) |