[Bug 253900] Lenovo X1 Carbon 7th Generation requires quirk for proper sound

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Jul 2022 16:38:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253900

Jonathan Vasquez <jon@xyinn.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jon@xyinn.org

--- Comment #2 from Jonathan Vasquez <jon@xyinn.org> ---
This is also affecting me on 13.1-STABLE (makes sense though since CURRENT is
also affected). I'm trying to see if there are any hints I can tweak to get
this working. For my gen7, both of the speakers are already part of the same
association. Headphones also work properly as it's part of the same set by
default after patching.

hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 22 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 23 90170111 1  1  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 25 04a11040 4  0  Mic           Jack  1/8     Right      Black   0
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 40600001 0  1  Modem-line    None  Unknown 0x00       Unknown 0
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1
hdaa0: 33 04211020 2  0  Headphones    Jack  1/8     Right      Black   0

hdaa0: Patching widget caps nid=29 0x00400400 -> 0x00700400
hdaa0: Patching pin config nid=33 0x04211020 -> 0x0321101f

hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 22 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 23 90170111 1  1  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
hdaa0: 25 04a11040 4  0  Mic           Jack  1/8     Right      Black   0
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 0321101f 1  15 Headphones    Jack  1/8     Left       Black   0

dev.hdaa.0.nid20_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid20_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid20: pin: Speaker (Fixed)
     Widget cap: 0x0040058d PWR UNSOL STEREO
    Association: 0 (0x0001)
        Pin cap: 0x00010014 PDC OUT EAPD
     Pin config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog
loc=Internal color=Unknown misc=1
    Pin control: 0x00000040 OUT
           EAPD: 0x00000002 EAPD
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 1
          + <- nid=2 [audio output]

dev.hdaa.0.nid23_original: 0x90170111 as=1 seq=1 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid23_config: 0x90170111 as=1 seq=1 device=Speaker conn=Fixed
ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid23: pin: Speaker (Fixed)
     Widget cap: 0x0040058d PWR UNSOL STEREO
    Association: 0 (0x0002)
        Pin cap: 0x0000001c PDC HP OUT
     Pin config: 0x90170111 as=1 seq=1 device=Speaker conn=Fixed ctype=Analog
loc=Internal color=Unknown misc=1
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 3
          + [DISABLED] <- nid=2 [audio output]
          + <- nid=3 [audio output] (selected)
          + [DISABLED] <- nid=6 [audio output] [DISABLED]

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