sound - haswell / ALC283 - Acer C720 support
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 10 Aug 2014 20:14:20 +0000 (13:14 -0700)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 8 Jan 2015 10:41:01 +0000 (11:41 +0100)
commitc1796d40b5f46a3230bb43f3e2011af98853df4b
treedf9b60e4ed2029f8f991aa75faeb470ac426ab33
parentebcf4a0aed8b355b2f5d7408dce75b83ee9ac273
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.
sys/dev/sound/pci/hda/hdaa.c
sys/dev/sound/pci/hda/hdaa.h
sys/dev/sound/pci/hda/hdaa_patches.c