USB Adapter Issues (D-Link DWA-181 AC1300 USB 2.0 adapter)

Hey all! I’m having issues with the AC1300 D-Link DWA-181 USB adapter, and I’m completely lost on how to make it work with my Manjaro system. (The adapter in question is a Wi-Fi/Bluetooth combo adapter.)

What do I need to provide to get started to make the USB work on my system? Anything else I need to provide? (This is my first ever post, so I could use some help. Pardon my inexperience!)

Here’s what I know about my system:
Manjaro Distribution: with KDE
Current Kernel: 515-realtime

Hi, Ham!
Welcome to community!

Have already read the How to provide good information?

1 Like

I have not, alven - sorry. Now that I know, I’m sending the info here.

I have an idea that my USB adapter requires the RTL8822b drivers. What’s next from here?

Kernel: 5.15.2-1-rt19-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-rt-x86_64
root=UUID=dfb514c6-d2d6-480f-a685-c89aac903652 rw quiet apparmor=1
security=apparmor resume=UUID=9dbec843-89f5-47a4-8efa-435eb5ad21ec
Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Type: Laptop System: LENOVO product: 4334 v: Lenovo G570
serial: <superuser required>
Mobo: LENOVO model: N/A serial: <superuser required> BIOS: LENOVO
v: 40CN32WW(V2.18) date: 05/11/2012
ID-1: BAT1 charge: 30.2 Wh (100.0%) condition: 30.2/40.0 Wh (75.6%)
volts: 12.2 min: 11.1 model: LG PABAS024 type: Li-ion serial: <filter>
status: Unknown
RAM: total: 7.71 GiB used: 3.27 GiB (42.4%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
Info: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP
arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F
cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB bogomips: 19956
Speed: 1353 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 2177 2: 1911
3: 2716 4: 2627
Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est
flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce md_clear
mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
pebs pge pln pni popcnt pse pse36 pti pts rdtscp rep_good sep ssbd sse sse2
sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_deadline_timer
vme vmx vnmi vpid x2apic xsave xsaveopt 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 and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0126
class-ID: 0300
Device-2: Chicony Lenovo EasyCamera type: USB driver: uvcvideo
bus-ID: 2-1.6:3 chip-ID: 04f2:b272 class-ID: 0e02
Display: x11 server: X.Org compositor: kwin_x11 driver:
loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2)
v: 3.3 Mesa 21.2.5 compat-v: 3.0 direct render: Yes
Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1c20 class-ID: 0403
Sound Server-1: ALSA v: k5.15.2-1-rt19-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.40 running: yes
Device-1: Qualcomm Atheros AR8152 v2.0 Fast Ethernet vendor: Lenovo
driver: atl1c v: kernel port: 2000 bus-ID: 01:00.0 chip-ID: 1969:2062
class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Lenovo
driver: ath9k v: kernel bus-ID: 02:00.0 chip-ID: 168c:002b class-ID: 0280
IF: wlp2s0 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: temporary dynamic scope: global
IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Message: No bluetooth data found.
Message: No logical block device data found.
Message: No RAID data found.
Local Storage: total: 465.76 GiB used: 25.45 GiB (5.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST9500325AS
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: LVM1 scheme: MBR
Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GT50N rev: LC01
dev-links: N/A
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
ID-1: / raw-size: 458.13 GiB size: 449.87 GiB (98.20%)
used: 25.45 GiB (5.7%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: Manjaro
uuid: dfb514c6-d2d6-480f-a685-c89aac903652
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 7.63 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 9dbec843-89f5-47a4-8efa-435eb5ad21ec
Message: No unmounted partitions found.
Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
Device-1: 1-1.4:3 info: Realtek RTS5139 Card Reader Controller
type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0139
class-ID: ff00 serial: <filter>
Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
Device-1: 2-1.6:3 info: Chicony Lenovo EasyCamera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 320mA
chip-ID: 04f2:b272 class-ID: 0e02
System Temperatures: cpu: 41.0 C mobo: N/A
Fan Speeds (RPM): N/A
Processes: 243 Uptime: 1h 18m wakeups: 1 Init: systemd v: 249
tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1362 lib: 371
flatpak: 0 Shell: Zsh v: 5.8 default: Bash v: 5.1.8 running-in: yakuake
inxi: 3.3.09

Update: Found the drivers, but make says that net/ipx.h is missing. What does that mean?

Is kernel-headers installed?

1 Like

Install the appropriate kernel headers and DKMS. It looks like the driver needed is
rtl88x2bu-dkms-git 5.13.1.r149.7f96b19-1.

After you install the appropriate kernel headers and dkms ( it’s a dependency and will install if you have not already), in terminal:

pamac build rtl88x2bu-dkms-git

More information in readme here:

AUR page:

1 Like