-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Provide regulatory.db info via /lib/firmware when supported #57053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't want to hijack the thread but my problem may be related.
so I wonder if it's expected on nixos ? NB: it's annoying all these errors when building kernels. do others have it too (I should probably look at hydras rather...
|
To get the
Then you should see the following in
I haven't quite figured out what the best way to set the correct regulatory domain is however... short of just using |
oh great thanks ! that was not obvious. I was looking for a setting to set on boot as a kernel parameter but haven't found it yet. Some interesting read https://wireless.wiki.kernel.org/en/developers/regulatory#kernel_integration suggests one can embed the kernel in the db as well ?! https://wiki.archlinux.org/index.php/Wireless_network_configuration |
@samdoshi Something like this should work:
Admittedly not ideal since it only works at module load time though. |
Thanks @edolstra Setting the following gives me the correct wifi config (check with
Looking through the documents on: https://wireless.wiki.kernel.org/en/developers/regulatory It seems to be a bit of a mess.... I think having a module ( ArchLinux deals with it by using a custom Another idea would be to added a |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
This should not be stale I think. Should NixOS just add |
cc #121530 |
use it when networkmanager or wpa_supplicant is enabled. fixes NixOS#57053 fixes "Direct firmware load for regulatory.db failed with error -2" in dmesg Note that all kernels on unstable are newer that 4.15, which is required for this to work.
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/direct-firmware-load-for-regulatory-db-failed/16317/1 |
Issue description
Newer kernels (4.15+) can look for wireless regulatory info from
/lib/firmware
(for us this is/run/current-system/firmware
I think?),replacing the need for user-space helper like
crda
.(at least in the common case, I believe)
Links to resources/related info
internal
regdb, although I'm not sure the difference is as important for NiXOS'ers compared to other distributions. Info on internal: https://wireless.wiki.kernel.org/en/developers/regulatory/crda#config_cfg80211_internal_regdbThe text was updated successfully, but these errors were encountered: