All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: Joost Verdoorn <jpverdoorn@gmail.com>, Alsa-devel@alsa-project.org
Subject: Re: No HDMI audio output, nVidia audio not listed in lspci
Date: Thu, 26 May 2011 14:56:10 +0200	[thread overview]
Message-ID: <s5haae9lixh.wl%tiwai@suse.de> (raw)
In-Reply-To: <4DDE462E.4070709@ladisch.de>

At Thu, 26 May 2011 14:23:10 +0200,
Clemens Ladisch wrote:
> 
> Joost Verdoorn wrote:
> > > Did you try device "hw:0,1"?
> > 
> > How do I do that?
> 
> aplay -D plughw:0,1 something.wav

Judging from alsa-info output, it has no secondary PCM, so it can't
work as is ;)

Joost, try the patch below.  This should add a secondary PCM device
for the digital output, and this is likely the HDMI stream.


Takashi

---
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 696ac25..003ec47 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -1920,7 +1920,8 @@ static int patch_ad1981(struct hda_codec *codec)
 		spec->mixers[0] = ad1981_hp_mixers;
 		spec->num_init_verbs = 2;
 		spec->init_verbs[1] = ad1981_hp_init_verbs;
-		spec->multiout.dig_out_nid = 0;
+		if (!is_jack_available(codec, 0x0a))
+			spec->multiout.dig_out_nid = 0;
 		spec->input_mux = &ad1981_hp_capture_source;
 
 		codec->patch_ops.init = ad1981_hp_init;

  reply	other threads:[~2011-05-26 12:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  9:47 No HDMI audio output, nVidia audio not listed in lspci Joost Verdoorn
2011-05-26 10:31 ` Clemens Ladisch
2011-05-26 10:44   ` Joost Verdoorn
2011-05-26 12:23     ` Clemens Ladisch
2011-05-26 12:56       ` Takashi Iwai [this message]
2011-05-26 15:45   ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5haae9lixh.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=jpverdoorn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.