Can't install a DKMS module for a driver I need

Hello. Today I decided to try out Manjaro. To make it short I don’t have the router in my room so I use an USB WiFi adaptor from Realtek. The only issue is that the drivers won’t install. I already installed those drivers even on Arch Linux some time ago before I broke it.

I’m on kernel 5.15.60-1-MANJARO. I have already installed the headers.
It goes like


==> Creazione del pacchetto: rtl8812au-dkms-git 5.13.6.r129.g0fe44f8-1 (gio 1 set 2022, 19:51:58)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
  -> Aggiornamento del repository 8812au-20210629 git in corso...
  -> È stato trovato dkms.conf
==> Validazione di source file con sha256sums...
    8812au-20210629 ... Ignorato
    dkms.conf ... Verificato
==> Estrazione dei sorgenti in corso...
  -> Creazione di una copia di lavoro del repository 8812au-20210629 git in corso...
Ripristina il branch 'makepkg'
==> Avvio di pkgver() in corso...
==> ATTENZIONE: Già è stato creato un pacchetto, installazione del pacchetto esistente in corso...
==> Installazione del pacchetto rtl8812au-dkms-git con pacman -U in corso...
[sudo] password di lavaholed: 
caricamento dei pacchetti in corso...
attenzione: rtl8812au-dkms-git-5.13.6.r129.g0fe44f8-1 è aggiornato ma sarà reinstallato
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) rtl8812au-dkms-git-5.13.6.r129.g0fe44f8-1

Dimensione totale dei pacchetti da installare:  14,46 MiB
Dimensione netta dell'aggiornamento:             0,00 MiB

:: Vuoi procedere con l'installazione? [S/n] S
(1/1) verifica delle chiavi presenti nel porta...  [######################] 100%
(1/1) verifica dell'integrità dei pacchetti        [######################] 100%
(1/1) caricamento dei file dei pacchetti           [######################] 100%
(1/1) controllo dei conflitti in corso             [######################] 100%
(1/1) controllo dello spazio disponibile sul d...  [######################] 100%
:: Esecuzione degli hook di pre-transazione...
(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod rtl8812au/5.13.6.r129.g0fe44f8 -k 5.15.60-1-MANJARO
:: Elaborazione delle modifiche al pacchetto...
(1/1) reinstallazione rtl8812au-dkms-git           [######################] 100%
:: Esecuzione degli hook di post-transazione...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod rtl8812au/5.13.6.r129.g0fe44f8 -k 5.15.60-1-MANJARO
==> depmod 5.15.60-1-MANJARO

And then nothing. Nothing happens. It finishes the process but it does not say anything like “the driver has been installed yohoo”. As this seemed weird I did lsmod and in fact the driver was not installed.

Please I don’t want to stick with tethering USB for all my stay in Manjaro and I would like to keep using Manjaro until I completely remake all my computer with a motherboard that also haves UEFI and not just BIOS.

if you have already installed the proper headers remove the driver:
pamac remove rtl8812au-dkms-git
and install this one, which is supported:
pamac build rtl88xxau-aircrack-dkms-git
reboot

I can’t read italian but I think I can derive some things …

Perhaps it would be more helpful to you if you ran the build process by prefixing it with:

LANG=C

like this:
LANG=C pamac build xyz

Then the output would be in english and more people could read and understand.

This here:

indicates to me that the driver was installed already - and that you just successfully reinstalled it.

apparently it has been installed - re-installed, to be precise

It won’t be loaded unless you reboot or manually load the driver.

I tried and it did say that it succesfully installed it but in the end it did not work. I rebooted. I checked on lsmod and it wasn’t there.

reason is that I closed the previous terminal, I’m trying what brahma recommended me to do right now

no I said that it did not show anything like that

post output from:
inxi -xN
lsusb
pacman -Qs 'headers|dkms'

Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel port: e800
    bus-ID: 04:00.0
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 001 Device 002: ID 0806:0806 SJ-180517-N 1080P Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 320f:500e SONiX OMOTON MK201 Gaming Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c084 Logitech, Inc. G203 Gaming Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 005: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 0d8c:0012 C-Media Electronics, Inc. Sharkoon SKILLER SGH30
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
local/acl 2.3.1-2
    Access control list utilities, libraries and headers
local/dkms 3.0.6-1
    Dynamic Kernel Modules System
local/libcups 1:2.4.2-3
    The CUPS Printing System - client libraries and headers
local/linux-api-headers 5.18.15-1
    Kernel headers sanitized for use in userspace
local/linux515-headers 5.15.60-1
    Header files and scripts for building modules for Linux515 kernel
local/rtl88xxau-aircrack-dkms-git r1211.e7a4a39-1
    Aircrack-ng kernel module for Realtek 88XXau (USB adapters only) network cards (8811au, 8812au and 8821au chipsets) with monitor mode
    and injection support
local/vulkan-headers 1:1.3.221-1 (vulkan-devel)
    Vulkan header files
local/xorgproto 2022.2-1
    combined X. Org X11 Protocol headers

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

you formatted your first post so nicely …
we have installed the wrong drivers, so remove this:
pamac remove rtl88xxau-aircrack-dkms-git
install this:
pamac build rtl88x2bu-dkms-git
reboot

so this:

(1/1) reinstallazione rtl8812au-dkms-git

doesn’t mean:

(1/1) reinstalling rtl8812au-dkms-git

?

ok

I’ll be out of your hair now.

it does mean that, I mean that it did not say that the installation was completed, which I thought you had misunderstood

not literally, but implicitely

However - I’m out.

it worked!

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