Re: Heads-up: please look at the proposed fix (Was: No speech in the alpha Installer, and speech freeze in Bookworm)

Cyril Brulebois <[email protected]> Fri, 23 May 2025 17:26:11 +0200
Newsgroups gmane.linux.debian.devel.cd,gmane.linux.debian.devel.boot
Organization Debian
Message-ID <[email protected]>
Hi,

Roland Clobus <[email protected]> (2025-05-23):
> It turns out that I actually own hardware that needs additional firmware to
> properly work: Lenovo Thinkpad P16s Gen3.
> 
> I found out that one needs to place the firmware files inside the initrd of
> the installer for espeakup to find them, it is not sufficient to generate a
> .patterns file (that will be picked up much later by hw-detect)

Yes, this is similar to the firmware-sof-signed situation.

> 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

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


Cheers,
-- 
Cyril Brulebois ([email protected])            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgwk5AACgkQ/5FK8MKz
VSDaIw//XxbMPIYkPlineNEcnHlWvnWbVwN3beU/cCgsT5HriPfHiuMSgwyhP4h2
HLBgpzd/QW6XrGUW98WgiwKnkXqAyMqoUFi6Xev5iETk94CS9SeDH40TrBiYxhYC
OzD1VkqhQazHID1U/C6h/U83u/0VQIpPdgzH0F/DdtgC6DQdPAyHpRi7f5K6MHLU
1R25W6OeAbRwWc1laRlUfy9DZQ39Zy6+54LWYSV+JmULLPWDt4Tg5aP1sbTHVMeX
W3DhYGrB58zayTMRaSfYErvuQiECc1KmF0jq39INP0wIfCXYm0gMcOTcCxBbAXJT
tLq6hUDcrjFNrGF2olo2cA72vRWz9Nlj9gU2i+HYl/FOQMN3yJgFt52hebC94J3/
LztTMh55FQauwntdWzBVjk+BrFwgtNn9Yyyql3qty7jtCLgZklHFKgEYEmvLdznF
sTQQwChJzM/vcqiVfWWxsgcS3+PQfIVJsNLjWpGQnxHrXq1G1mQwO8Iv5UVjbLXh
etJt5XH+//Yl48dHxzD6c0uNt1PVEamWRt9N5BP3DZPw40Qae13wpEw1a5lEL9Hk
vwsa3c/lTugLqThCz4NOdZmME7ZThMoULksKfa1In9Chx9Jv0sLNjixdl3ti17kp
NrmJYv90B21VcKMAZZLRxuBC8SsP2ZIbDv1nMFXINVW4DcP9Yhg=
=fGZz
-----END PGP SIGNATURE-----