Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 14:21:47 +0200
From:      Nils Beyer <nbe@renzel.net>
To:        freebsd-hardware@freebsd.org
Subject:   ALC256: no sound from headphone jack - neither via discrete PCM device nor after re-patching NIDs...
Message-ID:  <9d64835f-8c28-2f64-eada-673912d18d42@renzel.net>

next in thread | raw e-mail | index | archive | help
Hi,

hardware: Dell Vostro 15-3568, Skylake
OS: FreeBSD 12.0-CURRENT #2 d74051004(drm-next)-dirty

For some reason there's no sound from the headphones jack. I've tried it as
a discrete PCM device (default setting) and as a re-patched NID.

The re-patched NID variant should be fine because there's sound out off the
internal speaker; and as soon as I plug in the headphone the internal
speaker gets silent.

Here's the dmesg output of the relevant section:
---------------------------------------------------------------------------
hdacc0: <Realtek (0x0256) HDA CODEC> at cad 0 on hdac0
ahcich0: SATA connect time=100us status=00000133
hdaa0: ahcich0: AHCI reset: device found
<Realtek (0x0256) Audio Function Group> at nid 1 on hdacc0
ahcich1: hdaa0: Subsystem ID: 0x10280793
AHCI reset...
hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
ahcich1: SATA connect time=1800us status=00000113
hdaa0: ahcich1: AHCI reset: device found
ahcich1: AHCI reset: device ready after 0ms
  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 90a60160 6  0  Mic           Fixed Digital Internal   Unknown 1
hdaa0: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0
hdaa0: 20 90170120 2  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 29 40779a2d 2  13 Modem-handset None  Analog  0x00       Pink    10
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 33 02211030 3  0  Headphones    Jack  1/8     Front      Black   0
hdaa0: Patching widget caps nid=29 0x00400400 -> 0x00700400
hdaa0: Patching pin config nid=33 0x02211030 -> 0x0221102f
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 90a60160 6  0  Mic           Fixed Digital Internal   Unknown 1
hdaa0: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa0: 20 90170120 2  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 33 0221102f 2  15 Headphones    Jack  1/8     Front      Black   0
hdaa0: 2 associations found:
hdaa0: Association 0 (2) out:
hdaa0:  Pin nid=20 seq=0
hdaa0:  Pin nid=33 seq=15
hdaa0: Association 1 (6) in:
hdaa0:  Pin nid=18 seq=0
hdaa0: Tracing association 0 (2)
hdaa0:  Pin 20 traced to DAC 2
hdaa0:  Pin 33 traced to DAC 2 and hpredir 0
hdaa0: Association 0 (2) trace succeeded
hdaa0: Tracing association 1 (6)
hdaa0:  Pin 18 traced to ADC 7
hdaa0: Association 1 (6) trace succeeded
hdaa0: Looking for additional DAC for association 0 (2)
hdaa0: Looking for additional ADC for association 1 (6)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 18 to out
hdaa0: Tracing beeper
hdaa0: Headphones redirection for association 0 nid=33 using unsolicited responses.
hdaa0: Pin sense: nid=33 sense=0x80000000 (connected)
hdaa0: Redirect output to: headphones
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Realtek (0x0256) (Analog 2.0+HP/2.0)> at nid 20,33 and 18 on hdaa0
pcm0: Playback:
pcm0:      Stream cap: 0x00000001 PCM
pcm0:         PCM cap: 0x000e0060 16 20 24 bits, 44 48 KHz
pcm0:             DAC: 2
pcm0:
pcm0:     nid=20 [pin: Speaker (Fixed)]
pcm0:       + <- nid=2 [audio output] [src: pcm]
pcm0:
pcm0:     nid=33 [pin: Headphones (Black Jack)]
pcm0:       + <- nid=2 [audio output] [src: pcm]
pcm0:
pcm0: Record:
pcm0:      Stream cap: 0x00000001 PCM
pcm0:         PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
pcm0:             ADC: 7
pcm0:
pcm0:     nid=7 [audio input]
pcm0:       + <- nid=36 [audio selector] [src: monitor]
pcm0:              + <- nid=18 [pin: Mic (Fixed)] [src: monitor]
pcm0:
pcm0: Master Volume (OSS: vol): -65/0dB
pcm0:    +- ctl  1 (nid   2 out):    -65/0dB (88 steps)
pcm0:    +- ctl  8 (nid  20 in ):    mute
pcm0:    +- ctl 14 (nid  33 in ):    mute
pcm0:
pcm0: PCM Volume (OSS: pcm): -65/0dB
pcm0:    +- ctl  1 (nid   2 out):    -65/0dB (88 steps)
pcm0:    +- ctl  8 (nid  20 in ):    mute
pcm0:    +- ctl 14 (nid  33 in ):    mute
pcm0:
pcm0: Microphone2 Volume (OSS: monitor): 0/30dB
pcm0:    +- ctl  3 (nid   7 in   0): -17/30dB (64 steps) + mute
pcm0:    +- ctl  6 (nid  18 out):    0/30dB (4 steps)
pcm0:
pcm0: Recording Level (OSS: rec): -17/30dB
pcm0:    +- ctl  3 (nid   7 in   0): -17/30dB (64 steps) + mute
pcm0:    +- ctl  6 (nid  18 out):    0/30dB (4 steps)
pcm0:
pcm0: Mixer "vol":
pcm0: Mixer "bass":
pcm0: Mixer "treble":
pcm0: Mixer "pcm":
pcm0: Mixer "rec":
pcm0: Mixer "ogain":
pcm0: Mixer "monitor":
pcm0: EQ Treble/Bass ENABLED
pcm0: Playback channel set is: Front Left, Front Right,
pcm0: Playback channel matrix is: 2.0 (connected)
pcm0: Automatically set rec source to: monitor
pcm0: Recording channel set is: Front Left, Front Right,
pcm0: Recording channel matrix is: 2.0 (unknown)
---------------------------------------------------------------------------

Headphones jack is working - verified by trying Ubuntu.

Any ideas what to try next?



TIA and regards,
Nils



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d64835f-8c28-2f64-eada-673912d18d42>