1. 21 Jun, 2009 1 commit
    • Tony Vroon's avatar
      ALSA: hda - Acer Inspire 6530G model for Realtek ALC888 · d2fd4b09
      Tony Vroon authored
      The selected 4930G model seemed to keep the subwoofer 'tuba'
      function from operating correctly. Removing the existing PCI
      ID match made this work again, but it was mapped to 'Side'
      instead of to LFE as one would expect.
      This attempts to enable all functionality and keep the amount
      of available mixer sliders low. Any slider that had no audible
      effect on the output audio has been removed, and as such EAPD
      is not currently enabled.
      Signed-off-by: default avatarTony Vroon <tony@linx.net>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d2fd4b09
  2. 17 Jun, 2009 4 commits
  3. 13 Jun, 2009 1 commit
  4. 10 Jun, 2009 1 commit
  5. 08 Jun, 2009 2 commits
  6. 05 Jun, 2009 1 commit
  7. 04 Jun, 2009 1 commit
  8. 03 Jun, 2009 1 commit
    • Hector Martin's avatar
      ALSA: hda - More Aspire 8930G fixes · 018df418
      Hector Martin authored
      Enable all three capture channels, including the missing nid 7 which is
      the only one capable of capturing DMIC input
      
      Enable Headphone amp for the HP jack. This causes a volume boost for
      headphones, but does not cause any noticeable effect for light loads
      like other amps, so there is no need to make it configurable.
      
      Add Input Mix capture mux setting to capture the output of the playback
      input mux (that is, what goes out the speakers except for PCM)
      
      Hack another coef register because the stereo DMIC for some reason
      produces a nonstandard sum/difference signal. I found a bit to make it
      just use the sum signal for both channels, which makes it behave like a
      standard mono microphone. The stereo is useless anyway (they're 1cm apart).
      
      Tested working: Three capture channels, mic in, line in, DMIC.
      
      Tested not working: CD. Not sure why, might be unconnected in the actual
      hardware or a CD drive issue.
      
      Also looked at SPDIF. It appears to work (emitter lights up inside the
      HP out jack) but I lack a proper miniTOSLINK cable to test it.
      Signed-off-by: default avatarHector Martin <hector@marcansoft.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      018df418
  9. 02 Jun, 2009 2 commits
    • Takashi Iwai's avatar
      3c4dbda0
    • Hector Martin's avatar
      ALSA: hda - Acer Aspire 8930G support · 3b315d70
      Hector Martin authored
      Short story: this laptop has 5.1 built-in speakers which you *really*
      want to use (the not-so-"sub" woofer is what makes the audio above
      average for a laptop), so 6-channel support is important (plus a decent
      asound.conf to upmix stereo). It also has the 3 typical jacks that ought
      to have a selectable mode. And it's based on ALC889, which sucks.
      
      Rationale/explanations:
      
      The const_channel_count stuff was added because, for a laptop like this,
      you always have 6 channels available (internal speakers) but still need
      to set the mode for the 3 external jacks. Therefore, the device always
      needs to be in 6-channel mode but there still needs to be a mixer
      control for the jack mode. You could use line/mic-in at the same time as
      the 6 internal speakers, for example. You might be tempted to make it
      even smarter by dynamically switching the max channel count when
      headphones are plugged in (therefore muting the internal speakers and
      reducing the physical channel count to the jack channel mode), but as a
      user I consider this to be harmful because I want the audio to blow up
      to 6 channels / upmixed as soon as I unplug the headphones, and having
      opened the device while in 2-channel mode would prevent this from
      working (and always making 6-channel mode available doesn't do any harm).
      
      The hardware needs EAPD turned on and the DACs routed to the internal
      speaker pins, so the patch adds those verbs.
      
      The ALC889 CLFE and subsequent (side/aux, here unused) DACs do NOT work
      by default, at least here. I wasted much time trying to talk to
      Realtek/pshou about this, but they just kept sending me useless updates
      to patch_realtek.c that did nothing relevant. In the end I gave up and
      brute forced the issue by trying to flip every bit in the proprietary
      coefficient registers, and eventually found the two magic registers that
      need to be cleared to enable all DACs. I have only heard Acer users
      complain, but that might be because ALC889 is pretty new and using 5.1
      (and noticing the missing center/lfe channels) might not be that common.
      If this is a generalized issue with all ALC889 systems then those verbs
      should probably be moved to a common verb array.
      
      The internal mic is untested and probably doesn't work.
      
      These settings will probably work for other Acer Gemstone laptops with
      the same 5.1 speaker config. When identified, those should be added to
      the PCI subsystem ID list.
      Signed-off-by: default avatarHector Martin <hector@marcansoft.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3b315d70
  10. 01 Jun, 2009 8 commits
  11. 31 May, 2009 1 commit
  12. 30 May, 2009 1 commit
  13. 28 May, 2009 4 commits
  14. 26 May, 2009 4 commits
  15. 25 May, 2009 2 commits
  16. 24 May, 2009 2 commits
  17. 22 May, 2009 1 commit
  18. 19 May, 2009 2 commits
  19. 18 May, 2009 1 commit