HDA Intel PCH SPDIF Device Help

I am running on a MacMini that has an optical SPDIF output. Volumio is running from the HDD. The analog output is working fine but I am unable to get the OPT SPDIF working. I have read many of the posts about SPDIF issues so below is some of the information that may be relevant:

 cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa0710000 irq 36
 5 [ZDAC           ]: USB-Audio - ZDAC
                      Parasound ZDAC at usb-0000:00:14.0-2, full speed
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4206 Analog [CS4206 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4206 Digital [CS4206 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The relevant mixer control names that are available are:

IEC958
IEC958 Default PCM
IEC958,1
IEC958,1,1
IEC958,1,1,1

I don’t know where to go from here.

It does not look like it has SPDIF, perhaps it is linked to HDMI.
Could you do “amixer -c 0” for me, just to check.

Then open alsamixer and check if any control has been muted (you may have to use F6 to select the card).
In that case you will see “MM” underneath the control, unmuted controls show as “00”.
Tab to it and hit the “m”-key to unmute.
In case it works, tell us which one you unmuted.

When we get this working, we would add a tweak for this HDA Intel card for the new x86 version we are preparing, spdif would then work out of the box.

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 115 [91%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 115 [91%] [0.00dB] [on]
  Front Right: Playback 115 [91%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 115 [91%] [0.00dB] [on]
  Front Right: Playback 115 [91%] [0.00dB] [on]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',16
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [12.00dB] [on]
  Front Right: Capture 63 [100%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'

Yes, I think I’ve got it and will get back to you.
Which volumio version did you install?
Does S/PDIF show up in the playback options?

I do not know where to look but it was the most current this week.

Yes, it shows up in the playback options.

Could you try the beta version? It supports more hardware and is used for the new 32and 64bit versions we are releasing soon.
Download it from this page: Volumio X86/ Debian Buster debugging party (BETA).

Will do, and I will repot back.

Might this also solve my Parasound ZDAC issue? (Another post)

The beta did not fix the SPDIF issue.

A question though, I was running version 2.861-2020-12-22 and the beta was buster 2.857-2020-12-11

Was this the correct beta to install?

yes, 2.857 was the last beta, but no it will not solve your ZDAC issue.
We have the latest USB Audio configuration, with all known quirks.
You may need to get in touch with your reseller, tell him it is being recognized under Linux as a usb audio device, but does not play. We can’t do anything about that.

HDA Intel PCH has been configured, already there for quite a while.
So, if SPDIF shows up in the Volumio’s list of playback options, and SPDIF is not muted and it does not work, then we still seem to miss some firmware, but I really have no idea what is so specific for a macbook.
Did you try HDM? Sometimes it is linked.

Otherwise we need to try one more option, but I need to send you a specific HAD Interl PCH config for it.