Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 21:38:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253900] Lenovo X1 Carbon 7th Generation requires quirk for proper sound
Message-ID:  <bug-253900-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253900

            Bug ID: 253900
           Summary: Lenovo X1 Carbon 7th Generation requires quirk for
                    proper sound
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

By default sound on the X1 Carbon 7th Generation is quiet and tinny. It tur=
ns
out the laptop has two sets of speakers on the top and bottom. The
bottom-facing speakers provide more volume and bass.

By default the top and bottom speakers are connected to different DACs, and
nothing goes to the DAC connected to the bottom speakers (nid 3).

## Top speakers
dev.hdaa.0.nid20_original: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker conn=
=3DFixed
ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1
dev.hdaa.0.nid20_config: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker conn=3D=
Fixed
ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1
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=3D1 seq=3D0 device=3DSpeaker conn=3DFixed ct=
ype=3DAnalog
loc=3DInternal color=3DUnknown misc=3D1
    Pin control: 0x00000040 OUT
           EAPD: 0x00000002 EAPD
     Output amp: 0x80000000 mute=3D1 step=3D0 size=3D0 offset=3D0 (0/0dB)
    Connections: 1
          + <- nid=3D2 [audio output]

## Bottom bass speakers
dev.hdaa.0.nid23_original: 0x90170111 as=3D1 seq=3D1 device=3DSpeaker conn=
=3DFixed
ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1
dev.hdaa.0.nid23_config: 0x90170111 as=3D1 seq=3D1 device=3DSpeaker conn=3D=
Fixed
ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1
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=3D1 seq=3D1 device=3DSpeaker conn=3DFixed ct=
ype=3DAnalog
loc=3DInternal color=3DUnknown misc=3D1
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=3D1 step=3D0 size=3D0 offset=3D0 (0/0dB)
    Connections: 3
          + [DISABLED] <- nid=3D2 [audio output]
          + <- nid=3D3 [audio output] (selected)
          + [DISABLED] <- nid=3D6 [audio output] [DISABLED]

References:

- jcs OpenBSD on the Lenovo ThinkPad X1 Carbon (7th Gen)
https://jcs.org/2019/08/14/x1c7
  - quirk commit
https://github.com/openbsd/src/commit/b4db693dac78b3ae76ca949aac54546875888=
3b4
- Linux bug https://bugzilla.kernel.org/show_bug.cgi?id=3D207407
- Linux commits
  - 6a6660d049f88b89fd9a4b9db3581b245f7782fa
  - 9774dc218bb628974dcbc76412f970e9258e5f27
  - c37c0ab029569a75fd180edb03d411e7a28a936f
  - 54a6a7dc107da0492a9e84fd7e9a107b3c58138d
  - d2cd795c4ece1a24fda170c35eeb4f17d9826cbb

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253900-227>