1. 18 2月, 2009 1 次提交
    • T
      ALSA: jack - Use card->shortname for input name · 2678f60d
      Takashi Iwai 提交于
      Currently the jack layer refers to card->longname as a part of
      its input device name string.  However, longname is often really long
      and way too ugly as an identifier, such as,
      "HDA Intel at 0xf8400000 irq 21".
      
      This patch changes the code to use card->shortname instead.
      The shortname string contains usually the h/w vendor and product
      names but without messy I/O port or IRQ numbers.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2678f60d
  2. 10 12月, 2008 1 次提交
  3. 27 10月, 2008 2 次提交
  4. 16 10月, 2008 1 次提交
  5. 30 7月, 2008 1 次提交
    • M
      ALSA: Add jack reporting API · e76d8cea
      Mark Brown 提交于
      Currently very few systems provide information about jack status to user
      space, even though many have hardware facilities to do detection. Those
      systems that do use an input device with the existing SW_HEADPHONE_INSERT
      switch type to do so, often independently of ALSA.
      
      This patch introduces a standard method for representing jacks to user
      space into ALSA. It allows drivers to register jacks for a sound card with
      the input subsystem, binding the input device to the card to help user
      space associate the input devices with their sound cards. The created
      input devices are named in the form "card longname jack" where jack is
      provided by the driver when allocating a jack. By default the parent for
      the input device is the sound card but this can be overridden by the
      card driver.
      
      The existing user space API with SW_HEADPHONE_INSERT is preserved.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      e76d8cea