Problems installing ASUS AX1800 USB Wifi

Hi there :slight_smile:
I tried to upgrade my onboard 1x1 wifi into a 2x2 wifi with the ASUS AX1800 USB 3.0 Wifi, but run into some problems . First problem:

[as@kiste ~]$ sudo git clone https://aur.archlinux.org/rtl8852bu-dkms-git.git
Klone nach 'rtl8852bu-dkms-git'...
Hinweis: Als Name fĂĽr den initialen Branch wurde 'master' benutzt. Dieser
Hinweis: Standard-Branchname kann sich ändern. Um den Namen des initialen Branches
Hinweis: zu konfigurieren, der in allen neuen Repositories verwendet werden soll und
Hinweis: um diese Warnung zu unterdrĂĽcken, fĂĽhren Sie aus:
Hinweis:
Hinweis: 	git config --global init.defaultBranch <Name>
Hinweis:
Hinweis: Häufig gewählte Namen statt 'master' sind 'main', 'trunk' und
Hinweis: 'development'. Der gerade erstellte Branch kann mit diesem Befehl
Hinweis: umbenannt werden:
Hinweis:
Hinweis: 	git branch -m <Name>
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 2), reused 10 (delta 2), pack-reused 0 (from 0)
Empfange Objekte: 100% (10/10), fertig.
Löse Unterschiede auf: 100% (2/2), fertig.
[as@kiste ~]$ sudo pacman -S rtl8852bu-dkms-git
Fehler: Ziel nicht gefunden: rtl8852bu-dkms-git
Warnung: »rtl8852bu-dkms-git« ist eine Datei, wollten Sie -U/--upgrade statt -S/--sync benutzen?
[as@kiste ~]$ sudo pacman -U rtl8852bu-dkms-git
Pakete werden geladen …
Fehler: Konnte Datei rtl8852bu-dkms-git nicht öffnen: Error reading fd 6
Fehler: 'rtl8852bu-dkms-git': Kann Paketdatei nicht öffnen

Second problem: The USB 3.0 wifi dongle only shows up as an USB 2.0

[as@kiste ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046a:0702 CHERRY Wireless Dongle
Bus 001 Device 004: ID 0408:5368 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 005: ID 04f3:0c00 Elan Microelectronics Corp. ELAN:ARM-M4
Bus 001 Device 006: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 008: ID 0b05:1997 ASUSTek Computer, Inc. 802.11ac WLAN Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Any ideas?

Try yay -S rtl8852bu-dkms-git

If it’s plugged into a usb 2.0 port I’m not sure it will show up as usb 3.0 :thinking:

ok, installed! Is it “yay” cause it is from AUR?

The system only has 2 USB ports: 1 USB 2.0 where my cherry mouse dongle is pluged in and one USB 3.0 (blue) where the ASUS is pluged in at the moment :man_shrugging:

[as@kiste ~]$ inxi -F
System:
  Host: kiste Kernel: 6.12.7-arch1-1 arch: x86_64 bits: 64
  Desktop: Budgie v: 10.9.2 Distro: EndeavourOS
Machine:
  Type: Laptop System: HP product: HP Laptop 17-cn0xxx v: N/A
    serial: <superuser required>
  Mobo: HP model: 883C v: 69.16 serial: <superuser required> UEFI: AMI
    v: F.03 date: 03/11/2021
Battery:
  ID-1: BAT0 charge: 31.1 Wh (100.0%) condition: 31.1/31.1 Wh (100.0%)
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    cache: L2: 5 MiB
  Speed (MHz): avg: 400 min/max: 400/4200 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Quanta HP TrueVision HD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 1600x900~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.2-arch1.1
    renderer: Mesa Intel Iris Xe Graphics (TGL GT2)
  API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.12.7-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce
  IF: wlan0 state: up mac: 80:d2:1d:d1:cc:55
  Device-2: ASUSTek 802.11ac WLAN Adapter driver: N/A type: USB
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: 80:D2:1D:D1:CC:54 bt-v: 4.2
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Drives:
  Local Storage: total: 476.94 GiB used: 252.18 GiB (52.9%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-000H1
    size: 476.94 GiB
Partition:
  ID-1: / size: 299.69 GiB used: 252.07 GiB (84.1%) fs: ext4
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 31.02 GiB used: 2.31 GiB (7.4%)
  Processes: 285 Uptime: 1m Shell: Bash inxi: 3.3.36

Looks all working anyway and yes it is yay command which is an aur helper to install packages from the AUR. Yay is set up on endeavouros to run pacman commands. You can use pacman in the terminal also.

Its still show up as USB 2.0 and thus it is only AC-wifi. It needs USB 3.0 for AX-wifi. :frowning:

[as@kiste ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0408:5368 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 005: ID 04f3:0c00 Elan Microelectronics Corp. ELAN:ARM-M4
Bus 001 Device 006: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 007: ID 046a:0702 CHERRY Wireless Dongle
Bus 001 Device 009: ID 0b05:1997 ASUSTek Computer, Inc. 802.11ac WLAN Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[as@kiste ~]$ 

It doesn’t show both in the hardware output?

Edit: I see this one which i assume is the onboard device.

Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce
  IF: wlan0 state: up mac: 80:d2:1d:d1:cc:55

Edit:

This is the usb device which is showing as 802.11AC

Edited:

Bus 001 Device 007: ID 046a:0702 CHERRY Wireless Dongle
Bus 001 Device 009: ID 0b05:1997 ASUSTek Computer, Inc. 802.11ac WLAN Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

yes, but the ASUS is AX-wifi with up to 1800 Mbits and thus needs usb 3.0 or better

Yes it is an 802.11AX device. I’m not sure why it’s showing AC. You may be using the wrong driver package. Let me check.

1 Like

The ASus can both, AC and AX, me think the usb 3.0 does not work correct

Looks like there is only one driver in the AUR which is the one you are using. There are some others but to install them is different and you would have to remove the existing package. Not sure whether it will work though.

Edit: The driver you are currently using supports the following.

The driver supports rtl8832bu/rtl8852bu chipsets.

This driver currently handles the following devices:

ASUS USB-AX55 with USB ID 0b05:1a62
Realtek Demo Board with USB ID 0bda:8832
Realtek Demo Board with USB ID 0bda:883a
Realtek Demo Board with USB ID 0bda:8852
Realtek Demo Board with USB ID 0bda:885a
Realtek Demo Board with USB ID 0bda:a85b

Edit: Yours has a different ID because it’s newer.

Edit:

Here is another one.

the github you linked looks interessting. But meanwhile i tested an USB 3.1 NVME at this USB 3.0 port and e.g. the 1,1 GB Arch linux iso is copied in 2 or 3 seconds on this usb 3.1 nvme. So the USB 3.0 works.

I will uninstall the git and driver i used and will check the git and driver what you linked

make clean

[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make clean
#make -C /lib/modules/6.12.7-arch1-1/build M=/home/as/RTL8852BU_RTL8832BU_WiFi_linux clean
cd phl ; rm -fr */*/*/*/*.mod.c */*/*/*/*.mod */*/*/*/*.o */*/*/*/.*.cmd */*/*/*/*.ko
cd phl ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd phl ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd phl ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd phl ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux/hwsim ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
/bin/sh: Zeile 1: cd: os_dep/linux/hwsim: Datei oder Verzeichnis nicht gefunden
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions

make (with failure)

[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make
#rm -f .symvers.8852bu
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.12.7-arch1-1/build M=/home/as/RTL8852BU_RTL8832BU_WiFi_linux  modules
make[1]: Verzeichnis „/usr/lib/modules/6.12.7-arch1-1/build“ wird betreten
  CC [M]  /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.o
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:247:13: Warnung: widersprüchliche Typen für »dbg_rtw_vmfree« aufgrund von enum/integer-Konflikt; der bestehende Typ ist »void(void *, u32,  const enum mstat_f,  const char *, const int)« {alias »void(void *, unsigned int,  const enum mstat_f,  const char *, const int)«} [-Wenum-int-mismatch]
  247 | inline void dbg_rtw_vmfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
      |             ^~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:248:1: Anmerkung: vorherige Deklaration von »dbg_rtw_vmfree« vom Typ »void(void *, const enum mstat_f,  u32,  const char *, const int)« {alias »void(void *, const enum mstat_f,  unsigned int,  const char *, const int)«}
  248 | {
      | ^
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:298:13: Warnung: widersprüchliche Typen für »dbg_rtw_mfree« aufgrund von enum/integer-Konflikt; der bestehende Typ ist »void(void *, u32,  const enum mstat_f,  const char *, const int)« {alias »void(void *, unsigned int,  const enum mstat_f,  const char *, const int)«} [-Wenum-int-mismatch]
  298 | inline void dbg_rtw_mfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
      |             ^~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service.c:299:1: Anmerkung: vorherige Deklaration von »dbg_rtw_mfree« vom Typ »void(void *, const enum mstat_f,  u32,  const char *, const int)« {alias »void(void *, const enum mstat_f,  unsigned int,  const char *, const int)«}
  299 | {
      | ^
  CC [M]  /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.o
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:40:6: Warnung: kein vorheriger Prototyp für »_rtw_skb_queue_purge« [-Wmissing-prototypes]
   40 | void _rtw_skb_queue_purge(struct sk_buff_head *list)
      |      ^~~~~~~~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:769:5: Warnung: kein vorheriger Prototyp für »rtw_change_ifname« [-Wmissing-prototypes]
  769 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
      |     ^~~~~~~~~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c: In Funktion »rtw_change_ifname«:
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:810:28: Warnung: Übergabe des Arguments 1 von »_rtw_memcpy« entfernt Kennzeichner »const« von Zeiger-Ziel-Typ [-Wdiscarded-qualifiers]
  810 |         _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
      |                     ~~~~~~~^~~~~~~~~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:48:24: Anmerkung: »void *« erwartet, aber Argument hat Typ »const unsigned char *«
   48 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
      |                  ~~~~~~^~~
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c: In Funktion »rtw_random32«:
/home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.c:850:16: Fehler: Implizite Deklaration der Funktion »prandom_u32«; meinten Sie »get_random_u32«? [-Wimplicit-function-declaration]
  850 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                get_random_u32
make[3]: *** [scripts/Makefile.build:229: /home/as/RTL8852BU_RTL8832BU_WiFi_linux/os_dep/osdep_service_linux.o] Fehler 1
make[2]: *** [/usr/lib/modules/6.12.7-arch1-1/build/Makefile:1937: /home/as/RTL8852BU_RTL8832BU_WiFi_linux] Fehler 2
make[1]: *** [Makefile:224: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/lib/modules/6.12.7-arch1-1/build“ wird verlassen
make: *** [Makefile:633: modules] Fehler 2
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ 

make install (with failure)

[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ sudo make install
install -p -m 644 8852bu.ko  /lib/modules/6.12.7-arch1-1/kernel/drivers/net/wireless/
install: der Aufruf von stat für '8852bu.ko' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
make: *** [Makefile:642: install] Fehler 1
[as@kiste RTL8852BU_RTL8832BU_WiFi_linux]$ 

idk :man_shrugging:

There also is a dkms version here.

yay -S 8852bu-dkms-git

1 Like

ok! Did it! But it is still usb 2.0 :frowning:

[as@kiste ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046a:0702 CHERRY Wireless Dongle
Bus 001 Device 003: ID 0408:5368 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 004: ID 04f3:0c00 Elan Microelectronics Corp. ELAN:ARM-M4
Bus 001 Device 005: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 009: ID 0b05:1997 ASUSTek Computer, Inc. 802.11ac WLAN Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[as@kiste ~]$ 

On some WiFi in order to get AX you have to disable “N” or AC. I’m just not sure how to do that on a usb adapter verses the normal modules.

Check sudo dmesg Is there any error messaging reagding this usb device? Such as
usb usb2-port2: Cannot enable. Maybe the USB cable is bad?

Edit: Also look to see if it shows the device being found and what is say’s.

the strange thing is i cant choose which wlan, wlan0 or wlan1, in the menue of the wlan-connection. Only wlan0 there, the buildin wlan adapter.

Also hwinfo shows

45: USB 00.0: 0000 Unclassified device
  [Created at usb.122]
  Unique ID: cLrx.xUQVTyciKY9
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
  SysFS BusID: 1-2:1.0
  Hardware Class: unknown
  Model: "ASUSTek 802.11ac WLAN Adapter"
  Hotplug: USB
  Vendor: usb 0x0b05 "ASUSTek Computer, Inc."
  Device: usb 0x1997 "802.11ac WLAN Adapter"
  Serial ID: "00e04c000001"
  Speed: 480 Mbps
  Module Alias: "usb:v0B05p1997d0000dc00dsc00dp00icFFiscFFipFFin00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #49 (Hub)

but for the buildin adapter it shows

64: None 00.0: 1070a WLAN
  [Created at net.126]
  Unique ID: AYEt.QXn1l67RSa1
  Parent ID: y9sn.ERBdOpejEq8
  SysFS ID: /class/net/wlan0
  SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/0000:01:00.0
  Hardware Class: network interface
  Model: "WLAN network interface"
  Driver: "rtw_8821ce"
  Driver Modules: "rtw88_8821ce"
  Device File: wlan0
  HW Address: 80:d2:1d:d1:cc:55
  Permanent HW Address: 80:d2:1d:d1:cc:55
  Link detected: yes
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #22 (WLAN controller)

it is a bluetooth dongle for the bt cherry mouse

Okay you have another usb device. My mistake.

This is only what it’s showing so it’s either a driver issue or i have no idea.