[Bug 262579] Framework Laptop: Mic input does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Mar 2022 01:34:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262579

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
With a headset plugged in, sysctl dev.hdac.0.pindump produces:

hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 10 0321101f 1  15 Headphones    Jack  1/8     Left       Black   0
hdaa0:     Caps:    OUT HP EAPD      Sense: 0x80000000 (connected)
hdaa0: 11 04a19020 2  0  Mic           Jack  1/8     Right      Pink    0
hdaa0:     Caps: IN        EAPD VREF Sense: 0x80000000 (connected)
hdaa0: 12 40f000f0 15 0  Other         None  Unknown 0x00       Unknown 0 DISA
hdaa0:     Caps: IN        EAPD VREF Sense: 0x00000000 (disconnected)
hdaa0: 13 90134110 1  0  Speaker       Fixed ATAPI   Internal   Green   1
hdaa0:     Caps:    OUT    EAPD     
hdaa0: 14 90a31130 3  0  Mic           Fixed ATAPI   Internal   Black   1
hdaa0:     Caps: IN                 
hdaa0: 15 40f000f0 15 0  Other         None  Unknown 0x00       Unknown 0 DISA
hdaa0:     Caps: IN                 
hdaa0: 24 40f000f0 15 0  Other         None  Unknown 0x00       Unknown 0 DISA
hdaa0:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled

The codec datasheet has this interesting note:

To ensure that the BIAS voltage reaches a level of ~2.6V, please add the
following widgets to the codec initialization routine at system power-on:
0x0017E442, 0x 0017DC02, 0x0017EA0D. Testing has shown that the microphone in
some headsets may not function properly unless these widgets are properly
configured.

-- 
You are receiving this mail because:
You are the assignee for the bug.