# PiMusicBox with Hifiberry DAC+

**URL:** <https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272>\
**Category:** Pi MusicBox (archive)\
**Created:** [July 6, 2016, 5:00am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272 "2016-07-06T05:00:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Schuler](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@Alexander\_Schuler](https://discourse.mopidy.com/u/Alexander_Schuler)\
**Post date:** [July 6, 2016, 5:00am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/1 "2016-07-06T05:00:23Z")

</div>

Hello Folks,

I am very new to the raspberry pi and all that stuff.

Here is my ‘project’:  
I want to have a music streamer. So I decided to go with a raspberry pi and the musicbox.  
I have a ‘Raspberry PI 2 Model B’ and bought myself a ‘HiFiBerry DAC+’ to get a decent sound out of it.  
Once the hifiberry was on the raspberry i put in a sd-card with a pi-musicbox image (the latest 0.6.0 build).

Here is my problem:  
I dont get the settings correct so the webinterface works and the hifiberry is working.

I already searched the web, but all the suggestions did not work for me.  
Everytime I get the message, that there is an invalid key in the configuration and the extension gets disabled.  
I also tried to put in an image with no editing in the config files and just did it in the webinterface whilst running.  
But it resulted in the same error.  
I already read and tried: [settings-for-pimusicbox-0-6-and-hifiberry-dac](https://discourse.mopidy.com/t/settings-for-pimusicbox-0-6-and-hifiberry-dac/1000/2)

Is there a known working configuration or is it just me who is not clever enough?

Kind regards,  
alex

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [July 6, 2016, 9:24am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/2 "2016-07-06T09:24:53Z")

</div>

Hi, as I said in the reply to the post you linked:

> Number one, that should **not** be necessary. That card should follow the exact same procedure as the others I.e put output = hifiberry\_dacplus in settings.ini. If any other steps are required then that is a bug.

The steps described in that post are not how musicbox v0.6 is designed to work. I suggest you restore `/boot/config.txt` to exactly how it was and set `output = hifiberry_dacplus` in `/boot/config/settings.ini`. Then if you can post the exact error message you get we can go from there.

If the output works, but is distorted or too loud then please follow the good advice at [Settings for piMusicBox 0.6 and HifiBerry Dac +? - #7 by jcass77](https://discourse.mopidy.com/t/settings-for-pimusicbox-0-6-and-hifiberry-dac/1000/7)

---

<div class="post-metadata">

**Author:** ![Alexander\_Schuler](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@Alexander\_Schuler](https://discourse.mopidy.com/u/Alexander_Schuler)\
**Post date:** [July 6, 2016, 9:45am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/3 "2016-07-06T09:45:25Z")

</div>

Thanks for you fast reply.

I will do the following at home:

- format sd-card and put a new image onto the sd-card
- edit the one line and then see what it will do

Do you know a method to get the whole startup log?  
Or do i have to do the typing from screen?

Another question:  
Are you the/ one of the developer of the musicbox?

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [July 6, 2016, 10:32am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/4 "2016-07-06T10:32:25Z")

</div>

It might be in one of the other log files in `/var/log`, I’m afraid it’s been a while since i had 0.6 running and I can’t remember exactly. If you log in via ssh you can copy and paste directly from these files.

I am currently the maintainer of musicbox.

---

<div class="post-metadata">

**Author:** ![Alexander\_Schuler](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@Alexander\_Schuler](https://discourse.mopidy.com/u/Alexander_Schuler)\
**Post date:** [July 6, 2016, 2:42pm UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/5 "2016-07-06T14:42:21Z")

</div>

Sorry to say, but the easy way of changing just the on value did nothing…  
This is how my settings.ini looks like:

`enable_ssh = true`  
`output = hifiberry_dacplus`  
`# OTHER Settings`  
`output = alsasink`  
`mixer = software`  
`[alsamixer]`  
`card =`  
`control =`

This is the content of the `/var/log`:  
`apt boot.0 boot.2.gz boot.4.gz dmesg.0 dmesg.2.gz dmesg.4.gz lastlog mopidy watchdog`  
`boot boot.1.gz boot.3.gz dmesg dmesg.1.gz dmesg.3.gz fsck monit.log samba`

The error messages looks like this:  
`WARNING Found alsamixer configuration errors, the extension has been automatically disabled:`  
`WARNING alsamixer/control must be set.`  
`WARNING alsamixer/card must be set.`  
`WARNING Found musicbox_webclient configuration errors, the extension has been automatically disabled:`  
`WARNING musicbox_webclient/musicbox unknown config key.`  
`WARNING Please fix the extension configuration errors or disable the extension to silence these messages.`

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [July 6, 2016, 3:08pm UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/6 "2016-07-06T15:08:02Z")

</div>

Those are **warnings** , not errors; musicbox should function just fine with those as they are. But you can silence the alsamixer one if you like by changing the relevant part of `settings.ini` to the following:

```auto
[alsamixer]
enabled = false
card = 
control =

```

Is your hifiberry still doesn’t work then please post the output of `aplay -l` and `cat /etc/asound.conf`.

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [February 19, 2026, 11:47am UTC](https://discourse.mopidy.com/t/pimusicbox-with-hifiberry-dac/1272/7 "2026-02-19T11:47:25Z")

</div>


