[pulseaudio-discuss] How to launch pulseaudio on embedded system

DIEHCO R&D electronique at diehco.com
Fri Aug 29 02:41:33 PDT 2014


Le 29/08/2014 11:23, Tanu Kaskinen a écrit :
> On Fri, 2014-08-29 at 11:15 +0200, DIEHCO R&D wrote:
>> Yes, 64 MB in total. I tried the value 32768 and PA reachs "Daemon
>> startup complete." However pacmd list-cards give me "No PulseAudio
>> daemon running, or not running as session daemon." whereas pulseaudio
>> --system -vvvv is still running.
> pacmd doesn't work with system-mode pulseaudio. Please forget that pacmd
> exists, and use pactl instead.
pactl gives "No valid command specified.". Should I install an 
additional package ?
>> (...)
>> I: [pulseaudio] module-udev-detect.c: Found 0 cards.
> The debug logs before this line should tell why there weren't any sound
> cards found.
module-udev-detect.so found. I don't see if there is problem in log below.
-------------- next part --------------
root at eukrea-cpuimx25:~# pulseaudio --system -vvvv &
root at eukrea-cpuimx25:~# W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: Found user 'pulse' (UID 998) and group 'pulse' (GID 1000).
I: [pulseaudio] main.c: Successfully changed user to "pulse".
I: [pulseaudio] main.c: This is PulseAudio 5.0
D: [pulseaudio] main.c: Compilation host: arm-oe-linux-gnueabi
D: [pulseaudio] main.c: Compilation CFLAGS:  -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux armv5tejl 2.6.37.6 #18 PREEMPT Fri Mar 1 03:08:50 PST 2013
D: [pulseaudio] main.c: Found 1 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is b58e603397a605bce66ca0af53f618c8.
I: [pulseaudio] main.c: Using runtime directory /var/run/pulse.
I: [pulseaudio] main.c: Using state directory /var/lib/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.0/modules.
I: [pulseaudio] main.c: Running in system mode: yes
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
D: [pulseaudio] memblock.c: Using private memory pool with 2 slots of size 64.0 KiB each, total size is 128.0 KiB, maximum usable slot size is 65496
I: [pulseaudio] cpu-arm.c: CPU flags: EDSP 
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-udev-detect.so': success
I: [pulseaudio] module-udev-detect.c: Found 0 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #0; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-esound-protocol-unix.so': failure
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #1; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/var/lib/pulse/b58e603397a605bce66ca0af53f618c8-stream-volumes'.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #2; argument: "").
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/var/lib/pulse/b58e603397a605bce66ca0af53f618c8-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #3; argument: "").
I: [pulseaudio] module-default-device-restore.c: Saved default sink 'auto_null' not existent, not restoring default sink setting.
I: [pulseaudio] module-default-device-restore.c: Saved default source 'auto_null.monitor' not existent, not restoring default source setting.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #4; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #5; argument: "").
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
D: [pulseaudio] module-device-restore.c: Could not set format on sink auto_null
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #7; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #6; argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #8; argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #9; argument: "").
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus system bus 6b3f2c934abcba95189661d05400266b as :1.16
D: [pulseaudio] main.c: Got org.pulseaudio.Server!
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink auto_null is 0x0004, suspending
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.


More information about the pulseaudio-discuss mailing list