Wifi Adapter not working with some kernels

For some reason my usb wifi adapter only works on kernels that have the Real-Time tag on it, and I can’t figure out as of why.

  Kernel: 5.18.0-1-rt11-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.18-rt-x86_64
    root=UUID=110cd987-b31a-4a31-ae97-aaecf9d32a23 rw quiet
    cryptdevice=UUID=a60aab6e-e721-4172-a18c-60acb874d6ed:luks-a60aab6e-e721-4172-a18c-60acb874d6ed
    root=/dev/mapper/luks-a60aab6e-e721-4172-a18c-60acb874d6ed apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B250M Performance
    serial: <superuser required> UEFI: American Megatrends v: P2.30
    date: 02/23/2018
Battery:
  Device-1: ps-controller-battery-48:18:8d:69:d2:68 model: N/A serial: N/A
    charge: N/A status: discharging
Memory:
  RAM: total: 15.59 GiB used: 4.83 GiB (31.0%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 built: 2015 process: Intel 14nm family: 6 model-id: 0x5E (94)
    stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 800/4200 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 63999
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
    cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
    epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
    ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
    nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
    pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap
    smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave
    xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: XFX Pine driver: amdgpu v: kernel arch: GCN 4 process: GF 14nm
    built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports:
    active: DVI-D-1,HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0
    chip-ID: 1002:67df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3520x1080 s-dpi: 96 s-size: 930x285mm (36.61x11.22")
    s-diag: 973mm (38.29")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: bottom-r model: Dell S2009W
    serial: <filter> built: 2009 res: 1600x900 hz: 60 dpi: 92 gamma: 1.2
    size: 443x249mm (17.44x9.8") diag: 508mm (20") ratio: 16:9 modes:
    max: 1600x900 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: primary,top-left model: E231-B1
    serial: <filter> built: 2014 res: 1920x1080 hz: 60 dpi: 91 gamma: 1.2
    size: 534x311mm (21.02x12.24") diag: 618mm (24.3") ratio: 15:9 modes:
    max: 1360x768 min: 720x400
  OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 13.0.1 DRM 3.46
  5.18.0-1-rt11-MANJARO)
    v: 4.6 Mesa 22.1.1 direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASRock driver: snd_hda_intel
    bus-ID: 1-12:12 v: kernel bus-ID: 00:1f.3 chip-ID: 0c76:161e class-ID: 0300
    chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: XFX Pine driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-3: JMTek LLC. USB PnP Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Razer USA Barracuda X type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-5:4 chip-ID: 1532:0536
    class-ID: 0300
  Sound Server-1: ALSA v: k5.18.0-1-rt11-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.21 running: no
  Sound Server-4: PulseAudio v: 16.0 running: yes
  Sound Server-5: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB
    driver: r8188eu bus-ID: 1-4.4:15 chip-ID: 0bda:8179 class-ID: 0000
    serial: <filter>
  IF: wlp0s20f0u4u4 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: anbox0 state: down mac: <filter>
  IP v4: <filter> scope: global
  WAN IP: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 1-4.3:7 chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-a60aab6e-e721-4172-a18c-60acb874d6ed maj-min: 254:0
    type: LUKS dm: dm-0 size: 465.4 GiB
  Components:
  p-1: nvme0n1p5 maj-min: 259:5 size: 465.4 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.73 TiB used: 1.28 TiB (46.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T2B0C size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 211210WD temp: 50.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: 0001 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.4 GiB size: 457.03 GiB (98.20%)
    used: 295.05 GiB (64.6%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-a60aab6e-e721-4172-a18c-60acb874d6ed label: N/A
    uuid: 110cd987-b31a-4a31-ae97-aaecf9d32a23
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 27.4 MiB (28.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 54C3-B38F
  ID-3: /mnt/205CC9345CC9060E raw-size: 465.4 GiB size: 465.4 GiB (100.00%)
    used: 195.52 GiB (42.0%) fs: ntfs dev: /dev/nvme0n1p3 maj-min: 259:3
    label: N/A uuid: 205CC9345CC9060E
  ID-4: /mnt/sda1 raw-size: 1.36 TiB size: 1.34 TiB (98.35%)
    used: 820.23 GiB (59.7%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
    label: Manjextra uuid: dec99700-dee2-4175-9504-dac6ca16c47b
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 604 MiB fs: ntfs label: N/A
    uuid: 0C6EF57C6EF55F40
  ID-3: /dev/sda2 maj-min: 8:2 size: 466.03 GiB fs: ntfs label: Windextra
    uuid: 74CC35FBCC35B866
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-4:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-4.3:7
    info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0a12:0001 class-ID: e001
  Device-2: 1-4.4:15
    info: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: Network
    driver: r8188eu interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0bda:8179 class-ID: 0000 serial: <filter>
  Device-3: 1-5:4 info: Razer USA Barracuda X type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 1532:0536 class-ID: 0300
  Hub-3: 1-7:6 info: NEC HighSpeed Hub ports: 3 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 0409:005a class-ID: 0900
  Device-1: 1-7.3:10 info: SteelSeries ApS Merc Stealth type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 1038:0510 class-ID: 0300
  Device-2: 1-8:8 info: Logitech G502 Proteus Spectrum Optical Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c332 class-ID: 0300
    serial: <filter>
  Hub-4: 1-11:11 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 0bda:5411 class-ID: 0900
  Device-1: 1-11.3:13 info: Oculus VR Quest Headset type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 500mA
    chip-ID: 2833:0137 class-ID: 0000 serial: <filter>
  Device-2: 1-11.4:32 info: Samsung Galaxy A5 (MTP)
    type: Still Imaging,Abstract (modem),CDC-Data driver: cdc_acm interfaces: 4
    rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04e8:6860 class-ID: 0a00
    serial: <filter>
  Device-3: 1-12:12 info: JMTek LLC. USB PnP Audio Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 0c76:161e class-ID: 0300
  Hub-5: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 2-2:2 info: Genesys Logic hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 05e3:0616 class-ID: 0900
  Hub-7: 2-4:3 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 0bda:0411 class-ID: 0900
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: amdgpu temp: 55.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 776
Info:
  Processes: 366 Uptime: 6h 32m wakeups: 2 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 alt: 11
  clang: 13.0.1 Packages: 1606 pacman: 1586 lib: 418 flatpak: 9 snap: 11
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.19```

Had a similar problem with the same device. After the last upgrade, the usb wifi adapter stopped working. Downgrading to the 5.10 LTS kernel did the trick. Haven’t tried the RT kernels, though. Also no idea as to why this happened.

Hi @GoldenAJF
My 2 cents
Try install an LTS kernel and:

  1. linux-lts-headers
    Then reboot to the new kernel.
    Maybe after that if it didn’t work:
  2. broadcom-wl-dkms (that worked with me. I hope someone more experienced correct it if I am wrong, maybe different for your hardware)

Let me know if this helps.
Have a look at Internet connection is way too slow - #6 by limotux

Let me know if this helps.
Good luck.

I have similar problem with other model of realtek usb wifi, here is the solution that work in my case:

[Update to kernel 5.15 broke TP-LINK TL-wn727n wifi dongle driver]

Saludos
Mirko.-

Hi @GoldenAJF,
I wonder whether you could read this post, someone installed Manjaro on April 2021 and sent a probe to this page and you could find the information in order to solve your problem.
ASRock B250M Performance Desktop Computer

Regards,

5.18 kernels have not been playing well with usb wifi adapters. For me and my realtek 5.17 and down work fine.

AUR (en) - Packages Current list and none of them look to be updated in AUR.

Sorry for the late response, but for some reason I am not able to install some kernels. The ones that I can install are 5.18.0_rt, 5.18.5-1, 5.17.15, and 4.19.248. I already had 5.15.48, and 5.15.44_rt installed so I do not know if those will reinstall.

The error message I get for installing the others (besides for kernel numbers) are the same.

linux519
linux519-virtualbox-host-modules
linux519-headers

Starting
resolving dependencies...
looking for conflicting packages...
Packages (3) linux519-5.19rc1.220606.gf2906aa-1  linux519-headers-5.19rc1.220606.gf2906aa-1  linux519-virtualbox-host-modules-6.1.34-0.1
Total Download Size:   155.01 MiB
Total Installed Size:  274.09 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux519-5.19rc1.220606.gf2906aa-1-x86_64 downloading...
Errors occurred, no packages were upgraded.
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from repo.ialab.dsu.edu : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from mirror.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from manjaro.mirrors.lavatech.top : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from osmirror.org : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from mirror.zetup.net : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from mirror1.cl.netactuate.com : The requested URL returned error: 404
error: failed retrieving file 'linux519-5.19rc1.220606.gf2906aa-1-x86_64.pkg.tar.zst' from mirrors.colocall.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)


Done ...```

Use an up to date mirror and sync your database.

sudo pacman-mirrors -c Global && sudo pacman -Syyu

Then install kernels.

Although I don’t remember it being this way, the adapter does work with the latest LTS Kernel.
Is their any way to fix it for other kernels or do I just have to wait for support for the device?

If it does not work with newer kernels nothing you can do unless you can rewrite the driver. I dropped links of the drivers and they have not been updated in sometime in the AUR.

Alright, well thanks for the help though.