The ALC663 is a 5.1 Channel High Definition Audio Codec
The ALC663 provides two independent S/PDIF outputs and supports 16/20/24-bit SPDIF output with a sampling rate of up to 192kHz, offering easy connection of PCs to high quality consumer electronic products such as digital decoders and speakers. In addition to the standard (primary) SPDIF output function, the ALC663 features another independent (secondary) SPDIF-OUT output and converters that transport digital audio output to a High Definition Media Interface (HDMI) transmitter (becoming more common in high-end PCs).
did you toggle the "IEC958 Playback Switch" ?
can you post the output of alsa-info.sh
https:/ /wiki.ubuntu. com/Audio/ AlsaInfo
http:// www.realtek. com/products/ productsView. aspx?Langid= 1&PNid= 24&PFid= 37&Level= 5&Conn= 4&ProdID= 165
The ALC663 is a 5.1 Channel High Definition Audio Codec
The ALC663 provides two independent S/PDIF outputs and supports 16/20/24-bit SPDIF output with a sampling rate of up to 192kHz, offering easy connection of PCs to high quality consumer electronic products such as digital decoders and speakers. In addition to the standard (primary) SPDIF output function, the ALC663 features another independent (secondary) SPDIF-OUT output and converters that transport digital audio output to a High Definition Media Interface (HDMI) transmitter (becoming more common in high-end PCs).