4 Replies Latest reply on Jan 24, 2017 12:04 PM by Intel Corporation

    NUC6i7KYK: no S/PDIF digital audio output on Ubuntu 16.10

    shinkai

      I'm running Ubuntu 16.10 on Skull Canyon NUC, but S/PDIF digital audio output is not working.

      Normally in Ubuntu it is sufficient to do something like:

       

      1. Enable (un-mute) S/PDIF output in alsamixer, if muted by default

      2. Install pavucontrol:

           sudo apt-get install pavucontrol

      3. Select output profile "Digital Stereo (IEC958) Output" (or something similar) under Configuration tab

       

      In this case pavucontrol does list IEC958 device in the configuration, but selecting it does not enable digital out - the LED transmitter remains inactive. Analog output works as expected (both rear and front jacks).

       

      It seems that the system sees the S/PDIF output device: aplay -l says

      **** List of PLAYBACK Hardware Devices ****

      card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]

        Subdevices: 1/1

        Subdevice #0: subdevice #0

      card 0: PCH [HDA Intel PCH], device 1: ALC233 Digital [ALC233 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

      card 1: C10 [Cambridge Audio USB Audio 1.0], device 0: USB Audio [USB Audio]

        Subdevices: 0/1

        Subdevice #0: subdevice #0

       

      so hw(0, 1) appears to be the right guy. Also aplay -L includes


      iec958:CARD=PCH,DEV=0

          HDA Intel PCH, ALC233 Digital
          IEC958 (S/PDIF) Digital Audio Output

      Any ideas?

      Do I need to enable S/PDIF somewhere else? Or fiddle with ALSA configuration?

        • 1. Re: NUC6i7KYK: no S/PDIF digital audio output on Ubuntu 16.10
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello :
           
          In this case, I just wanted to let you know that Intel tested the NUC using Windows, however we know that a lot of NUC owners are using it successfully on many different Linux distros.
          So, based on that, the best thing to do will be to access your Linux distro's website and forums for peer assistance with this issue at:
           
          http://ubuntuforums.org/
           
          But also, we will start an investigation on this subject in order to provide further details about this feature, by any chance do you know the Kernel version that is currently installed?
           
          Any questions, please let me know.
           
          Regards
           
          Alberto
           

          • 2. Re: NUC6i7KYK: no S/PDIF digital audio output on Ubuntu 16.10
            shinkai

            Thanks Alberto,

             

            The kernel is:
            Linux  4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

            • 3. Re: NUC6i7KYK: no S/PDIF digital audio output on Ubuntu 16.10
              shinkai

              I think I found a solution:

               

              1. alsamixer lists many SPDIF devices, one needs to un-mute both "S\PDIF" and "S/PDIF 16" channels. Use left/right arrow to choose the channel, "m" key to toggle mute. Note that "S/PDIF 16" is not visible in the beginning, one needs to scroll the screen to right to see all the channels. It seems that "S/PDIF 16" toggles the power, and "S\PDIF" the PCM signal to the digital out jack.

               

              2. Open pavucontrol and choose "Digital Stereo (IEC958) Output" "Digital Stereo (IEC958) Output + Analog Stereo Input" under Configuration tab. Instead of using pavucontrol, the same setting can be found in the system settings, for example in KDE5: System Settings -> Multimedia -> Audio and Video -> Audio Hardware Setup tab.

               

              • 4. Re: NUC6i7KYK: no S/PDIF digital audio output on Ubuntu 16.10
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                Hello :

                Thank you very much for letting us all those details, they will be very useful for us and for all the peers viewing this thread.
                 
                Perfect, excellent, in regards to the sound configuration of the NUC using Ubunto that is actually a pretty good work around or solution to fix this problem, we are glad to hear you were able to find those options.
                 
                Please let me know if you need further assistance on this matter.
                 
                Any further questions, please let me know.
                 
                Regards
                 
                Alberto