Add support for rtl8821cu WiFi Dongle#1899
Conversation
|
Hm, I just saw that there actually already is an udev ruleset at I don't know a lot about udev, but this looks exactly right, how come it isn't triggered? |
|
Okay, figured that out too: it seems that the evidently this check fails and the file isn't installed. I guess this is an upstream bug though. |
|
Adding this as I'm not sure how close hassos tracks buildroot upstream, should this be included in |
Signed-off-by: s-ol <s+removethis@s-ol.nu>
|
The usb_modeswitch change is now in a PR at home-assistant/buildroot#2. With that PR merged and the submodule updated, the wifi dongle becomes plug and play :) |
* buildroot ee56159464...666868435d (1): > Merge pull request home-assistant#2 from s-ol/fix-usb_modeswitch-systemd
* Add rtl8821cu driver * buildroot ee56159464...666868435d (1): > Merge pull request #2 from s-ol/fix-usb_modeswitch-systemd * Add rtl8821cu support to all boards Signed-off-by: s-ol <s+removethis@s-ol.nu> Co-authored-by: Stefan Agner <stefan@agner.ch>
Using the module source code from https://github.com/brektrou/rtl8821CU, which appears to be what Hardkernel use for their own images.
The dongle needs to be put into working mode using:
I'm note sure where that would go right now, but it would be good to add that in an udev rule:
I've only enabled it for ODROID N2 right now since that's what I'm using, but if anyone lets me know what else to do I'm happy to change anything here.
See also this forum thread with more links: https://community.home-assistant.io/t/how-can-i-use-install-the-realtek-rtl8821cu-wifi-usb-dongle-on-home-assistant-os/416035/
ODROID WiFi module 5B uses the rtl8821cu chipset.