Closed danyer closed 1 year ago
@danyer I've just updated rtl8821cu to a newer version, please have a try and see if you still have the issue, if so I'll look into fixing it.
git checkout master
git pull
# You should now be on commit ef74e8d55d42b47a3a993a1bc8c5f3796a7e7659
git status
# Checkout newer version of buildroot/
git submodule update
# Compile the changed packages (without a full rebuild)
make br/rtl8821cu-dirclean compile
I've tested on an intel/desktop system running SkiffOS and modprobe 8821cu
works. So i think modprobe can see it, at least. modprobe does recognize the extra/ folder.
Perhaps this isn't working with the odroid kernel - after updating the package as per above, let me know if modprobe 8821cu
works. If not, I have a couple HC2s an will try to reproduce.
If modprobe 8821cu
still cannot find the module, try depmod -a
then modprobe 8821cu
again and let me know if that fixes it.
Maybe the kernel is not automatically probing the module because your particular device is not in the list of supported cards in the kernel module source.
In this case you can easily fix this by adding a root_overlay with a modules-load.d file:
mkdir -p ./overrides/root_overlay/etc/modules-load.d/
echo "8821cu" > ./overrides/root_overlay/etc/modules-load.d/10-rtl8821cu.conf
make compile
as this is my first bug report to SkiffOS, I would like to say that it is an amazing project, thank you for making it possible!
Thanks!
I can confirm that now it is working. I pulled the latest master which now was at commit 02ae7a0f6e596624fd085e0154731e0f9d063076 (copy 8821cu.conf to target), updated the buildroot submodule and compiled.
With this latest build, the module is loaded automatically and a wlan0 interface is waiting to be configured. Immediately after issuing nmcli --ask dev wifi connect myssid
and entering the wifi password I had received an IP. I rebooted the board, without Ethernet cable connected, and I was able to connect to it from my desktop on its wireless connection.
So everything is working like it should, thank you very much for your help!
@danyer great to hear!
Hi,
as this is my first bug report to SkiffOS, I would like to say that it is an amazing project, thank you for making it possible!
Now for the bug ;)
I have an Odroid HC1 board. I also have an Odroid WiFi module 5BK (0bda:c820). I'm using SkiffOS 2023.02, default configuration.
The module for the WiFi card (
8821cu.ko
) is not loaded automatically. It is not loaded manually withmodprobe
either. If I load it withinsmod
, then everything works.The problem I think resides in the fact that
8821cu.ko
is in/lib/modules/6.1.11/extra
andmodprobe
does not look in that folder.Some console output from a freshly booted system:
The module is perfect (after
insmod
-ed manually, I remove ethernet cable and use only wifi connection to test its reliability), it is a pity that it is not loaded automatically. I would be happy with a workaround ;)Please ask for more details if needed, I will happily provide them.
Thank you, Dan.