git: sound - haswell / ALC283 - Acer C720 support

Francois Tigeot ftigeot at
Thu Jan 8 03:37:43 PST 2015

commit c1796d40b5f46a3230bb43f3e2011af98853df4b
Author: Matthew Dillon <dillon at>
Date:   Sun Aug 10 13:14:20 2014 -0700

    sound - haswell / ALC283 - Acer C720 support
    * Get headphone auto-sensing and speaker/headphone selection changes working.
      I couldn't figure out how to do it with the hpredir mechanism so I added
      a new field, w->senseredir, which tells the driver to also mess around
      with mixer selections.
      In the case of the Acer C720 nid 33 (the headphone) has two mixer
      selections, allowing either DMA channel to be selected while nid 20
      (the speaker) only has one.  The default selection winds up being
      wrong.  The senseredir field allows the sense mechanism to determine
      the correct selection and do change the active selection.
    * WARNING!  We currently do not parse the acer out-of-band config data
      to figure out the headphone sense.

Summary of changes:
 sys/dev/sound/pci/hda/hdaa.c         | 43 ++++++++++++++++++++++++++++++++----
 sys/dev/sound/pci/hda/hdaa.h         |  1 +
 sys/dev/sound/pci/hda/hdaa_patches.c | 21 +++++++++++++++---
 3 files changed, 58 insertions(+), 7 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list