From: Takashi Iwai <tiwai@suse.de>
To: Steven Newbury <steve@snewbury.org.uk>
Cc: Anssi Hannula <anssi.hannula@iki.fi>, alsa-devel@alsa-project.org
Subject: Re: No speaker output with kernel 3.15 and later
Date: Mon, 14 Jul 2014 16:22:14 +0200 [thread overview]
Message-ID: <s5hy4vwrpex.wl%tiwai@suse.de> (raw)
In-Reply-To: <1405120845.1570.1.camel@snewbury.org.uk>
At Sat, 12 Jul 2014 00:20:45 +0100,
Steven Newbury wrote:
>
> > The patch below does revert conditionally only for Intel controller
> > chips. This should work instead of git revert. Let me know if it
> > really works for you.
> >
> Indeed t works.
OK, I queued the fix, with Cc to stable now.
> > But, we still want to understand why. Maybe assigning the device
> > manually to an explicit value and figuring out which dev# doesn't
> > work
> > would be helpful.
> How do you want me to test this?
Specify directly the stream number assigned to a PCM playback.
Change dev to a different value, and see whether it works while keep
nums = 1. dev = 0 is reserved for the capture stream, so use other
values.
Test this only with onboard analog, and better to avoid PulseAudio.
Fixated numbers would break HDMI audio badly.
thanks,
Takashi
---
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
index 06f39c126ba4..8e570f44367f 100644
--- a/sound/pci/hda/hda_controller.c
+++ b/sound/pci/hda/hda_controller.c
@@ -178,8 +178,8 @@ azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream)
(substream->stream + 1);
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
- dev = chip->playback_index_offset;
- nums = chip->playback_streams;
+ dev = 4;
+ nums = 1;
} else {
dev = chip->capture_index_offset;
nums = chip->capture_streams;
prev parent reply other threads:[~2014-07-14 14:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 14:09 No speaker output with kernel 3.15 and later Steven Newbury
2014-06-30 9:24 ` Takashi Iwai
2014-07-01 11:49 ` Steven Newbury
2014-07-01 11:54 ` Takashi Iwai
2014-07-01 12:11 ` steve
2014-07-07 15:34 ` Steven Newbury
2014-07-07 15:41 ` Takashi Iwai
2014-07-07 16:05 ` Steven Newbury
2014-07-08 10:32 ` Takashi Iwai
2014-07-11 23:20 ` Steven Newbury
2014-07-14 14:22 ` Takashi Iwai [this message]
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=s5hy4vwrpex.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=anssi.hannula@iki.fi \
--cc=steve@snewbury.org.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox