Can't activate my HifiBerry Amp+ on top of my RPi 3

Hello,

I’m new here, 72 years of age, from Austria (non native english speaker) - please keep that in mind.

Problem: can’t activate my HifiBerry Amp+ on top of my RPi 3; it does not show up in MyOSMC

Hardware:
Raspberry Pi 3
HifiBerry Amp+
Meanwell GS60A18-P1J Power supply
Logitech mouse
Logitech keyboard

Tried so far:

  1. HifiBerry installer20160802
  • no version for RPi 3 available
  • version for RPi 2 does not boot, upper right hand corner shows colored symbol “not enough power” which can’t be true
  1. OSMC_TGT_rbp2_20160802.img.gz
    Installation finished, used Update from MyOSMC.

uname -a:
Linux hmwz 4.4.16-4-osmc #1 SMP PREEMPT Fri Aug 26 00:22:10 UTC 2016 armv7l GNU/Linux

grep VERSION_ID /etc/os-release:
VERSION_ID=“2016.08-1”

checked /boot/overlays/hifib*
-rwxr-xr-x 1 root root 779 Aug 26 03:56 /boot/overlays/hifiberry-amp-overlay.dtb
-rwxr-xr-x 1 root root 655 Aug 26 03:56 /boot/overlays/hifiberry-dac-overlay.dtb
-rwxr-xr-x 1 root root 1436 Aug 26 03:56 /boot/overlays/hifiberry-dacplus-overlay.dtb
-rwxr-xr-x 1 root root 783 Aug 26 03:56 /boot/overlays/hifiberry-digi-overlay.dtb

added line at the bottom of /boot/config.txt:
gpu_mem_1024=256
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1
gpu_mem_256=112
sdtv_aspect=1
gpu_mem_512=144
#dtoverlay=hifiberry-amp
dtoverlay=hifiberry-amp-overlay

dmesg | grep hifiber:
[ 4.133508] snd-hifiberry-amp soc:sound: ASoC: CPU DAI (null) not registered
[ 4.133525] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
[ 4.134772] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 4.134787] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
[ 5.323937] snd-hifiberry-amp soc:sound: tas5713-hifi <-> 3f203000.i2s mapping ok

If you need more information please ask.

Your help to solve my problem appreciated.

TIA Heinz from Vienna, Austria

Hello fzinken,

my /boot/config.txt below:

gpu_mem_1024=256
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1
gpu_mem_256=112
sdtv_aspect=1
gpu_mem_512=144
dtoverlay=lirc-rpi
dtparam=gpio_in_pin=18
dtoverlay=hifiberry-amp
dtparam=audio=off

snippet of dmesg below:

[ 4.146757] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 83) (baudrate 100000)
[ 4.191859] lirc_dev: IR Remote Control driver registered, major 243
[ 4.214977] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.303042] usbcore: registered new interface driver brcmfmac
[ 4.360550] random: nonblocking pool is initialized
[ 4.422272] pinctrl-bcm2835 3f200000.gpio: pin gpio18 already requested by lirc_rpi; cannot claim for 3f203000.i2s
[ 4.422289] pinctrl-bcm2835 3f200000.gpio: pin-18 (3f203000.i2s) status -22
[ 4.422298] pinctrl-bcm2835 3f200000.gpio: could not request pin 18 (gpio18) from group gpio18 on device pinctrl-bcm2835
[ 4.422305] bcm2835-i2s 3f203000.i2s: Error applying setting, reverse things back
[ 4.422685] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 4.422699] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
[ 4.439201] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c
[ 4.458185] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ 4.568414] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 4.639553] uart-pl011 3f201000.uart: no DMA platform data
[ 5.173360] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[ 5.173573] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 5.173579] lirc_rpi: driver registered!
[ 5.191537] systemd-journald[158]: Received request to flush runtime journal from PID 1
[ 5.388416] input: lircd as /devices/virtual/input/input3
[ 5.522800] snd-hifiberry-amp soc:sound: tas5713-hifi <-> 3f203000.i2s mapping ok
[ 5.928826] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 5.928845] brcmfmac: brcmf_add_if: ignore IF event
[ 5.932534] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[

Does it tell you something?

Is the sequence of lines in /boot/config.txt important?
Which is correct in config.txt?
dtoverlay=hifiberry-amp or
dtoverlay=hifiberry-amp-overlay

kr Heinz (from Vienna, Austria)

I don’t own a hifiberry but using the great search function of this forum I believe to have found the answer is dtoverlay=hifiberry-amp-overlay

dtparam=audio=off worked yesterday. I switched the RPi off overnight, on this morning again and hifiberry-amp was gone from Settings-System-Audio Devices.

Conclusion: It’s not stable enough for me.

Tried Libreelec, worked out of the box and is stable. Reboot and power down doesn’t change any settings.
I’ll probably keep Libreelec unless I’ll find other problems.

kr Heinz (from Vienna, Austria)

That’s interesting considering the hundreds of other users who have no issue with HiFiberry. But if that works for you, then enjoy.

He probably opened Pi Config and pressed OK, which might have reset that.

Doesn’t matter, if he’s happy with LE, stick with it

Hello Sam,

I can’t remember if I did what you suspect, but shouldn’t that leave config.txt unchanged anyway? Since I use a few Micro-SD cards to test various distros I still had the OSMC one available. Had a look at config.txt on my PC and surprise, dtparam=audio=off was gone, dtoverlay still there. I entered the “missing line” a few minutes ago and HifiBerry-Amp+ was back and working. Now I powered RPi 3 down and will turn it on later in the afternoon to check if everything is still working. I’d prefer to use OSMC over LE but need a stable and easy to use environment, because RPi 3 is attached to the TV in the living-room and ususally my wife will use it hopefully without daily support from myself.

I’ll let you know during the weekend if it’s stable now.

rgds. from Vienna, Austria,
Heinz

I have to admit that OSMC now works as expected and stable as well!

I’d like to mark the topic solved, but don’t find how it’s done. Please give me a hint.

kr from Vienna, Austria,
Heinz

FWIW, this error seems to be cosmetic:

[ 7.770670] snd-hifiberry-amp soc:sound: ASoC: CPU DAI (null) not registered
[ 7.770709] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
[ 7.790847] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 7.790884] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
[ 10.851873] snd-hifiberry-amp soc:sound: tas5713-hifi <-> 20203000.i2s mapping ok

config.txt:

dtoverlay=hifiberry-amp-overlay
dtparam=audio=off
arm_freq=850
core_freq=375
gpu_mem_256=112
gpu_mem_512=144
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1

Hi OSMC users,

as a new Raspberry and (hopefully) future OSMC user I hope that I may continue this thread with my hifiberry problem.
My Raspberry 3 adresses perfectly my hifiberry when using Openelec, but my hifiberry does not give any sound to my amplifier when the system runs under OSMC. In this thread I found hints for modifying the config.txt which now is:

dtoverlay=hifiberry-amp-overlay
dtparam=audio=off
gpu_mem_1024=256
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1

However, no sound…

My only change was the insertion of the 2 first lines:
dtoverlay=hifiberry-amp-overlay
dtparam=audio=off
Did I make any mistakes editing my config.txt like that?

Did you select the HifiBerry under the audio setting output?

Initially the HifiBerry was not available under the audio setting output. Then I found a hint in the HifiBerry online documentation… and changed
dtoverlay=hifiberry-amp-overlay
to
dtoverlay=hifiberry-dacplus

and then I could select my HiFiBerry in the Soundcard Overlay parameter. Now it works.