On 20/05/2025 at 21:13, Cyril Brulebois wrote:
Pascal Hambourg <pascal@plouf.fr.eu.org> (2025-05-20):If we want to fix this, possible options include: - always queue firmware-sof-signed for installation in the target system even if it not needed by audio devices; - delete firmware-sof-signed firmware files when the installer does not need them any more (after audio drivers are loaded and sound is working). If an audio device needs them, then hw-detect should detect it and queue firmware-sof-signed for installation in the target system.
(...)
Anyway, *if* we wanted to fix this…
Yes, "if" was on purpose given the minor severity.
The latter would seem preferrable, if we managed to have some kind of reliable way to assess the situation.
A list of preinstalled firmware files or paths could be added by debian-cd and used by hw-detect to remove them.
The former is a big(ger) hammer, and if the sound worked fine during installation, sticking to the loose files that were copied shouldn't be much of an issue (at least feature-wise, not sure about possible security fixes over time).
The firmware files are present anyway, so it does not look like a much bigger hammer than the current situation to me. Installing the firmware package would at least allow to remove or upgrade them cleanly and easily.