1. 18 11月, 2008 2 次提交
    • 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
  2. 17 11月, 2008 1 次提交
  3. 13 11月, 2008 1 次提交
  4. 05 11月, 2008 2 次提交