[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lenovo Thinkpad P16s Gen3 espeakup support (Was: Heads-up: please look at the proposed fix, Was: No speech in the alpha Installer, and speech freeze in Bookworm)



Hello,

On 23/05/2025 17:26, Cyril Brulebois wrote:
Roland Clobus <rclobus@rclobus.nl> (2025-05-23):
I've prepared a patch for the live images, which will be merged soon:
https://salsa.debian.org/live-team/live-build/-/merge_requests/424

The ugly thing is that I need the kernel modules 'drm' and 'i915' and their
dependencies in addition to the firmware to enable sound for espeakup on the
Lenovo Thinkpad.

Would it be OK to stuff so much extras in the initrd of the installer?

We already have drm.ko (and a few others, for other reasons). Do you
have a full list of required modules? I can only see a grep call, and at
least drm seems like a HUGE hammer:
  - a current gtk initrd's /kernel/drivers/gpu/drm is 560K
  - a current linux-image's /kernel/drivers/gpu/drm is 9.5M

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: