Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

1. Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

Victor Pereira Sousa Pires
PeixeDoPix

(usa Arch Linux)

Enviado em 11/11/2022 - 17:09h

Boa tarde!

A placa de wifi do meu notebook é ruim, então comprei um adaptador USB wireless.
Eu consegui extrair os arquivos do cd, mas o wine não carrega o .exe para instalar os drivers.
Eu testei o adaptador no computador, depois da instalação dos drivers, no qual extrai os arquivos do cd e ele ligou uma luz azul (USB 2.0), coisa que não aconteceu no USB 3.0 e no USB 2.0 do notebook.
Não sei se devo desativar o adaptador de rede wifi atual para possibilitar o uso do adaptador, porém não sei como fazer tal no arch linux.


  


2. Re: Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

niquelnausea
niquelnausea

(usa Arch Linux)

Enviado em 12/11/2022 - 09:42h


qual o modelo desta tua placa? usar i wine para tentar instalar um drive em .exe não parece ser uma solução muito viável.
o comando lspci pode ajudar a descobrir qual o modelo da placa.


3. Re: Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2022 - 10:08h

-maioria adaptadores/wifi/usb que testei funcionaram automaticamente sem precisar driver proprietário
-bastava ir no gereneciador/redes e desativar wifi/rede do laptop



4. Re: Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

Paulo Jr
Pebis

(usa Debian)

Enviado em 12/11/2022 - 11:54h


Bem, pelas informações que você passou, faz assim:


5. lspci -v

Victor Pereira Sousa Pires
PeixeDoPix

(usa Arch Linux)

Enviado em 12/11/2022 - 12:23h


00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: skl_uncore
lspci: Unable to load libkmod resources: error -2

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 129
Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: medium devsel, IRQ 126
Memory at b1310000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b132a000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at b132b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at b132c000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 124
Memory at b1328000 (32-bit, non-prefetchable) [size=8K]
Memory at b132f000 (32-bit, non-prefetchable) [size=256]
I/O ports at 4080 [size=8]
I/O ports at 4088 [size=4]
I/O ports at 4060 [size=32]
Memory at b132d000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 3000-3fff [size=4K] [16-bit]
Memory behind bridge: b1200000-b12fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) (prog-if 00 [Normal decode])
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: b1000000-b11fffff [size=2M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0
Memory at b1324000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 32, IRQ 130
Memory at b1320000 (64-bit, non-prefetchable) [size=16K]
Memory at b1300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: medium devsel, IRQ 16
Memory at b132e000 (64-bit, non-prefetchable) [size=256]
I/O ports at 4040 [size=32]
Kernel driver in use: i801_smbus

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 125
Memory at b1205000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at b1210000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci

01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Subsystem: Acer Incorporated [ALI] Device 1193
Flags: bus master, fast devsel, latency 0, IRQ 16
I/O ports at 3000 [size=256]
Memory at b1204000 (64-bit, non-prefetchable) [size=4K]
Memory at b1200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
Subsystem: Lite-On Communications Inc Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 131
Memory at b1000000 (64-bit, non-prefetchable) [size=2M]
Capabilities: <access denied>
Kernel driver in use: ath10k_pci



6. Re: Como usar um adaptador usb wireless em um notebook (Arch Linux)? [RESOLVIDO]

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 12/11/2022 - 14:38h


Para a placa onboard vc pode criar um arquivo /etc/modprobe/athk.conf , adicionar a linha
options ath10k_core skip_otp=y
E reiniciar para ver se melhora. Para o adaptador usb vc precisar fornecer a saída de
lsusb -t


7. lsusb -t

Victor Pereira Sousa Pires
PeixeDoPix

(usa Arch Linux)

Enviado em 12/11/2022 - 17:40h

Consegui criar em /etc/modprobe.d/athk.conf , sem o ".d" não funcionava

lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 3: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 480M
|__ Port 5: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 5: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M

(Eu testei este adaptador em um notebook com windows 11 e funcionou, ligou a luz azul, ele desavita o wifi padrão automaticamente e ativa o do adaptador. No Arch linux, mesmo depois de usar esse comando, o adaptador não respondeu)

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b5f7 Chicony Electronics Co., Ltd HD WebCam
Bus 001 Device 003: ID 04ca:3015 Lite-On Technology Corp. Qualcomm Atheros QCA9377 Bluetooth
Bus 001 Device 006: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



8. A luz ligou!

Victor Pereira Sousa Pires
PeixeDoPix

(usa Arch Linux)

Enviado em 12/11/2022 - 18:08h

Com uso do comando que me disse, pesquisei sobre a linha que deixei em negrito e achei uma solução:

yay -Sy --noconfirm rtl88x2bu-dkms-git
yay -Sy --noconfirm rtl8814au-dkms-git
sudo modprobe 8812bu
sudo reboot

fonte: https://tutorialforlinux.com/2020/08/02/step-by-step-arch-linux-realtek-rtl8812bu-driver-installatio... 


Parece que o problema era no driver mesmo.
Valeu demais!






  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts