From owner-freebsd-bugs@freebsd.org Wed Dec 16 14:03:35 2020 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 CBC204BD7D8 for ; Wed, 16 Dec 2020 14:03:35 +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 4CwxgC5Dd5z3CTH for ; Wed, 16 Dec 2020 14:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B1D154BD74E; Wed, 16 Dec 2020 14:03:35 +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 B19A94BDB18 for ; Wed, 16 Dec 2020 14:03:35 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwxgC4bdyz3CcJ for ; Wed, 16 Dec 2020 14:03:35 +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 90E142706D for ; Wed, 16 Dec 2020 14:03:35 +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 0BGE3ZZ7035210 for ; Wed, 16 Dec 2020 14:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0BGE3Z2a035209 for bugs@FreeBSD.org; Wed, 16 Dec 2020 14:03:35 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 251727] [sound] [snd_hda] After update to r368166 no sound recording with internal microphone Date: Wed, 16 Dec 2020 14:03:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: david@catwhisker.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: cc Message-ID: In-Reply-To: References: 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: Wed, 16 Dec 2020 14:03:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251727 david@catwhisker.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@catwhisker.org --- Comment #5 from david@catwhisker.org --- I am no expert on the code, but I did test sbruno's patch from D17772 and verified that it helped my case. And I recall that he (at least) tried to = make the clearing optional. The code contains(e.g): hdaa.c-6673- dev, 0, hdaa_sysctl_reconfig, "I", "Reprocess configuration"); hdaa.c-6674- SYSCTL_ADD_INT(device_get_sysctl_ctx(dev), hdaa.c-6675- SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, hdaa.c:6676: "init_clear", CTLFLAG_RW, hdaa.c:6677: &devinfo->init_clear, 1,"Clear initial pin widget configuration"); hdaa.c-6678- bus_generic_attach(dev); hdaa.c-6679- return (0); hdaa.c-6680-} And checking, I find: g1-48(12.2-S)[2] sysctl dev.hdaa.{0,1}.init_clear dev.hdaa.0.init_clear: 0 dev.hdaa.1.init_clear: 0 So: What happens if you set the appropriate dev.hdaa.%d.init_clear to 1? --=20 You are receiving this mail because: You are the assignee for the bug.=