Rtl8821cu wifi (DWA-171eu c1) - is not detected

inserting the usb key dwa-171eu series c1 is not detected, tried to install some drivers from aur
rtl8812au-20210629-dkms-git
And
rtl8812au-dkms-git
but I can't see it

System:
Kernel: 5.16.4-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a8648e1b-5150-45d3-94da-1ae02ea414d9 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Hewlett-Packard product: HP Compaq Elite 8300 SFF
v: N/A serial: <superuser required> Chassis: type: 4
serial: <superuser required>
Mobo: Hewlett-Packard model: 3397 serial: <superuser required>
UEFI: Hewlett-Packard v: K01 v02.98 date: 03/18/2015
CPU:
Info: model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
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: 3310 high: 3848 min/max: 1600/3900 scaling:
driver: intel_cpufreq governor: performance cores: 1: 3726 2: 3807 3: 3796
4: 3397 5: 1766 6: 2349 7: 3797 8: 3848 bogomips: 54273
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
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: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Micro-Star MSI
driver: nvidia v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:1c81 class-ID: 0300
Device-2: Sunplus Innovation HD 720P webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.6.1:6 chip-ID: 1bcf:2701
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.9x11.9")
s-diag: 610mm (24")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1e20 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9
class-ID: 0403
Device-3: Sunplus Innovation HD 720P webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.6.1:6 chip-ID: 1bcf:2701
class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.16.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.44 running: yes
Network:
Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard
driver: e1000e v: kernel port: f020 bus-ID: 00:19.0 chip-ID: 8086:1502
class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 1-1.2:3 chip-ID: 0a12:0001 class-ID: fe01
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 588.73 GiB used: 11.14 GiB (1.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sdb maj-min: 8:16 vendor: Intenso model: SSD SATAIII
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 4A0 scheme: GPT
ID-2: /dev/sdd maj-min: 8:48 vendor: Silicon Power
model: SPCC Solid State Disk size: 111.79 GiB block-size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: V3.3
scheme: GPT
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 11.14 GiB (2.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 11.14 GiB (2.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 11.14 GiB (2.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 11.14 GiB (2.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.57 GiB used: 2.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 41 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 43%
Info:
Processes: 313 Uptime: 36m wakeups: 0 Memory: 15.57 GiB
used: 3.6 GiB (23.1%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 Packages: pacman: 1417 lib: 338 Shell: fish v: 3.3.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.12
Garuda (2.5.3-1):
System install date:     2022-01-31
Last full system update: 2022-01-31
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

Please include some more information about what exactly is the problem you're experiencing.

3 Likes

Maybe you could try with this one in the AUR (see description)

1 Like

Tried with Paru to install these drivers but it gives me an error

CC [M] /home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta/os/linux/../../common/crypt_arc4.o
CC [M] /home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta/os/linux/../../common/mlme.o
/home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta/os/linux/../../common/mlme.c:29:10: fatal error: stdarg.h: File o directory non esistente
29 | #include <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:287: /home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta/os/linux/../../common/mlme.o] Errore 1
make[1]: *** [Makefile:1841: /home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta/os/linux] Errore 2
make[1]: uscita dalla directory «/usr/lib/modules/5.16.4-zen1-1-zen/build»
make: *** [Makefile:394: LINUX] Errore 2
make: uscita dalla directory «/home/roberto/.cache/paru/clone/mt7610u_wifi_sta-git/src/mt7610u_wifi_sta»
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
errore: compilazione fallita per 'mt7610u_wifi_sta-git-1-1':
errore: compilazione fallita per i seguenti pacchetti: mt7610u_wifi_sta-git-1-1

There’s a recent comment about it

I was able to get around it by cloning the git and manually compiling it after patching the offending file to include GCC’s stdarg.h by full path

Although it’s not clear to me how to get that patching file from GCC…

1 Like

Please post:

 lsusb | grep -i wl
3 Likes

lsusb | grep -i wl
this command gives me an error

The error is grep not finding the string wl in the output of lsusb.

2 Likes

Which error?

╭─sgs@y7p in ~ took 3ms
╰─> lsusb | grep -i wl

╭─sgs@y7p in ~ took 4ms
[🔴] ×

Just empty.

roberto@roberto in ~
λ lsusb | grep -i wl

roberto@roberto in ~ took 9ms
[[:heavy_check_mark:]|[:red_circle:]] => :red_circle:ERROR ×

Simply post lsusb, that will give much more output, but it shouldn't error out.

1 Like
roberto@roberto in ~
λ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 1bcf:2701 Sunplus Innovation Technology Inc. HD 720P webcam
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 2001:331d D-Link Corp. DWA-171
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 145f:024b Trust Trust Wired Keyboard
Bus 003 Device 006: ID 03f0:7a11 HP, Inc Photosmart B109
Bus 003 Device 005: ID 13fd:1640 Initio Corporation INIC-1610L SATA Bridge
Bus 003 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 002: ID 1bcf:08a0 Sunplus Innovation Technology Inc. Gaming mouse [Philips SPK9304]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Please use in first and last line three ~ , give a readable, raw look

The series C of your wifi model likely requires this driver:

You will want to build this driver on the linux-lts kernel.

3 Likes

Ok thanks this worked for me
Thanks to the Garuda team

1 Like

Glad to see that worked for you, and welcome to the Garuda community. :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.