[pulseaudio-discuss] pulseaudio setup issues

namittal at codeaurora.org namittal at codeaurora.org
Wed Sep 20 06:30:01 UTC 2017


On 2017-09-17 21:28, Tanu Kaskinen wrote:
> On Tue, 2017-09-12 at 17:59 +0530, namittal at codeaurora.org wrote:
>> Hi all,
>> I am using pulseaudio 6.0
>> / # pulseaudio
>> W: [pulseaudio] main.c: This program is not intended to be run as root
>> (unless --system is specified).
> 
> Why are you running pulseaudio as root? If there are no regular users,
> it's generally advisable to run pulseaudio in the system mode (i.e.
> with the --system option).
> 
>> E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
> 
> Verbose logging is needed to find out why all profiles fail. Pass "-vv"
> to pulseaudio to enable verbose logging.
> 
> Is module-cli not installed? The -C option requires that module. I
> don't understand why you want to use the -C option, though.
I am using an embedded system where is only one user which happen to be 
root.

I was using -C option to verify my installation as mentioned here 
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/FirstSteps/

Verbose log is attached.

D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: 
org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon 
autolaunch was disabled at compile time, set your 
DBUS_SESSION_BUS_ADDRESS instead
I: [pulseaudio] utils.c: could not open configuration file 
/usr/share/alsa/ucm/msm8952-tasha-snd-card/msm8952-tasha-snd-card.conf
I: [pulseaudio] parser.c: error: could not parse configuration for card 
msm8952-tasha-snd-card
I: [pulseaudio] main.c: error: failed to import msm8952-tasha-snd-card 
use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card 
msm8952-tasha-snd-card
D: [pulseaudio] conf-parser.c: Parsing configuration file 
'/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf'
D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-mono
D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Mono 
(analog-mono)
D: [pulseaudio] alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open hw:0
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 5572 ms
I: [pulseaudio] pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-22)
I: [pulseaudio] pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-22)
I: [pulseaudio] pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-22)
I: [pulseaudio] pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-22)
D: [pulseaudio] alsa-util.c: Set neither period nor buffer size.
I: [pulseaudio] pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed (-22)
I: [pulseaudio] alsa-util.c: snd_pcm_hw_params failed: Invalid argument

Thanks for your help.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vrbose_cut.txt
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170920/9aff2d6f/attachment-0001.txt>


More information about the pulseaudio-discuss mailing list