<div dir="ltr"><div>Working with a Raspberry Pi B+ with Hifiberry DAC+ on a fresh Raspbian install.</div><div><br></div><div>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:</div><div><br></div><div>CODE: SELECT ALL</div><div>SNDRV_PCM_IOCTL_START failed (-77)</div><div><br></div><div><br></div><div>This was the only thing I saw in the output that looked significant to me. I am not sure what this means and there does not appear to be any references to this error (at least with regards to Raspberry Pi). I know that the sound card works because I can use mplayer to playback an MP3 file on it. </div><div><br></div><div>Any help would be greatly appreciated. Thanks</div><div><br></div><div><br></div><div>Here is my entire pulseaudio output:</div><div><br></div><div><div>I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted</div><div>I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: Permission denied</div><div>I: [pulseaudio] main.c: This is PulseAudio 2.0</div><div>I: [pulseaudio] main.c: Page size is 4096 bytes</div><div>I: [pulseaudio] main.c: Machine ID is eae5fe1648c5902fa7c038f954e1edbf.</div><div>I: [pulseaudio] main.c: Using runtime directory /home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-runtime.</div><div>I: [pulseaudio] main.c: Using state directory /home/pi/.pulse.</div><div>I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-2.0/modules.</div><div>I: [pulseaudio] main.c: Running in system mode: no</div><div>I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!</div><div>I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP</div><div>I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.</div><div>I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-device-volumes'.</div><div>I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").</div><div>I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-stream-volumes'.</div><div>I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").</div><div>I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-card-database'.</div><div>I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").</div><div>I: [pulseaudio] alsa-sink.c: Successfully opened device default.</div><div>I: [pulseaudio] alsa-sink.c: Device doesn't support mmap(), falling back to UNIX read/write mode.</div><div>I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling back to sound IRQ scheduling.</div><div>I: [pulseaudio] sink.c: Created sink 0 "alsa_output.default" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right</div><div>I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"</div><div>I: [pulseaudio] sink.c:     device.api = "alsa"</div><div>I: [pulseaudio] sink.c:     device.class = "sound"</div><div>I: [pulseaudio] sink.c:     alsa.class = "generic"</div><div>I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"</div><div>I: [pulseaudio] sink.c:     <a href="http://alsa.name">alsa.name</a> = ""</div><div>I: [pulseaudio] sink.c:     <a href="http://alsa.id">alsa.id</a> = "HiFiBerry DAC+ HiFi pcm512x-hifi-0"</div><div>I: [pulseaudio] sink.c:     alsa.subdevice = "0"</div><div>I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"</div><div>I: [pulseaudio] sink.c:     alsa.device = "0"</div><div>I: [pulseaudio] sink.c:     alsa.card = "0"</div><div>I: [pulseaudio] sink.c:     alsa.card_name = "snd_rpi_hifiberry_dacplus"</div><div>I: [pulseaudio] sink.c:     alsa.long_card_name = "snd_rpi_hifiberry_dacplus"</div><div>I: [pulseaudio] sink.c:     alsa.driver_name = "snd_soc_hifiberry_dacplus"</div><div>I: [pulseaudio] sink.c:     device.bus_path = "platform-sound"</div><div>I: [pulseaudio] sink.c:     sysfs.path = "/devices/sound/sound/card0"</div><div>I: [pulseaudio] sink.c:     device.string = "default"</div><div>I: [pulseaudio] sink.c:     device.buffering.buffer_size = "17632"</div><div>I: [pulseaudio] sink.c:     device.buffering.fragment_size = "4408"</div><div>I: [pulseaudio] sink.c:     device.access_mode = "serial"</div><div>I: [pulseaudio] sink.c:     device.description = "snd_rpi_hifiberry_dacplus"</div><div>I: [pulseaudio] sink.c:     device.icon_name = "audio-card"</div><div>I: [pulseaudio] source.c: Created source 0 "alsa_output.default.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right</div><div>I: [pulseaudio] source.c:     device.description = "Monitor of snd_rpi_hifiberry_dacplus"</div><div>I: [pulseaudio] source.c:     device.class = "monitor"</div><div>I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"</div><div>I: [pulseaudio] alsa-sink.c: Using 4.0 fragments of size 4408 bytes (24.99ms), buffer size is 17632 bytes (99.95ms)</div><div>I: [alsa-sink] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.</div><div>I: [alsa-sink] alsa-sink.c: Starting playback.</div><div>I: [alsa-sink] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77)</div><div>I: [pulseaudio] module.c: Loaded "module-alsa-sink" (index: #4; argument: "").</div><div>I: [pulseaudio] module-udev-detect.c: Found 1 cards.</div><div>I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").</div><div>I: [pulseaudio] module-default-device-restore.c: Restored default sink 'alsa_output.default'.</div><div>I: [pulseaudio] module-default-device-restore.c: Restored default source 'alsa_output.default.monitor'.</div><div>I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #7; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #8; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #9; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #10; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #11; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #12; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #13; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #14; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #15; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #16; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #17; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-dbus-protocol" (index: #18; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #19; argument: "").</div><div>I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #20; argument: "").</div><div>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</div><div>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</div><div>I: [pulseaudio] main.c: Daemon startup complete.</div><div>I: [pulseaudio] resampler.c: Using resampler 'speex-fixed-3'</div><div>I: [pulseaudio] resampler.c: Using s16le as working format.</div><div>I: [pulseaudio] resampler.c: Choosing speex quality setting 3.</div><div>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</div><div>I: [pulseaudio] sink-input.c:     media.role = "stream"</div><div>I: [pulseaudio] sink-input.c:     <a href="http://media.name">media.name</a> = "RTP Stream (PulseAudio RTP Stream on linuxbox)"</div><div>I: [pulseaudio] sink-input.c:     rtp.session = "PulseAudio RTP Stream on linuxbox"</div><div>I: [pulseaudio] sink-input.c:     rtp.origin = "MYNAME 3635426253 0 IN IP4 SERVERIP"</div><div>I: [pulseaudio] sink-input.c:     rtp.payload = "127"</div><div>I: [pulseaudio] sink-input.c:     <a href="http://module-stream-restore.id">module-stream-restore.id</a> = "sink-input-by-media-role:stream"</div><div>I: [pulseaudio] module-rtp-recv.c: New session 'PulseAudio RTP Stream on linuxbox'</div></div><div><br></div><div><br></div><div><br></div><div>Any help would be really appreciated.</div></div>