1. 24 6月, 2009 1 次提交
  2. 22 6月, 2009 6 次提交
  3. 21 6月, 2009 2 次提交
  4. 17 6月, 2009 4 次提交
  5. 13 6月, 2009 1 次提交
  6. 11 6月, 2009 1 次提交
  7. 08 6月, 2009 2 次提交
  8. 05 6月, 2009 1 次提交
  9. 04 6月, 2009 2 次提交
    • A
      ALSA: hda_intel: fix build error when !PM · 65f75983
      Alexander Beregalov 提交于
      Fix this build error when CONFIG_PM is not set:
      ound/pci/hda/hda_intel.c: In function 'azx_bus_reset':
      sound/pci/hda/hda_intel.c:1270: error: implicit declaration of function 'snd_pcm_suspend_all'
      sound/pci/hda/hda_intel.c:1271: error: implicit declaration of function 'snd_hda_suspend'
      sound/pci/hda/hda_intel.c:1272: error: implicit declaration of function 'snd_hda_resume'
      Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      65f75983
    • H
      ALSA: hda - More Aspire 8930G fixes · 018df418
      Hector Martin 提交于
      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: NHector Martin <hector@marcansoft.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      018df418
  10. 02 6月, 2009 8 次提交
    • T
      Merge branch 'topic/hda-ctl-reset' into topic/hda · 3c4dbda0
      Takashi Iwai 提交于
      3c4dbda0
    • H
      ALSA: hda - Acer Aspire 8930G support · 3b315d70
      Hector Martin 提交于
      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: NHector Martin <hector@marcansoft.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3b315d70
    • T
      ALSA: hda - Limit codec-verb retry to limited hardwares · b20f3b83
      Takashi Iwai 提交于
      The reset of a BUS controller during operations is somehow risky and
      shouldn't be done inevitably for devices that have apparently no such
      codec-communication problems.
      
      This patch adds the check of the hardware and limits the bus-reset
      capability.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b20f3b83
    • T
      ALSA: hda - Add codec bus reset and verb-retry at critical errors · 8dd78330
      Takashi Iwai 提交于
      Some machines machine cause a severe CORB/RIRB stall in certain
      weird conditions, such as PA access at the start up together with
      fglrx driver.  This seems unable to be recovered without the controller
      reset.
      
      This patch allows the bus controller reset at critical errors so
      that the communication gets recovered again.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8dd78330
    • T
      ALSA: hda - Reorder and clean-up ALC268 quirk table · 8871e5b9
      Takashi Iwai 提交于
      Rearrange alc268_cfg_tbl[] in the order of vendor id, and group some
      entries using SND_PCI_QUIRK_MASK().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8871e5b9
    • O
      ALSA: hda - fix audio on LG R510 · d22142aa
      Ozan Çağlayan 提交于
      Currently, LG R510 is only able to produce sound on headphones, the
      internal speakers are not working.
      
      The user tested and confirmed that with model=Dell headphones,
      internal speakers and the microphone are working flawlessly.
      Tested-by: NSerdar Soytetir <tulliana@gmail.com>
      Signed-off-by: NOzan Çağlayan <ozan@pardus.org.tr>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d22142aa
    • K
      ALSA: hda - Macbook[Pro] 5 6ch support · 92b9de83
      Kacper Szczesniak 提交于
      this is a patch against current snapshot that adds:
      6 channels support for the MB5 model
      Signed-off-by: NKacper Szczesniak <kacper@qwe.pl>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      92b9de83
    • J
      ALSA: hda-intel: improve initialization for ALC262_HP_BPC model · 0e4835c1
      Jaroslav Kysela 提交于
      Fix issues for 3 generations of HP workstations.
      
      The modest modifications do the following:
      1. Change the second MIC from device 3 to device 1
      2. Init the "boost" values to "0" by default
      
      From: John Brown <john.brown3@hp.com>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0e4835c1
  11. 01 6月, 2009 2 次提交
  12. 31 5月, 2009 1 次提交
  13. 30 5月, 2009 1 次提交
  14. 28 5月, 2009 4 次提交
  15. 26 5月, 2009 4 次提交