• Evtl kernel bug bzgl modalias / soundcard device ID

    From Ralf@21:1/5 to All on Thu Mar 13 18:30:02 2025
    Liebe leute,
    da ich vom englischsprachigen verteiler keine antwort bekomme, auch hier
    die frage, ob jemand etwas mit meinem problem bzw meiner mutmaßung zu
    seiner ursache anfangen kann, s.u.. Ich hab das ganze schon hier
    dargelegt, identisch wie im englischen forum: https://debianforum.de/forum/viewtopic.php?t=190767 Im letzten eintrag
    hab ich meine mutmaßung zu einem kernel-fehler begründet.
    Schönen tag noch.
    Ralf

    Begin forwarded message:

    Date: Thu, 5 Dec 2024 14:38:52 +0100
    From: Ralf <zimmer-ralf@riseup.net>
    To: debian-bugs-dist@lists.debian.org

    Subject: Possible kernel bug: Wrong modalias / soundcard device ID

    Dear Debian experts,
    i was pointed to you because i am having a problem with a newly set up computer. It is a Minisforum Z83-F. Except for the sound, almost
    everything seems to be fine (well, most of the times it doesn't
    recognize the ethernet connection at first boot-up, but only after
    restarting it).
    The soundcard doesn't get detected. I get only dummy output. I have
    posted in length about it here: https://forums.debian.net/viewtopic.php?t=161070
    I explain in post #18 that there might be something wrong with a
    modalias and device ID:

    So, in 2016 people posted about a similar problem and seem to have
    concluded that there was a wrong modalias (whatever that means), so
    that device ID and codec didn't match: https://bugzilla.kernel.org/show_bug.cgi?id=111531
    In the codec for my rt5645 soundcard (at least i guess that that is
    mine) it says:
    #define RT5645_DEVICE_ID 0x6308
    https://github.com/torvalds/linux/blob/ ... s/rt5645.c
    But my computer is telling me:
    rt5645 i2c-10EC5645:00: Device with ID register 0x6281 is not rt5645
    or rt5650
    Does that look like an error that prevents the soundcard from being
    detected?
    Here somebody got a similar error message:
    cht-bsw-rt5645 cht-bsw-rt5645: ASoC: failed to init link SSP2-Codec:
    -517
    cht-bsw-rt5645 cht-bsw-rt5645: snd_soc_register_card failed -517 https://linux-hardware.org/index.php?pr ... &log=dmesg


    I would be grateful to receive any opinion on whether this is a bug, regarding the device ID. I am not on this mailing-list.

    Have a nice day.
    Ralf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulf Volmer@21:1/5 to All on Thu Mar 13 21:20:01 2025
    Am 13.03.25 um 18:16 schrieb Ralf:

     (Ich weiss nicht, ob Alter und Wert Deines Kistchens den Aufwand rechtfertigen)

    rt5645 i2c-10EC5645:00: Device with ID register 0x6281 is not rt5645
    or rt5650

    Im Netz finden sich Hinweise darauf, dass bei Dir ein es8316 verbaut ist.

    Ich würde also im ersten Ansatz snd-soc-rt5645.ko blacklisten und dann versuchen snd-soc-es8316.ko zu laden


    HTH

    Ulf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf@21:1/5 to All on Fri Mar 14 14:00:02 2025
    Schön, danke für den tipp. Aber wo mache ich das?
    Sowohl in
    /lib/modules/`uname -r`/kernel/sound/soc/codecs/
    als auch in
    /usr/share/alsa/ucm2/codecs
    ist der nötige codec vorhanden.
    Könnte es ausreichen, den anderen (rt5645) da zu löschen?
    Warum kriege ich hier rt5645 angezeigt?

    sudo lsmod | grep -Ei "snd|sound|audio|multi"
    Result:
    snd_seq_dummy 16384 0
    snd_hrtimer 16384 1
    snd_seq 90112 7 snd_seq_dummy
    snd_seq_device 16384 1 snd_seq
    snd_hdmi_lpe_audio 32768 1
    snd_soc_rt5645 180224 0
    snd_soc_rl6231 20480 1 snd_soc_rt5645
    snd_soc_core 352256 1 snd_soc_rt5645
    snd_compress 28672 1 snd_soc_core
    snd_pcm 159744 4 snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_soc_rt5645
    snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
    snd 126976 11 snd_seq,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_core,snd_pcm
    soundcore 16384 1 snd

    Eine blacklist kenn ich hier:
    etc/modprobe.d/blacklist.conf
    Aber das scheint mir eine andere zu sein.

    Bitte antwortet mir auch direkt an meine adresse, denn ich bin nicht auf
    dem verteiler und habe ulfs antwort nur im verteilerarchiv gesehen.

    Danke schon mal,
    Ralf

    Am 13.03.2025 18:16, schrieb Ralf:
    Liebe leute,
    da ich vom englischsprachigen verteiler keine antwort bekomme, auch hier
    die frage, ob jemand etwas mit meinem problem bzw meiner mutmaßung zu
    seiner ursache anfangen kann, s.u.. Ich hab das ganze schon hier
    dargelegt, identisch wie im englischen forum: https://debianforum.de/forum/viewtopic.php?t=190767 Im letzten eintrag
    hab ich meine mutmaßung zu einem kernel-fehler begründet.
    Schönen tag noch.
    Ralf

    Begin forwarded message:

    Date: Thu, 5 Dec 2024 14:38:52 +0100
    From: Ralf <zimmer-ralf@riseup.net>
    To: debian-bugs-dist@lists.debian.org

    Subject: Possible kernel bug: Wrong modalias / soundcard device ID

    Dear Debian experts,
    i was pointed to you because i am having a problem with a newly set up
    computer. It is a Minisforum Z83-F. Except for the sound, almost
    everything seems to be fine (well, most of the times it doesn't
    recognize the ethernet connection at first boot-up, but only after
    restarting it).
    The soundcard doesn't get detected. I get only dummy output. I have
    posted in length about it here:
    https://forums.debian.net/viewtopic.php?t=161070
    I explain in post #18 that there might be something wrong with a
    modalias and device ID:

    So, in 2016 people posted about a similar problem and seem to have
    concluded that there was a wrong modalias (whatever that means), so
    that device ID and codec didn't match:
    https://bugzilla.kernel.org/show_bug.cgi?id=111531
    In the codec for my rt5645 soundcard (at least i guess that that is
    mine) it says:
    #define RT5645_DEVICE_ID 0x6308
    https://github.com/torvalds/linux/blob/ ... s/rt5645.c
    But my computer is telling me:
    rt5645 i2c-10EC5645:00: Device with ID register 0x6281 is not rt5645
    or rt5650
    Does that look like an error that prevents the soundcard from being
    detected?
    Here somebody got a similar error message:
    cht-bsw-rt5645 cht-bsw-rt5645: ASoC: failed to init link SSP2-Codec:
    -517
    cht-bsw-rt5645 cht-bsw-rt5645: snd_soc_register_card failed -517
    https://linux-hardware.org/index.php?pr ... &log=dmesg


    I would be grateful to receive any opinion on whether this is a bug,
    regarding the device ID. I am not on this mailing-list.

    Have a nice day.
    Ralf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulf Volmer@21:1/5 to All on Fri Mar 14 16:20:01 2025
    Am 14.03.25 um 1:41 PM schrieb Ralf:
    Schön, danke für den tipp. Aber wo mache ich das?

    https://wiki.debian.org/KernelModuleBlacklisting

    Warum kriege ich hier rt5645 angezeigt?

    Weil das Modul geladen ist?

    Bitte antwortet mir auch direkt an meine adresse, denn ich bin nicht auf
    dem verteiler und habe ulfs antwort nur im verteilerarchiv gesehen.

    Keine Arme, keine Kekse.
    Ulf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Limburg@21:1/5 to All on Fri Mar 14 22:40:02 2025
    Am 14.03.2025 schrieb Ralf:

    Bitte antwortet mir auch direkt an meine adresse, denn ich bin nicht auf
    dem verteiler und habe ulfs antwort nur im verteilerarchiv gesehen.

    Weia, Du solltest in die Politik gehen. "Helft mir, aber zu meinen
    Konditionen" ist da gerade groß in Mode.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)