brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.59k stars 462 forks source link

Install usb_modeswitch rule #26

Closed cryobry closed 4 years ago

cryobry commented 4 years ago

This will use udev and usb_modeswitch to automatically switch the rtl8821CU from disk to wi-fi mode.

cryobry commented 4 years ago

I submitted this command upstream to usb-modeswitch-data so hopefully it will be the default soon. The last release was 12-31-2017 so maybe it will make it in the 2 year anniversary release.

cryobry commented 4 years ago

I got this added to upstream. See usb_modeswitch-data-20191128 release. Hopefully it will be coming to your favorite distro soon, in the meantime you can use my workaround seen here https://github.com/brektrou/rtl8821CU/pull/26.