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

Bug#1006708: hw-detect: Fails to reload iwlwifi module (modprobe: FATAL: Module iwlwifi is in use)



Hello Cyril,

Am 13.12.23 um 20:16 schrieb Cyril Brulebois:
Carsten Schoenert <c.schoenert@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.

thank you very much for pointing me!

I did play around a bit and was adding and testing the mentioned approach.

https://salsa.debian.org/tijuca/hw-detect/-/commit/0e94654ca8ed0faa3790a52280342f388be3db9e

With these small modifications I can currently use the d-i on my X1 G11 without further issues. A small exception, as the firmware-iwlwifi/testing can't provide the required firmware files right now they need to get provided on an additional inserted media.

I did also same small s/space/tab modifications with no code changes afterwards in check-missing firmware.sh so the indentations are now unified to use tabs again and fixing also a small typo.

https://salsa.debian.org/tijuca/hw-detect/-/commit/2a3c045a72b4f31fc818b7f639daf5c08b7e2e5a

If you are fine I can raise a MR for easy pulling in. Otherwise feel free to comment on my changes.

--
Regards
Carsten


Reply to: