All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tormen <my.nl.abos@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Adam Williamson <awilliam@redhat.com>
Subject: Re: No sound with Sony VAIO VPCZ1 (ALC889)
Date: Wed, 17 Jul 2013 08:06:02 +0200	[thread overview]
Message-ID: <51E6344A.6030303@gmail.com> (raw)
In-Reply-To: <s5hehaymho4.wl%tiwai@suse.de>

On 16/07/13 21:24, Takashi Iwai wrote:
> At Tue, 16 Jul 2013 20:37:19 +0200,
> Tormen wrote:
>> On 16/07/13 11:15, Takashi Iwai wrote:
>>> It doesn't look like the driver patched properly.
>>> Try to put some printk() in the patched code path to confirm that
>>> you're really testing the patched driver.
>>>
>>>
>>> Takashi
>> I am not 100% sure if it was or not, because I had applied the patch not
>> with "quilt"
>> ... but now I am:
>> I put in some printk()'s and it still shows speaker_outs=0 :(
> This doesn't matter at all from the beginning.
> You see a line "line_outs=1 (type: speaker)" before that.  So, the
> speaker output is assigned as the primary output there.
>
> The problem is, instead, that the primary DAC (thus its selector
> widget) is assigned to the headphone.  Check whether NID 0x0c is
> assigned to "Speaker" volume, not for "Headphone".
> The no_primary_hp flag should have achieved it, but it turned out that
> 5.1 surround setup blocks it.  That's why you got "Headphone" on NID
> 0x0c, and 0x0d/0x0e for the rest speaker and possible surrounds.
>
> The new flag, no_multi_io prevents the creation of 5.1 setup, so that
> the speaker will be assigned to NID 0x0c, together with the
> combination of no_primary_hp.
>
>
>> I was wondering if it's a problem that the speaker_outs=0 is printed way
>> before all the "fill_and_eval_dacs" changes of yours are executed?
>>
>> I attached you my patch so that you can see what output corresponds to
>> what piece of code.
>>
>> alsa-info.sh:
>> http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
>>
>> And the complete output of my debug messages:
>>
>> FIRST just loading the modules:
>>       modprobe snd debug=2
>>       modprobe snd_hda_intel
>>
>> [10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
>> [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA
>> [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set
>> spec->no_multi_io = 1
> OK, so far, so good.
> Check whether NID 0x0c is assigned to "Speaker".
Yes, it is assigned to "Speaker playback volume", index=0, device=0,
chs=3, dir=1, idx=0, ofs=0

Tormen

      parent reply	other threads:[~2013-07-17  6:06 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 17:51 No sound with Sony VAIO VPCZ1 (ALC889) Tormen
2013-07-04 16:05 ` Tormen
2013-07-04 16:31   ` Takashi Iwai
2013-07-04 22:53   ` Tormen
2013-07-05  0:29     ` Adam Williamson
2013-07-05  5:31       ` Takashi Iwai
2013-07-05  5:29     ` Takashi Iwai
2013-07-05 12:00       ` Tormen
2013-07-05 12:29         ` Takashi Iwai
2013-07-05 12:45           ` Takashi Iwai
2013-07-05 21:38           ` Adam Williamson
2013-07-07 23:09             ` Tormen
2013-07-08  8:04               ` Takashi Iwai
2013-07-08 17:00                 ` Adam Williamson
2013-07-08 19:16                   ` Takashi Iwai
2013-07-09 18:52                     ` Adam Williamson
2013-07-10 15:27                       ` Takashi Iwai
     [not found]               ` <CAN8ccibmth-sEiXraWTRde-ociD3q5VT-7CuYaE_KQ70JOf2xQ@mail.gmail.com>
     [not found]                 ` <51DA9ADD.6080101@gmail.com>
2013-07-08 15:00                   ` Raymond Yau
2013-07-08 16:35               ` Adam Williamson
2013-07-08 17:48                 ` Takashi Iwai
2013-07-09 18:53                   ` Adam Williamson
2013-07-10 15:30                     ` Takashi Iwai
2013-07-10 21:42                       ` Tormen
2013-07-11  5:29                         ` Takashi Iwai
2013-07-11  9:31                           ` Tormen
2013-07-11 10:23                             ` Takashi Iwai
2013-07-11 11:55                               ` Tormen
2013-07-16  8:00                                 ` Tormen
2013-07-16  8:05                                   ` Takashi Iwai
2013-07-16  8:06                                     ` Tormen
2013-07-16  9:15                                       ` Takashi Iwai
2013-07-16 18:38                                         ` Tormen
2013-07-16 19:24                                           ` Takashi Iwai
2013-07-16 23:23                                             ` Tormen
2013-07-17  7:49                                               ` Takashi Iwai
2013-09-17 19:51                                                 ` Adam Williamson
2013-09-19 16:45                                                   ` Takashi Iwai
2013-09-19 20:44                                                     ` Adam Williamson
2013-09-19 22:10                                                       ` Adam Williamson
2013-07-17  6:06                                             ` Tormen [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=51E6344A.6030303@gmail.com \
    --to=my.nl.abos@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=awilliam@redhat.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.