Skip to content
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

Use ordering instead of blacklisting? #214

Open
alkisg opened this issue Mar 27, 2024 · 0 comments
Open

Use ordering instead of blacklisting? #214

alkisg opened this issue Mar 27, 2024 · 0 comments

Comments

@alkisg
Copy link

alkisg commented Mar 27, 2024

In order for 88x2bu to get loaded, the following line is specified in /etc/modprobe.d/88x2bu.conf:

blacklist rtw88_8822bu

This means that if a new kernel comes along, and 88x2bu fails to compile, the users are left without an Internet connection.
It would be great if we could configure the target system to "prefer 88x2bu, fallback to rtw88_8822bu".
I think that's what modules.order is supposed to do, but I'm not sure how to override it, since it's shipped with the linux-modules package and it shouldn't be modified.
DKMS does modify modules.dep, but I don't think we can specify module loading order from there.
Finally, a modprobe 88x2bu command could be run very early in the boot process, and that would "prefer" this driver over the in-kernel one, but that would mean it would always get loaded, even when the adapter isn't there, so it's not a good solution.

So does anyone have any magic to use module loading order, instead of blacklisting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant