All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raymond Yau <superquad.vortex2@gmail.com>
To: "Łukasz Wojniłowicz" <lukasz.wojnilowicz@gmail.com>,
	"ALSA Development Mailing List" <alsa-devel@alsa-project.org>,
	tiwai@suse.de
Subject: Re: Front speakers doesn't work in multichannel output, regression in ALC888
Date: Wed, 6 May 2015 00:47:22 +0800	[thread overview]
Message-ID: <CAN8cciYbGexGm8GS3nJgBkfTphy6H-eV-dkwno6TYV0FiMfOhQ@mail.gmail.com> (raw)
In-Reply-To: <4324603.tPLEjaP5mH@luklap.workgroup>

>
> > seem internal subwoofer only use one channel and don't have any stereo
to
> > mono downmix according to your patch
> >
> > It is not easy to assign different name to internal 4.1 and external 5.1
> > speaker when alc888 only has five DAC
> >
> > Some playback volume control  must be shared
>
> If you know what's missing, you could send a few lines of code and I will
test
> it, otherwise I'll have to experiment on my own.

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/sound/pci/hda/patch_realtek.c?id=
c3e837bbcc03e39991da5dd1f791c0 6cde9f7a45

As your patch indicate internal subwoofer use external center speaker
channel and your codec does not support L/R swap

You may need to reserve Audio mixer 0x26 for internal subwoofer playback
volume by restrict the connection of the internal rear speaker

excluding 0x26 so that last DAC can be assigned to the internal subwoofer
similar to alc889_fixup_dac_route

void alc888_fixup_dac_route(struct hda_codec *codec,
   const struct alc_fixup *fix, int action)
{
if (action == ALC_FIXUP_ACT_PRE_PROBE) {

hda_nid_t conn1[4] = { 0x0c, 0x0d, 0x0e, 0x0f};

snd_hda_override_conn_list(codec, 0x17, 4, conn1);

} else if (action == ALC_FIXUP_ACT_PROBE) {
conn[5] = { 0x0c, 0x0d, 0x0e, 0x0f, 0x26 };
snd_hda_override_conn_list(codec, 0x17, 5, conn);

}
}

>
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/sound/pci/hda/patch_realtek.c?id=
c3e837bbcc03e39991da5dd1f791c0 6cde9f7a45

> >
> > Do you mean internal subwoofer has low pass filter
>
> I don't know. How to check it?
>
>
> > what do you mean when you say 4.1 worked fine ?
>
> External 5.1 speakers working as 4.1 speakers because such profile was
set.
>
>
> > The channel map of internal 4.1 speaker are different from external 5.1
> > speaker
>
> Recently I also made such conclusion.
>

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=2d3391ec0ecca37efb6bc995906292f47522b471

Seem  4.1 is not defined in snd_pcm_std_chmap and you need to define and
add your 4.1  chmap similar to 2.1

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ee81abb623cb5e03c182d16871bb4fb34fdc9b4f

  parent reply	other threads:[~2015-05-05 16:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02  5:42 Front speakers doesn't work in multichannel output, regression in ALC888 Łukasz Wojniłowicz
2015-05-02  8:05 ` Takashi Iwai
2015-05-02  9:36 ` Raymond Yau
     [not found]   ` <7993879.9dprRWFvNQ@luklap.workgroup>
2015-05-03  7:53     ` [alsa-devel] " Raymond Yau
     [not found] ` <29807127.PULdKhJLmi@luklap.workgroup>
2015-05-06 18:23   ` Raymond Yau
     [not found]     ` <1736431.dmQFUpE69t@luklap.workgroup>
2015-05-08  6:49       ` [alsa-devel] " Raymond Yau
     [not found]   ` <CAN8cciapcbygVjS20+Ln6aDJbd3poieo6-8Zq3x69brsqr+Raw@mail.gmail.com>
     [not found]     ` <4324603.tPLEjaP5mH@luklap.workgroup>
2015-05-05 16:47       ` Raymond Yau [this message]
     [not found]         ` <4678913.FpDgrA5u1d@luklap.workgroup>
2015-05-11  2:34           ` Raymond Yau
     [not found]             ` <CAN8cciZS8MhXWy5anxMSgtLdDYHQtURXJ2iEoL0YMpb41EifHg@mail.gmail.com>
     [not found]               ` <d3bbb31411796d9f835396d30dcaa309@mail.onse.fi>
2015-05-14  6:26                 ` Fwd: " Raymond Yau
2015-05-14  7:45                   ` Anssi Hannula
2015-05-17  1:49                     ` Raymond Yau
2015-05-09  6:00       ` [alsa-devel] " Raymond Yau
2015-06-07 12:44 ` Raymond Yau
     [not found] ` <8386507.uauZCcniqC@luklap.workgroup>
     [not found]   ` <CAN8cciaTZYOQAkaE2aquzcZ_a1QkJAz7u+ff2ceTyrXnKr50RQ@mail.gmail.com>
     [not found]     ` <5853893.pVbPai8A2z@luklap.workgroup>
2015-06-09  2:23       ` Fwd: " Raymond Yau
     [not found]       ` <CAN8ccib5rgh2UjNG9isbAkTgMM7MhwL+FMxdd-4Z79Qng5hRNA@mail.gmail.com>
     [not found]         ` <CAN8cciY=bSpebNXqzYc+Q+MDd9Gr3+KGnpS0GBQpES+-XTY0Dw@mail.gmail.com>
2015-06-09  4:03           ` Fwd: " Raymond Yau
     [not found]             ` <31911886.6mcodbBrA7@luklap.workgroup>
2015-07-11  1:18               ` Raymond Yau

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=CAN8cciYbGexGm8GS3nJgBkfTphy6H-eV-dkwno6TYV0FiMfOhQ@mail.gmail.com \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lukasz.wojnilowicz@gmail.com \
    --cc=tiwai@suse.de \
    /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.