1. 13 8月, 2010 1 次提交
    • T
      ALSA: hda - Restrict PCM parameters per ELD information over HDMI · bbbe3390
      Takashi Iwai 提交于
      When a device is plugged over HDMI, it passes some information in ELD
      including the supported PCM parameters like formats, rates, channels.
      This patch adds the check to PCM open callback of HDMI streams so that
      only valid parameters the device supports are used.
      
      When no device is plugged, the parameters the codec supports are used;
      it's mostly all parameters the hardware can work.  This is for apps
      that are started before device plugging and do probing (e.g. a sound
      daemon), so that at least, probing would work even before the device
      plugging.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bbbe3390
  2. 19 3月, 2010 1 次提交
  3. 23 12月, 2009 1 次提交
  4. 15 12月, 2009 3 次提交
  5. 18 11月, 2009 2 次提交
  6. 16 11月, 2009 6 次提交
  7. 12 11月, 2009 1 次提交
  8. 11 11月, 2009 1 次提交
    • T
      ALSA: hda - Add power on/off counter · a2f6309e
      Takashi Iwai 提交于
      Added the power on/off counter and expose via sysfs files.
      The sysfs files, power_on_acct and power_off_acct, are created under
      each codec hwdep sysfs directory (e.g. /sys/class/sound/hwC0D0).
      The files show the msec length of the codec power-on and power-off,
      respectively.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a2f6309e
  9. 30 10月, 2009 1 次提交
    • W
      ALSA: hda - vectorize intelhdmi · 54a25f87
      Wu Fengguang 提交于
      The Intel IbexPeak HDMI codec supports 2 converters and 3 pins,
      which requires converting the cvt_nid/pin_nid to arrays.
      
      The active pin number (the one connected with a live HDMI monitor/sink)
      will be dynamically identified on hotplug events.
      
      It exports two HDMI devices, so that user space can choose the A/V pipe
      for sending the audio samples.
      
      It's still undefined behavior when there are two active monitors
      connected and routed to the same audio converter.
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      54a25f87
  10. 24 8月, 2009 1 次提交
  11. 27 7月, 2009 1 次提交
  12. 24 6月, 2009 1 次提交
  13. 23 3月, 2009 1 次提交
  14. 03 3月, 2009 1 次提交
  15. 26 2月, 2009 1 次提交
  16. 23 2月, 2009 1 次提交
  17. 13 2月, 2009 1 次提交
    • T
      ALSA: hda - Add snd_hda_multi_out_dig_cleanup() · 9411e21c
      Takashi Iwai 提交于
      Added the helper function snd_hda_multi_out_dig_cleanup() to clean up
      the digital outputs with multi setup.  This call is needed in cases
      the codec supports multiple digital outputs as slaves.  Otherwise the
      slave widgets aren't properly cleaned up.
      
      For a single digital output (e.g. in patch_conexant.c), this call isn't
      needed.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9411e21c
  18. 12 2月, 2009 1 次提交
  19. 06 2月, 2009 1 次提交
  20. 21 1月, 2009 1 次提交
  21. 20 1月, 2009 1 次提交
  22. 30 11月, 2008 1 次提交
    • M
      ALSA: hda - Add a new function to seek for a codec ID · 2eda3445
      Mauro Carvalho Chehab 提交于
      Gateway notebooks have their ID inside codec vendor ID, not at PCI ID. Due to
      that, model auto-detection were not possible with the standard seek method.
      
      This is what is found at lspci -vnn:
      
      00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01)
              Subsystem: ATI Technologies Inc SB450 HDA Audio [1002:437b]
      
      Yet, autodetection is possible, since the codec properly reflects the vendor at
      the Subsystem ID:
      
      $ cat /proc/asound/card0/codec#0 |head -4
      
      Codec: SigmaTel STAC9250
      Address: 0
      Vendor Id: 0x83847634
      Subsystem Id: 0x107b0367
      
      This patch adds a new autodetection function that seeks for codec subsystem ID.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2eda3445
  23. 21 11月, 2008 3 次提交
  24. 19 11月, 2008 3 次提交
  25. 18 11月, 2008 3 次提交
    • W
      ALSA: ELD proc interface for HDMI sinks · 5f1e71b1
      Wu Fengguang 提交于
      Create /proc/asound/card<card_no>/eld#<codec_no> to reflect the audio
      configurations and capabilities of the attached HDMI sink.
      
      Some notes:
      
      - Shall we show an empty file if the ELD content is not valid?
        Well it's not that simple. There could be partially populated ELD,
        and there may be malformed ELD provided by buggy drivers/monitors.
        So expose ELD as it is.
      
      - The ELD retrieval routines rely on the Intel HDA interface,
        others are/could be universal and independent ones.
      
      - How do we name the proc file?
        If there are going to be two HDMI pins per codec, then the current naming
        scheme (eld#<codec no>) will fail. Luckily the user space dependencies should
        be minimal, so it would be trivial to do the rename if that happens.
      
      - The ELD proc file content is designed to be easy for scripts and human reading.
        Its lines all have the pattern:
      	  <item_name>\t[\t]*<item_value>
        where <item_name> is a keyword in c language, while <item_value> could be any
        contents, including white spaces. <item_value> could also be a null value.
      Signed-off-by: NWu Fengguang <wfg@linux.intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5f1e71b1
    • W
      ALSA: create hda_eld.c for ELD routines and proc interface · 7f4a9f43
      Wu Fengguang 提交于
      ELD handling routines can be shared by all HDMI codecs,
      and they are large enough to make a standalone source file.
      Signed-off-by: NWu Fengguang <wfg@linux.intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7f4a9f43
    • W
      ALSA: introduce snd_print_pcm_rates() · 33deeca3
      Wu Fengguang 提交于
      We want to share some code with print_pcm_rates(),
      so extract a common routine snd_print_pcm_rates() from it.
      Signed-off-by: NWu Fengguang <wfg@linux.intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      33deeca3
  26. 29 10月, 2008 1 次提交