[SOLVED] Controlling iwlwifi firmware load without upgrading/recompiling a new kernel
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Controlling iwlwifi firmware load without upgrading/recompiling a new kernel
Hi all,
Noticed iwlwifi is looking for a firmware specific to the wnic I have.
The latest firmware iwlwifi is looking for is -69
Looking into /lib/firmware, I see version -71 is available.
How do I go about getting iwlfifi to load version -71?
Not that I wouldn't mind recompiling a new kernel... but knowing if loading/unloading a specific firmware for testing could be useful.
AFAIK, the firmware is loaded by the kernel module (driver) for your card. Unloading and then reloading the module with the new firmware in /lib/firmware should suffice.
You will most likely have to deactivate the wireless interface before the kernel will allow you to unload the module. Also, remember to create a backup of the old firmware file first.
Noticed iwlwifi is looking for a firmware specific to the wnic I have.
The latest firmware iwlwifi is looking for is -69
Looking into /lib/firmware, I see version -71 is available.
How do I go about getting iwlfifi to load version -71?
Not that I wouldn't mind recompiling a new kernel... but knowing if loading/unloading a specific firmware for testing could be useful.
Thanks in advance
yvesjv --
Curious ...
How can you tell that version -71 would be better for your WiFi than version -69 ?
Good question but I'm after a different quest.
There is a request for assistance at https://www.linuxquestions.org/quest...-a-4175704711/
Appears it works with some kernels and not with others.
Would be nice if we could be a bit granular and specify which firmware to load.
I think I'm going to compile 5.18.x and install but before doing so, first edit the file '22000.c' by giving it a bogus but higher value than the default of 72.
Noticed iwlwifi is looking for a firmware specific to the wnic I have.
The latest firmware iwlwifi is looking for is -69
Looking into /lib/firmware, I see version -71 is available.
How do I go about getting iwlfifi to load version -71?
Not that I wouldn't mind recompiling a new kernel... but knowing if loading/unloading a specific firmware for testing could be useful.
Thanks in advance
Hmm. If I'm not mistaken it doesnt work like that. Specific firmware is only for specific version of the Kernel driver. So you can't use firmware version Y with driver version X or firmware version X with driver version Y. You can only use X on X and Y on Y. Where both firmware and driver version is a range of versions, not only a specific one.
Which basically means you don't have to worry about it unless you run a newer Kernel and it fails to load an old firmware. And well, sometimes there could be a new firmware version for an old driver, but as long as it works, you don't really need to worry about it, unless there is a specific fix to a serious issue. In which case you would probably have to update both anyways.
Quote:
Originally Posted by yvesjv
It should but that didn't work.
It must be hardcoded somewhere.
Yes, did test it and it looks like it is hardcoded.
Raising the max value inthe file 22000.c before compiling does work but if the kernel doesn't recognise the hardware, that is not going to help.
Looks like flashy new hardware = new kernel + new flashy drivers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.