• Re: Lenovo Thinkpad P16s Gen3 espeakup support (Was: Heads-up: please l

    From Cyril Brulebois@21:1/5 to All on Sat May 24 19:10:01 2025
    XPost: linux.debian.maint.boot

    Hi,

    Roland Clobus <rclobus@rclobus.nl> (2025-05-24):
    With the big hammer I got the espeakup module working on a Lenovo Thinkpad P16s Gen3.

    Now I did a few loops with incrementally adding kernel modules to find out the minimal requirement:
    * drm needs i915
    * i915 needs cec, drm_display_helper and drm_buddy
    * cec needs rc-core

    Also, how does firmware-intel-graphics fit in this picture?

    When loading the i915 module, it requests several firmware files from firmware-intel-graphics (mtl_dmc.bin, mtl_guc_70.bin, mtl_huc_gsc.bin, mtl_gsc_1.bin). It turn out that these firmware files are not required for the espeakup module (even though dmesg complains about them)

    So overall we (only) need 5 additional kernel modules:
    i915, drm_buddy, drm_display_helper, cec, rc-core

    With kind regards,
    Roland Clobus

    PS: The filename is rc-core.ko.xz, the module name is rc_core

    (Yeah, spotted that one earlier. :))

    I'd be tempted to do the .ko thing at d-i build time (we already have a
    few other things in a similar-ish way) and the firmware-intel-sound (but
    not firmware-intel-graphics) at cd build time. Are you happy to give an
    iso a shot?


    Cheers,
    --
    Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgx/UYACgkQ/5FK8MKz VSDmow//RwLvMLwH6wqMDCJVmE9fPeCD/lakMAzFH03N7JpuMf+86/LG+N0S9DSx OxIrAxDq3Yg9moxsHPYOtphcI0L7PMwT+HiXViX9npr7cWZTYJDAqi0V2w1Qq+ep 3ZZEq2Qim2wP50PLjAUwvxbNpqMhOl2K4QnlVf0GRyQ9xQxPXFOVGHAZceugiIQU jdXY5vwwccgmcOqwP9rh5aM1waSFQu15tBdP/qzTxgu/lT8lvNAiqHpQXC05cPx6 b5NuN5plXY9DnahvLYKCmjpcPJR9IT7sjDWhjwwlurxcDSPHYEaDDbNvX0fKZr1N m/ByvF5rfH1pOMpNY88yXY+T1qHj7uIljHkLYJLQLHrYHeJmcJ4fe2ZDjAKXfjjd Rs4bCI0AkZZqdNN2sa7dge1bjsGsQhBxB+VyNSbssiDtn5Pc4KTvGK/Mt7T7elPN Tf+m42MoJDvMqBIM7hpFDN0SNEsVo2bkN8uR3W34OsLeHXqyxhD8psXJOLdpqsSH hRg0+C1fE1ldJRucwj1OzaFtSebzeYCuDvqFCF8GLEWxovwvI4Z1jNz6O2hUYETr sf6TYtBI/P9s6XdzPU5U1w3sH1lRcuqtstWj4qep/3KTj3SaYawuP94AAv4wRnaM GncF6GV2CdUqe+ZdjqnfX31FoJqClt4V9vIF3eoI5EgnxkwaaDo=
    =ueCE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *
  • From Cyril Brulebois@21:1/5 to All on Sun May 25 00:00:01 2025
    XPost: linux.debian.maint.boot

    Hi,

    Roland Clobus <rclobus@rclobus.nl> (2025-05-24):
    When loading the i915 module, it requests several firmware files from firmware-intel-graphics (mtl_dmc.bin, mtl_guc_70.bin, mtl_huc_gsc.bin, mtl_gsc_1.bin). It turn out that these firmware files are not required
    for the espeakup module (even though dmesg complains about them)

    Great news, thanks! The complaining and/or modalias-based stuff will
    have d-i pick them up later on anyway.

    (I'm leaving the question around firmware-intel-sound's metadata for
    later.)

    So overall we (only) need 5 additional kernel modules: i915,
    drm_buddy, drm_display_helper, cec, rc-core

    Re-used/adapted some logic in debian-installer.git, see speech-support
    branch (the commit message sucks, and at least that would need some
    editing before merging into master).

    See kibi/for-master for the debian-cd side (patch 2/3 compared to
    current master).

    Test image:
    https://people.debian.org/~kibi/bug-1092977+intel/

    (also contains partman-crypto fun, unrelated, but one build/stone, two bugs/birds, right?)

    I've at least confirmed I can `modprobe i915` manually…


    Cheers,
    --
    Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgyPx4ACgkQ/5FK8MKz VSBYThAAu0kGbEKXCxnubTn74eKNm31M1SwJyCI92ii2CHkStWn3cGxWA7BtLgSl ejmH5ohu87wIiZjwF4QtkpjKv0Anq1CFHYcK9vtJb9qD2VTaV8/7oxhxlwwcrunQ feBMtFydyxU+dQJ/hDaoLqs66f54XU+tc1G0AKgsBk2J+IncrJ2Di1U28H55MTL5 6frMEgniP7iuX3oYvboCe0ZP0Bw8mxklUAL7GyiHYUICMdAFE0cieekp0BTDt25g CNt3YToRGXCJQiC5CQdKZNYG3lk2Ejmpg8bSazYNXow/zrR7HMyAJVACn+o9oTKq InGx9p/DA2z5SQDNZFMbVcE0bAg1/Hszk5eNG9Osgcz72xEs3BWv26K9BP34hzi8 F37exZq4nQcDJXGntH2bjZt5M06SOtFoTyEapuQdG6I/OlPu/IBmZXnMm9dKl9A8 o+LXNOC5g131YziKOYQYh7BuvtuUbfl7ZrQXKsDCSHsuWY7JPeaNwH4AgVCRkRGe AuIj6XCO7+xCnGd7IaehQHElpbsufSRp/MpwZ9seqica81xjgy1gBIf1BVD2Xqm0 jFPF+kXkHXyNCPaJ4Q0NgT1UJZl6m5Pz+td9Vqx+tU3dJwK0g+PjwnvteorLcaw9 Q87yQhBM0QhyN5ZiadLKPYWqdz7MDpmBwm4ziD+DqOT3WBotZD0=
    =jm3M
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *
  • From Cyril Brulebois@21:1/5 to All on Sun May 25 04:40:01 2025
    XPost: linux.debian.maint.boot

    Cyril Brulebois <kibi@debian.org> (2025-05-24):
    Great news, thanks! The complaining and/or modalias-based stuff will
    have d-i pick them up later on anyway.

    (I'm leaving the question around firmware-intel-sound's metadata for
    later.)

    There's something but it's not great. That led me to doing the following
    but I'm not uploading yet another image just for that. I think what
    matters most at the moment is whether we can bootstrap speech synthesis.
    If we end up with missing sound on the installed system, it's easy enough
    (or should be) to figure out what's going on.

    https://salsa.debian.org/images-team/debian-cd/-/commit/c32217a4f86d18a872d8a2855c78cf74875fce40
    https://salsa.debian.org/images-team/debian-cd/-/commit/7989b4efac6d0514b2095b77ac780cfa88375df2

    (The former I didn't link in my previous mail, the latter is new.)

    The diff in /firmware/dep11 looks good to me: firmware-sof-signed stuff unchanged, firmware-intel-sound stuff added (.patterns & .component).


    Cheers,
    --
    Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgygWwACgkQ/5FK8MKz VSDZkhAAp+e4Hqnc/FeqcGoOXPg5at9Rmygs3PN/DpEMYxcCyNmUqE9Xu0yTkreq +TnBv34A9o+QsMrYmZI5mDZidnHv8KURuPambsMyFogxXDzkfg2rOV5s9iEX3om9 mt6U8P308vC8vHxUr0TEUn7jOUgpGzox6+brbqDtKIb0/jQU+LUFfTQDuG9c6ww3 TLW+oiMSaCnzloKjY4LihqfvxFr6sqNS/hUOZgs9KKGJ7VV5kM0cZIvhV9Yg5twQ vwSC7qJ/fgQh5a4Gh2RpQCUut9ocChd+SEKjdoag9DArwlDJ+xwoAzzCTEv6s9ek wnOwAv0Kpwt2DfbVc2TTFsfszHEPuhxxhoXs+7HT3ZPNzFt5kXwhaEHKEYJ95kip sfY/6Yy9xJStmtwZaJ93xOnRk6Oh5LosQ7GqUWcRHb9X3rBMlkCGyxytfe3obxhY Dx6SGSBsz4n6ZHHn7dhWeCd3P+/rTjgTcVU+K2gb/zlJ/xKUmR9W30ms6mVvAP7v Hqbk2lmwjT/21iEiWULaEfT/j2M8UVw00dFKowDQ8vRCzsZjuKkS/yqw8JYoJBB9 9CNnfwLIOxhIWGTwgL9VEGha/dVW6yiiJytnlZqBCV2/43BY7XI4NXLniuPxrMn3 GjewEmM4p3301GO3blJL29L61BtojV2c7N0kO9qGPmUbDs/4dg4=
    =R71p
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *