# No sound output with DAC and Balena sound

**URL:** <https://forums.balena.io/t/no-sound-output-with-dac-and-balena-sound/349309>\
**Category:** balenaSound\
**Created:** [September 16, 2021, 12:22pm UTC](https://forums.balena.io/t/no-sound-output-with-dac-and-balena-sound/349309 "2021-09-16T12:22:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kev](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@kev](https://forums.balena.io/u/kev)\
**Post date:** [September 16, 2021, 12:22pm UTC](https://forums.balena.io/t/no-sound-output-with-dac-and-balena-sound/349309/1 "2021-09-16T12:22:25Z")

</div>

I have recently acquired a pimoroni audio DAC SHIM for my pi zero w, and am trying to use Balena sound to add bluetooth to my car stereo. I’m able to bluetooth to the pi, but I can’t get it to produce sound. The docs suggest setting

```auto
dtoverlay=hifiberry-dac
gpio=25=op,dh

```

So I changed the device configuration in Balena to,

```auto
Define DT overlays="hifiberry-dac"

```

but for the `gpio` part, I wasn’t sure what to change. I think changing this setting broke the pi, as I havent been to access the pi afterwards, instead I’m just getting the error:

```auto
Request error: tunneling socket could not be established, statusCode=500

```

when I try and make the light flash on it. Anyway, I’m extremely lost. If anyone can give some tips, or assistance, I’d really appreciate it.

Thanks

This is the DAC:

> **[Pimoroni Audio DAC SHIM (Line-Out)](https://core-electronics.com.au/pimoroni-audio-dac-shim-line-out.html)**
>
> A super-simple, slimline way to hook up a hi-fi amp or powered speakers to your Raspberry Pi! Output punchy digital I2S audio whilst leaving your GPIO pins conveniently accessible.

This is the tutorial I was following:

> **[Getting started - Home](https://sound.balenalabs.io/docs/)**
>
> Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect

log:

```auto
16.09.21 21:59:59 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:01 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:03 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:04 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:04 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:06 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:08 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:09 (+1000) Service exited 'spotify sha256:90598580e27badc24f7df5f64acccfc44d8bb20b4e9b3dba118610a8f35d584a'
16.09.21 22:00:09 (+1000) Killed service 'spotify sha256:90598580e27badc24f7df5f64acccfc44d8bb20b4e9b3dba118610a8f35d584a'
16.09.21 22:00:09 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:09 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:10 (+1000) Killing service 'sound-supervisor sha256:5a5e92e73b961ed077638f1b72474d7a743433b842ae3bb2fab20d6396960b60'
16.09.21 22:00:10 (+1000) Service is already stopped, removing container 'sound-supervisor sha256:5a5e92e73b961ed077638f1b72474d7a743433b842ae3bb2fab20d6396960b60'
16.09.21 22:00:10 (+1000) Killed service 'sound-supervisor sha256:5a5e92e73b961ed077638f1b72474d7a743433b842ae3bb2fab20d6396960b60'
16.09.21 22:00:11 (+1000) Killing service 'logging sha256:065b139567278a1f02eaa2c780aebe4a205d06169cd4c19f4c3e84359f7da63b'
16.09.21 22:00:12 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:13 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:14 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:14 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:17 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:18 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:19 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:19 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:22 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:24 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:24 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:24 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:27 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:29 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:29 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:29 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:32 (+1000) Killed service 'logging sha256:065b139567278a1f02eaa2c780aebe4a205d06169cd4c19f4c3e84359f7da63b'
16.09.21 22:00:32 (+1000) Service exited 'logging sha256:065b139567278a1f02eaa2c780aebe4a205d06169cd4c19f4c3e84359f7da63b'
16.09.21 22:00:32 (+1000) Killing service 'airplay sha256:dab76470b65aecea8316171c02f6a5668085ce6976fc62d4efd31a5bddcc7004'
16.09.21 22:00:33 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:34 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:34 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:35 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:38 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:39 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:40 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:40 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:43 (+1000) airplay Waiting for audioblock to start...
16.09.21 22:00:44 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:45 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:45 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:49 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:50 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:50 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:51 (+1000) Service exited 'airplay sha256:dab76470b65aecea8316171c02f6a5668085ce6976fc62d4efd31a5bddcc7004'
16.09.21 22:00:51 (+1000) Killed service 'airplay sha256:dab76470b65aecea8316171c02f6a5668085ce6976fc62d4efd31a5bddcc7004'
16.09.21 22:00:52 (+1000) Killing service 'bluetooth sha256:fd7091daaf5cf30d1250e0a2e92c58d9231c27aa02a4f7fa175fb34cade986a2'
16.09.21 22:00:54 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:55 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:55 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:00:59 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:00 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:00 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:04 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:05 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:05 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:10 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:10 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:10 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:15 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:15 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:15 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:16 (+1000) Killed service 'bluetooth sha256:fd7091daaf5cf30d1250e0a2e92c58d9231c27aa02a4f7fa175fb34cade986a2'
16.09.21 22:01:17 (+1000) Service exited 'bluetooth sha256:fd7091daaf5cf30d1250e0a2e92c58d9231c27aa02a4f7fa175fb34cade986a2'
16.09.21 22:01:17 (+1000) Killing service 'multiroom-server sha256:811c94828d68f403777863ae458813da12142973125805134ff5bfd1bf4f830a'
16.09.21 22:01:20 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:20 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:21 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:25 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:26 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:26 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:30 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:31 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:31 (+1000) multiroom-server Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:35 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:36 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:40 (+1000) Killed service 'multiroom-server sha256:811c94828d68f403777863ae458813da12142973125805134ff5bfd1bf4f830a'
16.09.21 22:01:40 (+1000) Service exited 'multiroom-server sha256:811c94828d68f403777863ae458813da12142973125805134ff5bfd1bf4f830a'
16.09.21 22:01:40 (+1000) Killing service 'multiroom-client sha256:8b930bc65643d3b0a9611b2c4cb4ba5722d805988351b3ff73fbcfa5dc807c0d'
16.09.21 22:01:40 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:41 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:45 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:46 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:50 (+1000) multiroom-client Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:51 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:56 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:01:59 (+1000) Killed service 'multiroom-client sha256:8b930bc65643d3b0a9611b2c4cb4ba5722d805988351b3ff73fbcfa5dc807c0d'
16.09.21 22:01:59 (+1000) Service exited 'multiroom-client sha256:8b930bc65643d3b0a9611b2c4cb4ba5722d805988351b3ff73fbcfa5dc807c0d'
16.09.21 22:02:00 (+1000) Killing service 'audio sha256:9394b37a923adccf23d70bd68f61d95793da10d7692fd08afa95a173224901cb'
16.09.21 22:02:01 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:02:06 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:02:12 (+1000) audio Waiting for sound supervisor to start at 172.17.0.1:80
16.09.21 22:02:18 (+1000) Killed service 'audio sha256:9394b37a923adccf23d70bd68f61d95793da10d7692fd08afa95a173224901cb'
16.09.21 22:02:18 (+1000) Service exited 'audio sha256:9394b37a923adccf23d70bd68f61d95793da10d7692fd08afa95a173224901cb'
16.09.21 22:02:18 (+1000) Rebooting

```

---

<div class="post-metadata">

**Author:** ![kev](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@kev](https://forums.balena.io/u/kev)\
**Post date:** [September 16, 2021, 1:45pm UTC](https://forums.balena.io/t/no-sound-output-with-dac-and-balena-sound/349309/2 "2021-09-16T13:45:23Z")

</div>

Making a new Balena sound image and adding the custom configuration variable `BALENA_HOST_CONFIG_dtoverlay` set to `hifiberry-dac` worked to produce output from bluetooth.
