Scenario: I am trying to install an USB Archer T4U v3 network adapter. I currently have a conventional wifi network card installed, but I wish to switch to this USB device so I can make room inside my case for a new video card.
I am using kernel version 5.15.57-2. It is fully updated.
The output of lsusb is as follows:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2357:0115 TP-Link Archer T4U ver.3
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 002 Device 004: ID 174c:5106 ASMedia Technology Inc. ASM1051 SATA 3Gb/s bridge
Bus 002 Device 003: ID 1058:25a1 Western Digital Technologies, Inc. Elements / My Passport
Bus 002 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1038:12ad SteelSeries ApS SteelSeries Arctis 7
Bus 001 Device 006: ID 1b1c:0c0b Corsair Lighting Node Pro
Bus 001 Device 003: ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
Bus 001 Device 004: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 008: ID 046d:c341 Logitech, Inc. Logitech Mechanical keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So it appears that my computer can generally see the device, but I cannot seem to get the driver to function.
I tried to follow the instructions located in the Wiki. The Wiki said that you need to make sure your proper headers are installed, so I used the following command to install them:
sudo pacman -Syyu linux-header
There were no obvious errors or problems with this step. After this step, I cold-booted my computer.
I then attempted to install the driver using this command:
'sudo pamac build rtl88x2bu-dkms-git'
During this step, the following error was encountered, but it claimed the installation was successfully finished:
Install DKMS modules [2/2]
==> dkms install --no-depmod rtl88x2bu/5.13.1.r165.d4cb421 -k 5.10.133-1-MANJARO
==> dkms install --no-depmod rtl88x2bu/5.13.1.r165.d4cb421 -k 5.15.57-2-MANJARO
==> dkms install --no-depmod rtl88x2bu/5.13.1.r165.d4cb421 -k 5.4.207-1-MANJARO
==> depmod 5.10.133-1-MANJARO
==> depmod 5.15.57-2-MANJARO
==> depmod 5.4.207-1-MANJARO
==> ERROR: Missing 5.9.16-1-MANJARO kernel modules tree for module rtl88x2bu/5.13.1.r165.d4cb421.
Transaction successfully finished.
I then cold-booted my machine again and re plugged in the device. It was still not working.
I then tried to activate it using the following command:
sudo modprobe 88x2bu
I got no response back in Terminal, but after unplugging/replugging the device it’s still not working.
Here is the output of inxi -N:
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi
Device-3: TP-Link Archer T4U ver.3 type: USB driver: rtl88x2bu
And here is the output of inxi -Fazy --filter:
System:
Kernel: 5.15.57-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=11885d15-3608-4162-94bb-b24ed4bed50e rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: GNOME v: 42.3.1 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM
v: 42.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH PLUS (MS-7A38) v: 7.0
serial: <superuser required> UEFI: American Megatrends v: 9.00
date: 01/07/2019
CPU:
Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ gen: 2
built: 2018-21 process: GF 12nm family: 0x17 (23) model-id: 8 stepping: 2
microcode: 0x800820D
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 2x8 MiB
Speed (MHz): avg: 1969 high: 2781 min/max: 2200/3700 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2781 2: 2416
3: 1889 4: 1811 5: 1716 6: 1718 7: 1719 8: 1789 9: 1798 10: 1848 11: 1715
12: 1776 13: 1716 14: 1791 15: 2403 16: 2625 bogomips: 118420
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: PNY driver: nvidia
v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current
(as of 2022-07) arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 1f:00.0 chip-ID: 10de:1b80
class-ID: 0300
Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 96
size: 509x286mm (20.04x11.26") diag: 584mm (22.99") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 515.57
direct render: Yes
Audio:
Device-1: NVIDIA GP104 High Definition Audio vendor: PNY
driver: snd_hda_intel bus-ID: 1-7:6 v: kernel chip-ID: 1038:12ad pcie:
gen: 3 class-ID: 0300 speed: 8 GT/s lanes: 16 bus-ID: 1f:00.1
chip-ID: 10de:10f0 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 21:00.3 chip-ID: 1022:1457 class-ID: 0403
Device-3: SteelSeries ApS Arctis 7 type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.15.57-2-MANJARO running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 16.1 running: yes
Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 1b:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp27s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
modules: wl pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 1d:00.0
chip-ID: 8086:2725 class-ID: 0280
IF: wlp29s0 state: up mac: <filter>
Device-3: TP-Link Archer T4U ver.3 type: USB driver: rtl88x2bu
bus-ID: 3-1:4 chip-ID: 2357:0115 class-ID: 0000 serial: <filter>
IF: wlp32s0f3u1 state: down mac: <filter>
Drives:
Local Storage: total: 6.37 TiB used: 1.01 TiB (15.8%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10EZEX-00WN4A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
rev: 1A01 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD4
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 023 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Western Digital
model: WD10JPVX-22JC3T0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B type: HDD rpm: 5400 serial: <filter> scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: Western Digital model: WD
Elements 25A1 size: 3.64 TiB block-size: physical: 4096 B logical: 512 B
type: N/A serial: <filter> rev: 1014 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) used: 155.45 GiB
(17.0%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 280 KiB
(0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 43.2 C mobo: N/A gpu: nvidia temp: 40 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 32%
Info:
Processes: 399 Uptime: 6m wakeups: 0 Memory: 47 GiB used: 3.16 GiB (6.7%)
Init: systemd v: 251 default: graphical tool: systemctl Compilers:
gcc: 12.1.0 clang: 14.0.6 Packages: 1844 pacman: 1807 lib: 522 flatpak: 20
snap: 17 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.20
So to me it looks like the driver is installed, but the interface is still not working. Is there some command that I still need to run that I’ve missed? Please help me. This is driving me nuts and it’s not a long drive.