I have a Raspberri Pi 4 and had set up BalenaSound so I can use multiroom when connected via bluetooth. It seemed to work fine so I thought I would add a HiFiBerry Digi+ as one speaker doesn’t have an aux input. Unfortuantely after connecting it via optical cable and adding the BALENA_HOST_CONFIG_dtoverlay
hifiberry-digi`
no music would play through it. It did however send audio through to the other Raspberri Pi running BalenaSound.
I have tried changing the Define DT parameters to "i2c_arm=on","spi=on","audio=off"
but still no dice.
I have put HiFiBerryOS on the Pi and the Digi+ works fine through the optical cable.
The only thing that looks odd in the logs that I can see is
09.01.21 09:03:49 (+0000) audio E: [pulseaudio] backend-native.c: socket(SEQPACKET, SCO) Address family not supported by protocol
Here are some logs if they help:
09.01.21 09:03:39 (+0000) audio E: [pulseaudio] module-loopback.c: No such sink.
09.01.21 09:03:39 (+0000) audio E: [pulseaudio] module.c: Failed to load module “module-loopback” (argument: “source=“balena-sound.output.monitor” sink=“alsa_output.bcm2835.stereo-fallback””): initialization failed.
09.01.21 09:03:39 (+0000) audio E: [pulseaudio] main.c: Sink alsa_output.bcm2835.stereo-fallback does not exist.
09.01.21 09:03:39 (+0000) audio E: [pulseaudio] main.c: Sink alsa_output.bcm2835.stereo-fallback does not exist.
09.01.21 09:03:39 (+0000) audio 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
09.01.21 09:03:39 (+0000) audio 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
09.01.21 09:03:40 (+0000) multiroom-server 2021-01-09 09-03-40 [Error] (StreamSession) Error reading message header of length 0: End of file
09.01.21 09:03:40 (+0000) multiroom-server 2021-01-09 09-03-40 [Info] (onDisconnect) onDisconnect: 02:42:ac:11:00:02
09.01.21 09:03:40 (+0000) multiroom-server 2021-01-09 09-03-40 [Info] (onStateChanged) onStateChanged (balenaSound): 2
09.01.21 09:03:40 (+0000) multiroom-client 2021-01-09 09-03-40 [Warn] (sendRequest) timeout while waiting for response to: 3, timeout 2000
09.01.21 09:03:40 (+0000) multiroom-client 2021-01-09 09-03-40 [Error] (worker) Exception in Controller::worker(): Can’t open default PCM device: Connection refused
09.01.21 09:03:40 (+0000) airplay Waiting for audioblock to start…
09.01.21 09:03:41 (+0000) multiroom-server 2021-01-09 09-03-41 [Notice] (handleAccept) StreamServer::NewConnection: 172.17.0.1
09.01.21 09:03:41 (+0000) multiroom-server 2021-01-09 09-03-41 [Info] (onMessageReceived) Hello from 02:42:ac:11:00:02, host: 36819fbb87c4, v0.19.0, ClientName: Snapclient, OS: Alpine Linux v3.12, Arch: aarch64, Protocol version: 2
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Notice] (start) Connected to 192.168.1.231
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (getMacAddress) My MAC: “02:42:ac:11:00:02”, socket: 5
09.01.21 09:03:41 (+0000) multiroom-client metadata:{“STREAM”:“balenaSound”}
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (onMessageReceived) ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (onMessageReceived) Codec: flac
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Notice] (state) sampleformat: 44100:16:2
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (Alsa) frames: 1323
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (Alsa) Resizing buffer from 0 to 21168
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (Stream) no chunks available
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (Alsa) Failed to get chunk
09.01.21 09:03:41 (+0000) multiroom-client 2021-01-09 09-03-41 [Info] (worker) diff to server [ms]: 0.028
09.01.21 09:03:45 (+0000) airplay Waiting for audioblock to start…
09.01.21 09:03:46 (+0000) sound-supervisor Connected to PulseAudio at 192.168.1.231:4317
09.01.21 09:03:46 (+0000) sound-supervisor Server protocol version: 33
09.01.21 09:03:46 (+0000) sound-supervisor Client protocol version: 33
09.01.21 09:03:49 (+0000) audio E: [pulseaudio] backend-native.c: socket(SEQPACKET, SCO) Address family not supported by protocol
09.01.21 09:03:50 (+0000) audio W: [pulseaudio] module-loopback.c: Too many underruns, increasing latency to 205.00 ms
09.01.21 09:03:51 (+0000) airplay Waiting for audioblock to start…
09.01.21 09:03:51 (+0000) airplay Shairport-sync started. Device is discoverable as balenaSound AirPlay 872a
09.01.21 09:03:51 (+0000) sound-supervisor Joining the fleet, requesting master info with fleet-sync…
09.01.21 09:03:52 (+0000) audio W: [pulseaudio] module-loopback.c: Configured latency of 200.00 ms is smaller than minimum latency, using minimum instead