On 10/3/18 3:06 PM, David Wolfskill wrote:
On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote:
....
Do the headphones work with this patch?

Index: sys/dev/sound/pci/hda/hdaa.c
===================================================================
--- sys/dev/sound/pci/hda/hdaa.c    (revision 339076)
+++ sys/dev/sound/pci/hda/hdaa.c    (working copy)
@@ -5034,11 +5034,13 @@
           pincap = w->wclass.pin.cap;

           /* Disable everything. */
+        /*
           w->wclass.pin.ctrl &= ~(
               HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE |
               HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE |
               HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE |
               HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK);
+        */

           if (w->enable == 0) {
               /* Pin is unused so left it disabled. */
....
Thank you!  This addressed the long-standing (Reported:  2015-05-29
21:15 UTC) issue I have had with my laptop (Dell Precision M4800), as
documented in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526
-- now updated to reflect the fix.


That's great! Glad to hear it helped.

This is probably not a proper fix, but it helps to understand the problem.

Could you post the output of 'sysctl dev.hdaa' with and without the patch so we can see what's different?


Jakob

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to