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
[ 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
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.
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.
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:
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?
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.