# Will it run out-of-the-box on a RPI B+?

**URL:** <https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351>\
**Category:** Pi MusicBox (archive)\
**Created:** [November 20, 2014, 7:11pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351 "2014-11-20T19:11:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![renekreijveld](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/renekreijveld/32/56_2.png) [@renekreijveld](https://discourse.mopidy.com/u/renekreijveld)\
**Post date:** [November 20, 2014, 7:11pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/1 "2014-11-20T19:11:25Z")

</div>

I am considering getting a brand new RPI B+ with the HifiBerry add-on board.  
Will Pi Musicbox run without any re-configurations on a RPI B+ with the HifiBerry add-on?  
Or should I better get an older RPI B ?

Thanks for any suggestions!

---

<div class="post-metadata">

**Author:** ![DarkHelmet](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/darkhelmet/32/732_2.png) [@DarkHelmet](https://discourse.mopidy.com/u/DarkHelmet)\
**Post date:** [November 23, 2014, 5:50pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/2 "2014-11-23T17:50:49Z")

</div>

MusicBox 0.5.1 RC1 _almost_ ran out of the box on my Pi model B+ with the Wifiberry DAC+.

The only thing I had to do after putting the image on my SDcard was updating the firmware to support the new Hifiberry using rpi-update (which had to be installed as well).

---

<div class="post-metadata">

**Author:** ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)\
**Post date:** [November 23, 2014, 9:42pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/3 "2014-11-23T21:42:30Z")

</div>

MusicBox 0.5.1 RC1 ran out of the box on my PI B+ with a HifiBerry. I didn’t do any updates.

However I do have some issues with RC1 (I don’t think hardware related). See my other posts.

---

<div class="post-metadata">

**Author:** ![renekreijveld](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/renekreijveld/32/56_2.png) [@renekreijveld](https://discourse.mopidy.com/u/renekreijveld)\
**Post date:** [November 25, 2014, 2:40pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/4 "2014-11-25T14:40:48Z")

</div>

Well I got a RPI B+ together with a hifiBerry DAC+. Unfortunately I’ve had no luck in getting it to work yet. When I set the output to analog Musicbox plays fine.  
When I set the output to i2s there is no sound at all.

I tried the test tone image from higiBerry ([http://www.hifiberry.com/guides/sd-card-images/](http://www.hifiberry.com/guides/sd-card-images/)) and the test tone plays fine.

Any suggestions where to look, what logfiles to check?

---

<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:** [November 25, 2014, 3:35pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/5 "2014-11-25T15:35:18Z")

</div>

Are you setting `output = i2s` or `output = hifiberry_dacplus` ? You must set it to `output = hifiberry_dacplus` as per the comments in settings.ini. If you are setting it correctly then please try the very latest version ([http://www.woutervanwijk.nl/pimusicbox/musicbox0.5.1rc2.zip](http://www.woutervanwijk.nl/pimusicbox/musicbox0.5.1rc2.zip)) and provide the output of

- `lsmod`
- `cat /sys/class/sound/card*/device/modalias`
- `aplay -l`
- `cat /etc/asound.conf`
- `cat /etc/modules`
- `cat /etc/modprobe.d/blacklist.conf`

---

<div class="post-metadata">

**Author:** ![renekreijveld](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/renekreijveld/32/56_2.png) [@renekreijveld](https://discourse.mopidy.com/u/renekreijveld)\
**Post date:** [November 25, 2014, 6:17pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/6 "2014-11-25T18:17:53Z")

</div>

Thanks Nick. I was running MusicBox 0.5. Didn’t have the hifiberry\_dacplus setting in settings.ini.  
I will try with 0.5.1rc2.

---

<div class="post-metadata">

**Author:** ![renekreijveld](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/renekreijveld/32/56_2.png) [@renekreijveld](https://discourse.mopidy.com/u/renekreijveld)\
**Post date:** [November 25, 2014, 6:31pm UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/7 "2014-11-25T18:31:59Z")

</div>

Okay, I am now running Musicbox 0.5.1rc2 and have set output to hifiberry\_dacplus.  
I do have sound now! But when playing from Spotify the sound is very very stuttering.

Here are my settings as you asked:

```
============================================================
root@MusicBox:~# lsmod
Module Size Used by
iptable_filter 1485 1
xt_REDIRECT 1968 1
xt_tcpudp 2110 2
iptable_nat 2607 1
nf_conntrack_ipv4 12965 1
nf_defrag_ipv4 1491 1 nf_conntrack_ipv4
nf_nat_ipv4 3630 1 iptable_nat
nf_nat 15166 3 nf_nat_ipv4,xt_REDIRECT,iptable_nat
nf_conntrack 87622 4 nf_nat,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4
ip_tables 11694 2 iptable_filter,iptable_nat
x_tables 17030 4 ip_tables,xt_tcpudp,iptable_filter,xt_REDIRECT
snd_soc_hifiberry_dacplus 2327 0
bcm2708_wdog 3545 1
ipv6 316254 20
snd_bcm2835 19584 0
snd_soc_wm8804 7932 0
snd_soc_pcm512x 9034 1
snd_soc_bcm2708_i2s 6202 2
regmap_mmio 2818 1 snd_soc_bcm2708_i2s
snd_soc_core 127841 4 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_dacplus,snd_soc_bcm2708_i2s
snd_compress 8259 1 snd_soc_core
regmap_i2c 1661 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 5505 1 snd_soc_core
regmap_spi 1913 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm 83845 4 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc 5132 1 snd_pcm
snd_seq 55484 0
snd_seq_device 6469 1 snd_seq
snd_timer 20998 2 snd_pcm,snd_seq
leds_gpio 2079 0
led_class 4118 1 leds_gpio
snd 62252 8 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
i2c_bcm2708 4943 0

============================================================
root@MusicBox:~# cat /sys/class/sound/card*/device/modalias
platform:bcm2835_AUD0
platform:snd-rpi-hifiberry-dacplus

============================================================
root@MusicBox:~# aplay -l
****List of PLAYBACK Hardware Devices****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

============================================================
root@MusicBox:~# cat /etc/asound.conf
pcm.!default {
    type hw
    card 1
}
ctl.!default {
    type hw
    card 1
}

============================================================
root@MusicBox:~# cat /etc/modprobe.d/blacklist.conf
cat: /etc/modprobe.d/blacklist.conf: No such file or directory

```

Edit: I managed to fix the sound. In Settings.ini I set the output to:

```
output = alsasink buffer-time=300000 latency-time=20000

```

Spotify is now playing fine!

---

<div class="post-metadata">

**Author:** ![woutervanwijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/woutervanwijk/32/15_2.png) [@woutervanwijk](https://discourse.mopidy.com/u/woutervanwijk)\
**Post date:** [November 28, 2014, 9:39am UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/8 "2014-11-28T09:39:48Z")

</div>

I did not release that version yet 🙂 Wanted to make sure if everything worked well, but it’s out now… lol

---

<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:** [November 28, 2014, 9:59am UTC](https://discourse.mopidy.com/t/will-it-run-out-of-the-box-on-a-rpi-b/351/9 "2014-11-28T09:59:25Z")

</div>

Hehe sorry!

---

<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/will-it-run-out-of-the-box-on-a-rpi-b/351/10 "2026-02-19T11:47:53Z")

</div>


