0

Hifiberry DAC plus howto install on ubuntu

Hi there,

I just bought a Hifiberry DAC+ and a Rasp. Pi2
Ubuntu is already running on sd-card. Now I need some help.

uname -a
Linux ubuntu 3.18.0-25-rpi2 #26-Ubuntu SMP PREEMPT Sun Jul 5 06:46:34 UTC 2015 armv7l armv7l armv7l GNU/Linux



I tried to follow this site https://www.hifiberry.com/guides/configuring-linux-3-18-x/

In /etc/modprobe.d/blacklist.conf was none of those entries
blacklist i2c-bcm2708
blacklist snd-soc-pcm512x
blacklist snd-soc-wm8804
Nothing changed here.

Also I could not delete "snd_bcm2835" in /etc/modules as there is only comments and no entry.
modinfo snd_bcm2835
filename: /lib/modules/3.18.0-25-rpi2/kernel/sound/arm/snd-bcm2835.ko
alias: platform:bcm2835_alsa
license: GPL
description: Alsa driver for BCM2835 chip
author: Dom Cobley
srcversion: 6DCA1DA887A468ECA31419B
depends: snd-pcm,snd
intree: Y
vermagic: 3.18.0-25-rpi2 SMP preempt mod_unload modversions ARMv7
parm: force_bulk:Force use of vchiq bulk for audio (bool)


So I only blacklisted the driver in /etc/modprobe.d/blacklist.conf.

In /boot/firmware/overlays/ is a file hifiberry-dacplus-overlay.dtb so I tried these 2 lines in /boot/config.txt: dtoverlay=hifiberry-dacplus and dtoverlay=hifiberry-dacplus-overlay

Created the /etc/asound.conf, restarted the OS and tried with update-initramfs -u, but still the onboard driver is active and no sing of the Hifiberry.

modinfo snd_bcm2835
filename: /lib/modules/3.18.0-25-rpi2/kernel/sound/arm/snd-bcm2835.ko
alias: platform:bcm2835_alsa
license: GPL
description: Alsa driver for BCM2835 chip
author: Dom Cobley
srcversion: 6DCA1DA887A468ECA31419B
depends: snd-pcm,snd
intree: Y
vermagic: 3.18.0-25-rpi2 SMP preempt mod_unload modversions ARMv7
parm: force_bulk:Force use of vchiq bulk for audio (bool)
ubuntu@ubuntu:~$ modinfo snd_bcm2835
filename: /lib/modules/3.18.0-25-rpi2/kernel/sound/arm/snd-bcm2835.ko
alias: platform:bcm2835_alsa
license: GPL
description: Alsa driver for BCM2835 chip
author: Dom Cobley
srcversion: 6DCA1DA887A468ECA31419B
depends: snd-pcm,snd
intree: Y
vermagic: 3.18.0-25-rpi2 SMP preempt mod_unload modversions ARMv7
parm: force_bulk:Force use of vchiq bulk for audio (bool)


aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
Sub-Geräte: 8/8
Sub-Gerät #0: subdevice #0
Sub-Gerät #1: subdevice #1
Sub-Gerät #2: subdevice #2
Sub-Gerät #3: subdevice #3
Sub-Gerät #4: subdevice #4
Sub-Gerät #5: subdevice #5
Sub-Gerät #6: subdevice #6
Sub-Gerät #7: subdevice #7
Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0


lsmod
Module Size Used by
cfg80211 376661 0
bnep 17650 2
rfcomm 50085 0
bluetooth 353080 10 bnep,rfcomm
rfkill 19527 5 cfg80211,bluetooth
8192cu 516279 0
snd_soc_bcm2708_i2s 13257 0
regmap_mmio 12858 1 snd_soc_bcm2708_i2s
bcm2708_rng 12445 0
snd_seq_dummy 12465 0
snd_soc_core 143741 1 snd_soc_bcm2708_i2s
snd_compress 17520 1 snd_soc_core
snd_pcm_dmaengine 12927 1 snd_soc_core
snd_bcm2835 27675 0
snd_pcm_oss 44475 0
snd_mixer_oss 21946 1 snd_pcm_oss
snd_seq_oss 32826 0
snd_seq_midi 12782 0
snd_seq_midi_event 13200 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 22437 1 snd_seq_midi
snd_pcm 75238 4 snd_bcm2835,snd_pcm_oss,snd_soc_core,snd_pcm_dmaengine
snd_seq 56145 6 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi
spi_bcm2708 12686 0
i2c_bcm2708 12672 0
snd_seq_device 13056 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_timer 26560 2 snd_pcm,snd_seq
snd 51707 11 snd_bcm2835,snd_pcm_oss,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_device,snd_compress,snd_mixer_oss
fuse 78744 4



Thanks for your help

4 comments

Please sign in to leave a comment.