Nuc 8i3 No Sound on Headphone Jack.
by SteveMann from LinuxQuestions.org on (#55HVK)
Help, please.
I have two Intel Nucs, both running Ubuntu 18.04. Both were set up within a week of each other. Except for the SSD size, they are identical. Except one plays sound through the headphone jack and the other doesn't.
Here are some diagnostic steps I've taken, but other than comparing the working with non-working Nucs, I am not sure where to go from here. Any tips or other diagnostic steps I should take would be appreciated.
BIOS settings are identical. I did try turning off HDMI sound on the inop Nuc with no difference.
alsamixer -c 0
shows identical settings from both.
aplay -l
is identical, both show ALC223 Analog.
-------------
On the working Nuc:
amixer -c0 cget numid=10
numid=10,iface=CARD,name='Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
On the not-working Nuc:
amixer -c0 cget numid=10
numid=10,iface=MIXER,name='Beep Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=0,0
| dBscale-min=-34.50dB,step=1.50dB,mute=0
(I see a difference here, but how do I change the settings?)
-------------
Working Nuc:
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0b20000 irq 150
Not-working:
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0b20000 irq 143
-------------
Working (Plays white noise):
cat /dev/urandom | aplay -D hw:0,0 -f S16_LE -c 2
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
please, try the plug plugin
^CAborted by signal Interrupt...
Not working:
cat /dev/urandom | aplay -D hw:0,0 -f S16_LE -c 2
aplay: main:788: audio open error: Device or resource busy


I have two Intel Nucs, both running Ubuntu 18.04. Both were set up within a week of each other. Except for the SSD size, they are identical. Except one plays sound through the headphone jack and the other doesn't.
Here are some diagnostic steps I've taken, but other than comparing the working with non-working Nucs, I am not sure where to go from here. Any tips or other diagnostic steps I should take would be appreciated.
BIOS settings are identical. I did try turning off HDMI sound on the inop Nuc with no difference.
alsamixer -c 0
shows identical settings from both.
aplay -l
is identical, both show ALC223 Analog.
-------------
On the working Nuc:
amixer -c0 cget numid=10
numid=10,iface=CARD,name='Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
On the not-working Nuc:
amixer -c0 cget numid=10
numid=10,iface=MIXER,name='Beep Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
: values=0,0
| dBscale-min=-34.50dB,step=1.50dB,mute=0
(I see a difference here, but how do I change the settings?)
-------------
Working Nuc:
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0b20000 irq 150
Not-working:
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0b20000 irq 143
-------------
Working (Plays white noise):
cat /dev/urandom | aplay -D hw:0,0 -f S16_LE -c 2
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
please, try the plug plugin
^CAborted by signal Interrupt...
Not working:
cat /dev/urandom | aplay -D hw:0,0 -f S16_LE -c 2
aplay: main:788: audio open error: Device or resource busy