Can't get Pulseadio to playback stream on Raspbian with HifiBerry DAC+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Working with a Raspberry Pi B+ with Hifiberry DAC+ on a fresh Raspbian
install.
>
> I can't seem to get Pulseaudio to use the Hifiberry to play an incoming
stream. When I run pulseaudio -v, among other things, I see the following:
>
> CODE: SELECT ALL
> SNDRV_PCM_IOCTL_START failed (-77)

-77 is EBADFD

This mean PCM stream is already running but pulsesudio still call
snd_pcm_start ?

Need verbose pulseaudio log

pulseaudio -vvvv

Pulseaudio module-alsa-sink should not use "default" device , seem you have
changed default.pa

 argument: "").
> I: [pulseaudio] alsa-sink.c: Successfully opened device default.
> I: [pulseaudio] alsa-sink.c: Device doesn't support mmap(), falling back
to UNIX read/write mode.
> I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling,
falling back to sound IRQ scheduling.
> I: [pulseaudio] sink.c: Created sink 0 "alsa_output.default" with sample
spec s16le 2ch 44100Hz and channel map front-left,front-right
> I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
> I: [pulseaudio] sink.c:     device.api = "alsa"
> I: [pulseaudio] sink.c:     device.class = "sound"
> I: [pulseaudio] sink.c:     alsa.class = "generic"
> I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
> I: [pulseaudio] sink.c:     alsa.name = ""
> I: [pulseaudio] sink.c:     alsa.id = "HiFiBerry DAC+ HiFi pcm512x-hifi-0"
> I: [pulseaudio] sink.c:     alsa.subdevice = "0"
> I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
> I: [pulseaudio] sink.c:     alsa.device = "0"
> I: [pulseaudio] sink.c:     alsa.card = "0"
> I: [pulseaudio] sink.c:     alsa.card_name = "snd_rpi_hifiberry_dacplus"
> I: [pulseaudio] sink.c:     alsa.long_card_name =
"snd_rpi_hifiberry_dacplus"
> I: [pulseaudio] sink.c:     alsa.driver_name = "snd_soc_hifiberry_dacplus"
> I: [pulseaudio] sink.c:     device.bus_path = "platform-sound"
> I: [pulseaudio] sink.c:     sysfs.path = "/devices/sound/sound/card0"
> I: [pulseaudio] sink.c:     device.string = "default"
> I: [pulseaudio] sink.c:     device.buffering.buffer_size = "17632"
> I: [pulseaudio] sink.c:     device.buffering.fragment_size = "4408"
> I: [pulseaudio] sink.c:     device.access_mode = "serial"
> I: [pulseaudio] sink.c:     device.description =
"snd_rpi_hifiberry_dacplus"
> I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
> I: [pulseaudio] source.c: Created source 0 "alsa_output.default.monitor"
with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
> I: [pulseaudio] source.c:     device.description = "Monitor of
snd_rpi_hifiberry_dacplus"
> I: [pulseaudio] source.c:     device.class = "monitor"
> I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
> I: [pulseaudio] alsa-sink.c: Using 4.0 fragments of size 4408 bytes
(24.99ms), buffer size is 17632 bytes (99.95ms)
> I: [alsa-sink] core-util.c: Successfully enabled SCHED_RR scheduling for
thread, with priority 5.
> I: [alsa-sink] alsa-sink.c: Starting playback.
> I: [alsa-sink] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77)
> I: [pulseaudio] module.c: Loaded "module-alsa-sink" (index: #4; argument:
"").
> I: [pulseaudio] module-udev-detect.c: Found 1 cards.
> I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index:
#6; argument: "").
> I: [pulseaudio] module-default-device-restore.c: Restored default sink
'alsa_output.default'.
> I: [pulseaudio] module-default-device-restore.c: Restored default source
'alsa_output.default.monitor'.
> I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index:
#7; argument: "").
> I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #8;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #9;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #10;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #11;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #12;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #13;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index:
#14; argument: "").
> I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #15;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #16;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #17;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-dbus-protocol" (index: #18;
argument: "").
> I: [pulseaudio] module.c: Loaded "module-switch-on-port-available"
(index: #19; argument: "").
> I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #20; argument:
"").
> W: [pulseaudio] server-lookup.c: Unable to contact D-Bus:
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
without a $DISPLAY for X11
> W: [pulseaudio] main.c: Unable to contact D-Bus:
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
without a $DISPLAY for X11
> I: [pulseaudio] main.c: Daemon startup complete.
> I: [pulseaudio] resampler.c: Using resampler 'speex-fixed-3'
> I: [pulseaudio] resampler.c: Using s16le as working format.
> I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
> I: [pulseaudio] sink-input.c: Created input 0 "RTP Stream (PulseAudio RTP
Stream on linuxbox)" on alsa_output.default with sample spec s16be 2ch
48000Hz and channel map front-left,front-right
> I: [pulseaudio] sink-input.c:     media.role = "stream"
> I: [pulseaudio] sink-input.c:     media.name = "RTP Stream (PulseAudio
RTP Stream on linuxbox)"
> I: [pulseaudio] sink-input.c:     rtp.session = "PulseAudio RTP Stream on
linuxbox"
> I: [pulseaudio] sink-input.c:     rtp.origin = "MYNAME 3635426253 0 IN
IP4 SERVERIP"
> I: [pulseaudio] sink-input.c:     rtp.payload = "127"
> I: [pulseaudio] sink-input.c:     module-stream-restore.id =
"sink-input-by-media-role:stream"
> I: [pulseaudio] module-rtp-recv.c: New session 'PulseAudio RTP Stream on
linuxbox'
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150321/91f75480/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux