Hello,
Le 13/12/2023 à 20:16, Cyril Brulebois a écrit :
Carsten Schoenert <c.schoen...@t-online.de> (2023-12-13):
The "trick" is to unload the iwlmvm module instead and load afterwards
the module iwlwifi again.
See the very bottom of check-missing-firmware.sh (hw-detect repository),
the loop over $modules. You could try intercepting $module = iwlwifi,
and adding a modprobe -r theotherone beforehand.
Wouldn't it be more generic to check /sys/module/${module}/holders like
is done for mhi ?
Note: iwldvm is also loaded by iwlwifi (for older hardware I guess) and
depends on it, but AFAICS it is not loaded when the requested firmware
is missing, so there is no need to unload it. Is it expected that the
behaviour is different with hardware using iwlmvm ?