From owner-freebsd-bugs@freebsd.org Sat Feb 27 21:38:51 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E002D5544EC for ; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dp0Jq4gv5z3vrr for ; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A06E65544EB; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A039E554270 for ; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp0Jq41TBz3vy7 for ; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D01024D21 for ; Sat, 27 Feb 2021 21:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11RLcp6c070175 for ; Sat, 27 Feb 2021 21:38:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11RLcpmG070174 for bugs@FreeBSD.org; Sat, 27 Feb 2021 21:38:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253900] Lenovo X1 Carbon 7th Generation requires quirk for proper sound Date: Sat, 27 Feb 2021 21:38:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 21:38:51 -0000 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.=