linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel+alsa-devel@molgen.mpg.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: snd_hda_codec_hdmi: `hdaudio hdaudioC0D2: Unable to bind the codec`
Date: Mon, 18 Feb 2019 16:40:36 +0100	[thread overview]
Message-ID: <ee5d4d9d-26bd-6a92-0938-71b940cc537d@molgen.mpg.de> (raw)
In-Reply-To: <s5hzhqtjedh.wl-tiwai@suse.de>

[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]

Dear Takashi,


On 02/18/19 16:38, Takashi Iwai wrote:
> On Mon, 18 Feb 2019 16:17:30 +0100, Paul Menzel wrote:
>>
>>>> Then, I built the HDA subsystem as a module, but that also did not help.
>>>> The DRM subsystem is started after the HD-audio subsystem.
>>>>
>>>> ```
>>>> $ grep -e SND_HDA= -e SND_HDA_INTEL /boot/config-4.20.8.mx64.245 
>>>> CONFIG_SND_HDA=m
>>>> CONFIG_SND_HDA_INTEL=m
>>>
>>> That's odd.  In sound/hda/hdac_i915.c there is an explicit
>>> request_module("i915"), and at that point, it has a 10 second
>>> timeout.  If this isn't enough, try to raise the number, e.g. 60
>>> seconds.
>>
>> I tried as you suggested, and increased it to 60 seconds.
>>
>>     sed -i 's/msecs_to_jiffies(10 * 1000))/msecs_to_jiffies(60 * 1000))/' sound/hda/hdac_i915.c
>>
>> That seems to have fixed it.
>>
>> ```
>> $ grep _hda_ 20190218–linux_4.20.10–dmesg.txt
>> [   15.568061] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
>> [   15.706898] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC671: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:line
>> [   15.708754] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
>> [   15.710249] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x14/0x0/0x0/0x0/0x0)
>> [   15.712031] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
>> [   15.712348] snd_hda_codec_realtek hdaudioC0D0:    inputs:
>> [   15.712619] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
>> [   15.712929] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
>> [   15.713234] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
>> ```
>>
>> So the time-out, needs to be increased.
> 
> OK, I'm going to extend the value.  I thought a minute would be too
> long, and I naively assumed that the recent machines were fast
> enough.  Maybe 60 isn't too bad after all.

Thank you. Maybe also log times greater than one(?) second, so the user
is aware of these delays and connection between subsystems.


Kind regards,

Paul


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

      reply	other threads:[~2019-02-18 15:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <533a0e85-0d03-740d-9f7e-8c29b5cca59f@molgen.mpg.de>
2018-09-18 21:00 ` snd_hda_codec_hdmi: `hdaudio hdaudioC0D2: Unable to bind the codec` Takashi Iwai
     [not found]   ` <1d3b00d7-cf62-621c-e972-d732177a4471@molgen.mpg.de>
2018-09-19 18:44     ` Takashi Iwai
2019-02-13 14:58       ` Paul Menzel
2019-02-13 15:12         ` Takashi Iwai
2019-02-13 15:42           ` Paul Menzel
2019-02-13 15:56             ` Takashi Iwai
2019-02-14 16:00               ` Paul Menzel
2019-02-14 16:06                 ` Takashi Iwai
2019-02-18 15:17                   ` Paul Menzel
2019-02-18 15:38                     ` Takashi Iwai
2019-02-18 15:40                       ` Paul Menzel [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=ee5d4d9d-26bd-6a92-0938-71b940cc537d@molgen.mpg.de \
    --to=pmenzel+alsa-devel@molgen.mpg.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).