NOTE: As requested by support, I may sending my hardware to the lab for testing but want to check in community if I'm missing anything in software settings / configuration.
Issue: No sound from TOSLink input though its showing Sources>Optical-Input>Status as "Playing" when music is playing on TV. Checked TV audio is PCM. Soundbar works fine on same TV optical port.
AirPlay and TOSLink output works fine.
I'm pretty sure that I'm missing some type of configuration somewhere in there to make it work. I don't think so it's an hardware issue.
Here’s few things I did:
1. "Optical Input" wasn’t showing originally in the input source list, so I created a file named toslink.feature within the /etc/hifiberry directory to show "Optical Input" in source list.
2. I have found that the sound card in diagnostics menu is showing as “DAC2 Pro + DSP Module” instead of “Amp100”. I have already checked the /boot/config.txt file and set it as “ dtoverlay=hifiberry-amp100”. Also tried disabling the onboard EEPROM by adding “force_eeprom_read=0”.
H/w: RPi5 8GB with Amp100 + DSP add-on board
HiFiBerry OS and DSP version 13
Config.txt file
—————
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
start_file=start4.elf fixup_file=fixup4.dat
# To use an
external initramfs file
#initramfs rootfs.cpio.gz
# Disable overscan assuming the display supports displaying the full
resolution
# If the text shown on the screen disappears off the edge, comment this out
disable_overscan=1
# How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory
gpu_mem_256=100 gpu_mem_512-100 gрu_mem_1024=100
# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
# enable autoprobing of Bluetooth driver without need of hiattach/btattach
dtparam-krnbt=on
# enable 64bits support
arm_64bit-1
dtparam=12c=on
dtparam-spi=on
dtoverlay=hifiberry-amp100
kernel-Image dtoverlay=vc4-kms-v3d-pi5, noaudio
dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1
force_eeprom_read=0