Asus AC53 Nano USB Wireless

Hi there,

I have a Asus AC53 Nano USB Wireless device and there is currently no driver in the main kernel for it. I found the following and several other drivers that a lot of people say works but every one I try results in the same error.
https://github.com/cilynx/rtl88x2bu

Here is the output of lsusb:

Bus 001 Device 008: ID 0b05:184c ASUSTek Computer, Inc. 802.11ac NIC

Here is the error when I run “make”.

  CC [M]  /home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a/os_dep/linux/ioctl_cfg80211.o
/home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a/os_dep/linux/ioctl_cfg80211.c:9952:3: error: ‘struct cfg80211_ops’ has no member named ‘mgmt_frame_register’
  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
   ^~~~~~~~~~~~~~~~~~~
/home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a/os_dep/linux/ioctl_cfg80211.c:9952:25: error: initialization from incompatible pointer type -Werror=incompatible-pointer-types]
  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a/os_dep/linux/ioctl_cfg80211.c:9952:25: note: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx_cancel_wait’)
cc1: error: unrecognized command line option ‘-Wno-enum-conversion’ -Werror]
cc1: error: unrecognized command line option ‘-Wno-cast-function-type’ -Werror]
cc1: all warnings being treated as errors
make[3]: *** [/usr/src/linux-5.3.18-59.10/scripts/Makefile.build:288: /home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/src/linux-5.3.18-59.10/Makefile:1675: _module_/home/enigma/Downloads/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a] Error 2
make[1]: *** ../../../linux-5.3.18-59.10/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-5.3.18-59.10-obj/x86_64/default'
make: *** [Makefile:2284: modules] Error 2

Any ideas how I can get this driver to build or if there is another way to get a driver for this network device?

Thanks!

Aha! I should have checked OBS. This got it working.

zypper addrepo https://download.opensuse.org/repositories/home:Sauerland:hardware/openSUSE_Leap_15.3_Update/home:Sauerland:hardware.repo
zypper ref
zypper --no-refresh in rtl8822bu-kmp-default
modprobe rtl8822bu

Therefore I publish my OBS…

Thanks so much for your work on that Sauerland! You’re a life saver!