-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
rtl8852au: init at 70bdde2 #279702
rtl8852au: init at 70bdde2 #279702
Conversation
this works well. I modified it to fetch the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be merged? I wonder if the author could add 8852bu
as well since like I've said I've copied this for such a purpose and saw success locally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to add rtl8821au = callPackage ../os-specific/linux/rtl8821au { };
in pkgs/top-level/linux-kernels.nix
, otherwise it won't get added (unlike what by-name
does)
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/3622 |
|
All changes done! sorry for the long wait, I was off the internet! I'll look into adding the 8852bu next, as many of you confirm it works. @rjpcasalino can I count on you testing my next PR with your antenna? I have no way of doing it (aside from just compiling). |
@lonyelon can you change order of commits. otherwise first commit is referencing an attribute that doesn't exist |
Done! <3 I had not even thought about that lol |
I changed every '--replace' with '--replace-fail' as asked by @kirillrdy. I also detected an unnecessary replace thanks to it. |
@lonyelon yes! Would love to test. I was seeing strange issues I'm trying to see if they are related to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 279702
run on x86_64-linux 1
12 packages failed to build:
- linuxKernel.packages.linux_4_19.rtl8852au
- linuxPackages_4_19_hardened.rtl8852au (linuxKernel.packages.linux_4_19_hardened.rtl8852au)
- linuxPackages_5_10_hardened.rtl8852au (linuxKernel.packages.linux_5_10_hardened.rtl8852au)
- linuxPackages_5_15_hardened.rtl8852au (linuxKernel.packages.linux_5_15_hardened.rtl8852au)
- linuxPackages_5_4_hardened.rtl8852au (linuxKernel.packages.linux_5_4_hardened.rtl8852au)
- linuxPackages_6_1_hardened.rtl8852au (linuxKernel.packages.linux_6_1_hardened.rtl8852au)
- linuxPackages_hardened.rtl8852au (linuxPackages_6_6_hardened.rtl8852au)
- linuxPackages_6_7_hardened.rtl8852au (linuxKernel.packages.linux_6_7_hardened.rtl8852au)
- linuxPackages_latest.rtl8852au (linuxKernel.packages.linux_6_8.rtl8852au)
- linuxPackages_latest-libre.rtl8852au (linuxKernel.packages.linux_latest_libre.rtl8852au)
- linuxPackages_lqx.rtl8852au (linuxKernel.packages.linux_lqx.rtl8852au)
- linuxPackages_zen.rtl8852au (linuxKernel.packages.linux_zen.rtl8852au)
9 packages built:
- linuxKernel.packages.linux_5_10.rtl8852au
- linuxKernel.packages.linux_5_15.rtl8852au
- linuxKernel.packages.linux_5_4.rtl8852au
- linuxKernel.packages.linux_6_1.rtl8852au
- linuxPackages.rtl8852au (linuxKernel.packages.linux_6_6.rtl8852au)
- linuxKernel.packages.linux_6_7.rtl8852au
- linuxPackages-libre.rtl8852au (linuxKernel.packages.linux_libre.rtl8852au)
- linuxPackages_xanmod.rtl8852au (linuxKernel.packages.linux_xanmod.rtl8852au)
- linuxPackages_xanmod_latest.rtl8852au (linuxKernel.packages.linux_xanmod_latest.rtl8852au ,linuxPackages_xanmod_stable.rtl8852au)
This will expose me as a nixpgks novice but... Why is it failing on those kernels? |
this will not necessarily block this PR, just indication of current situation I'll have a look at failures, although i am not a kernel expert either :-) and I don't have hardware to test this with |
I can test the zen, libre and hardened kernels no problem. I have an old thinkpad where I can plug the antenna and check. It just feels weird that it fails on those and not in the default one. |
any luck with further testing? I found out my motherboard was dying so that was my issue but I've got a new one now so I can go ahead and help out testing - my rendition of |
@K900 asking for review, as I don't have much experience in the nixpkgs kernels area otherwise, I don't see reasons not to merge it |
I have been using this driver for months now without any issue so idk, but more eyes are always better. As for the 8852bu, I guess once this one is given the OK and merged I'll make that PR. |
Do we really have to? This hardware seems to be supported by rtw89 in latest kernels. |
Latest as in 6.8? In 6.6 I've had no luck. |
Please try 6.8. |
is 8852bu also supported in 6.8? I am guessing yes. I think we can close this but many thanks @lonyelon regardless |
I think everything 885x is actually the same chip. |
tried 6.8 and testing but doesn't seem to see the usb adapter anymore but perhaps I have a misconfiguration somewhere |
Oh I see, the U variants are USB, which is not supported in mainline yet. I guess we have to deal with this for a bit longer then... |
Thanks everyone. I'll now start working on the RTL8852BU PR here: #306247. |
Description of changes
Add the RTL8852AU driver for some devices that require it, like my WiFi antenna. Source at https://github.com/lwfinger/rtl8852au.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.