[Bug 251727] [sound] [snd_hda] After update to r368166 no sound recording with internal microphone

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 16 14:03:35 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251727

david at catwhisker.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at catwhisker.org

--- Comment #5 from david at 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?

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


More information about the freebsd-bugs mailing list