USB Wifi 5 -- BT + AC600 Driver free not functioning

I did indeed try the following drivers from various git repos and sources:

drwxr-xr-x 10 tmf  tmf  4096 Mar 29 11:43 ../
drwxr-xr-x  9 tmf  tmf  4096 Mar 18 08:30 8821cu-20210916.FAILED/
-rw-rw-r--  1 tmf  tmf  2764 Mar 18 09:58 README
drwxrwxr-x 12 tmf  tmf  4096 Mar 30 11:50 rtl8812au/
drwxr-xr-x  8 tmf  tmf  4096 Mar 18 08:45 rtl8812au-NOT-WORKING/
drwxr-xr-x 12 tmf  tmf  4096 Mar 18 09:53 rtl8812au-WORKING-BROKEN-USB-SWITCHING/
drwxr-xr-x  9 root root 4096 Mar 18 10:44 rtl8821CU/
drwxr-xr-x  8 root root 4096 Mar 30 19:36 rtl8821cu/
drwxr-xr-x  8 root root 4096 Mar 18 10:35 rtl8821CU-OLD/

the one recommended through that thread I attempted:
# git clone https://github.com/MingxuZhang/rtl8821cu/

followed with cd to the dir, and a make which errored out with:

In file included from /home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/include/osdep_service.h:47,
                 from /home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/include/drv_types.h:32,
                 from /home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/core/rtw_cmd.c:22:
/home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/include/osdep_service_linux.h:302:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  302 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/include/osdep_service_linux.h:303:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  303 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:297: /home/tmf/Documents/WIFI-ADAPTER/rtl8821cu/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1906: /home/tmf/Documents/WIFI-ADAPTER/rtl8821cu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-69-generic'
make: *** [Makefile:1908: modules] Error 2

I'm unsure which of the git repos you were attempting to reference, as well I'm wondering, the command you posted referenced a different device in comparison to the one I've discovered via lsusb: 0bda:1a2b

=================UPDATE=======================
I managed to get the following git to compile as well as install

git clone https://github.com/brektrou/rtl8821CU.git

after which I did make and make install with success; unplug/replug did not modify the output.

HOWEVER!! after which I ran:

usb_modeswitch -KW -v 0bda -p 1a2b

the results of which are here --> https://termbin.com/nvfc

and voila, worked.

2 Likes