[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:24:16 UTC 2020


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

--- Comment #6 from Matthias Apitz <guru at unixarea.de> ---
What happens is that the values have no effect:

[guru at c720-r368166 ~]$ grep init_clear /boot/device.hints
dev.hdaa.0.init_clear=1
dev.hdaa.1.init_clear=1
[guru at c720-r368166 ~]$ sysctl dev.hdaa.0.init_clear
dev.hdaa.0.init_clear: 0
[guru at c720-r368166 ~]$ sysctl dev.hdaa.1.init_clear
dev.hdaa.1.init_clear: 0

and if you look also in my DEBUG messages above, the code in hdacc.c in the
test

...
                device_printf(devinfo->dev,
                "DEBUG hdaa.c: hdaa_audio_prepare_pin_ctrl() has 
devinfo->init_clear as: %d\n",
                        devinfo->init_clear);
                /* Disable everything. */
                if (devinfo->init_clear) {
                        device_printf(devinfo->dev,
                        "DEBUG hdaa.c: hdaa_audio_prepare_pin_ctrl() disables
everything\n");
                        w->wclass.pin.ctrl &= ~(
                        HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE |
...
does not have any value !=0 in devinfo->init_clear;

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


More information about the freebsd-bugs mailing list