Bug 51939 - there's no way to 'pacmd suspend false' the server, and check if it was successful
Summary: there's no way to 'pacmd suspend false' the server, and check if it was succe...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: tools (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 10:03 UTC by Anton Novikov
Modified: 2018-07-30 10:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Anton Novikov 2012-07-10 10:03:56 UTC
If pacmd fails, there's no way to check that:

$ pacmd suspend false; echo $?
Welcome to PulseAudio! Use "help" for usage information.
>>> Failed to resume/suspend all sinks: Input/Output error
>>> 0
Comment 1 Felipe Sateler 2014-05-07 15:19:55 UTC
With pa 5 it is still impossible to tell wether pacmd succeeded:

% pacmd load-module imaginary-module ; echo $?
Module load failed.
0
Comment 2 Tanu Kaskinen 2014-05-07 20:17:46 UTC
It's generally better to use pactl rather than pacmd.
Comment 3 GitLab Migration User 2018-07-30 10:05:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/206.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.