Yes, I have Toslink adapter attached. I did take look of alsamixer but was not sure about settings and what should be changed. After configurations are done, should I see with aplay -l command (or similar) when SPDIF output is enabled?
OK, that’s awesome! The reason why I asked for help was when I noticed on the all-h3-cc-h5 Board side that there was spdif.dts overlay used to enable SPDIF and wondered could it be same thing in AML-S905X-CC board also.
Just checking is there any progress on this? I’m developing a commercial streamer device and evaluating AML-S905X-CC SBC due to it’s very competitively priced. Integrated SPDIF would be a very big advantage over other manufacturers, but of course I would like to try it. Secondly, is the SPDIF output directly supported in some other distros? I’m currently using this Debian 11 Bullseye:
Linux raspberrypi 6.1.29-06024-g1987da89199c #1 SMP PREEMPT_DYNAMIC Wed May 24 04:26:03 UTC 2023 aarch64 GNU/Linux
Which distro was used to test this overlay? Enabling spdif.dts didn’t affect (no new device seen with aplay -l) and merging the overlay resulted that all audio was broken.
gevol@raspbian-bullseye-aml-s905x-cc:~ $ speaker-test
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -2,No such file or directory
Hi Librespot, are going to fix the issue with the provided spdif.dts overlay regarding to correct dai-link sub node order? According to my tests “dai-link-4” node can’t be the first (before dai-link-0) due it will break the audio totally. When it’s the last sub-node then audio and SPDIF output in Header 9J1 will work.