1. 16 11月, 2009 1 次提交
    • J
      ALSA: hda_intel: Digital PC Beep - change behaviour for input layer · 123c07ae
      Jaroslav Kysela 提交于
      Original implementation was keeping registered input device for SND_BEEP
      and SND_TONE events all time. This patch changes this behaviour:
      If digital PC Beep is turned off using universal control switch,
      the input device is unregistered.
      
      Explanation: The kd_mksound() send SND_BEEP and SND_TONE only to last
      registered device acceping those events. It means that the HDA Intel
      audio driver blocks also the internal PC Speaker device (pcspkr.c
      driver) even if the HDA Beep is muted. The user can easy disable
      all beeps using 'setterm -blength 0' or 'xset b off' command.
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      123c07ae
  2. 12 11月, 2009 1 次提交
  3. 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
  4. 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
  5. 24 8月, 2009 1 次提交
  6. 27 7月, 2009 1 次提交
  7. 24 6月, 2009 1 次提交
  8. 23 3月, 2009 1 次提交
  9. 03 3月, 2009 1 次提交
  10. 26 2月, 2009 1 次提交
  11. 23 2月, 2009 1 次提交
  12. 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
  13. 12 2月, 2009 1 次提交
  14. 06 2月, 2009 1 次提交
  15. 21 1月, 2009 1 次提交
  16. 20 1月, 2009 1 次提交
  17. 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
  18. 21 11月, 2008 3 次提交
  19. 19 11月, 2008 3 次提交
  20. 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
  21. 29 10月, 2008 1 次提交
  22. 13 10月, 2008 3 次提交
  23. 23 9月, 2008 2 次提交
  24. 24 4月, 2008 2 次提交
    • T
      [ALSA] Move vmaster code to sound core · e922b002
      Takashi Iwai 提交于
      Move the codes for virtual master controls to sound core part so that
      not only hda-intel drivers can use it.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e922b002
    • T
      [ALSA] hda-codec - Add "IEC958 Default PCM" switch · 9a08160b
      Takashi Iwai 提交于
      Added a new mixer switch to enable/disable the sharing of the default
      PCM stream with analog and SPDIF outputs.  When "IEC958 Default PCM"
      switch is on, the PCM stream is routed both to analog and SPDIF outputs.
      This is the behavior in the earlier version.
      
      Turning this switch off has a merit for some codecs, though.  Some codec
      chips don't support 24bit formats for SPDIF but only for analog outputs.
      In this case, you can use 24bit format by disabling this switch.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9a08160b
  25. 01 2月, 2008 5 次提交
  26. 20 11月, 2007 1 次提交