Problema no Xubuntu 14.04 com TP-Link WN822Nv4

0

Eu obtive recentemente o adaptador TP-Link WN822Nv4 (EU) porque o meu adaptador de bordo não parece funcionar muito bem (baixa intensidade de sinal, meu telefone recebe 10x a velocidade), mas não posso para a vida de mim descobrir como fazer isso funcionar. Eu tentei procurar no site por coisas semelhantes (como isso e isto , o segundo reportou algum tipo de erro), mas nenhum deles parece funcionar. Meu laptop é um HP Pavilion G6-2002SM, se for importante.

Saída de lsusb (o dispositivo 004 é o adaptador que eu acho):

Bus 004 Device 003: ID 04f2:b2f4 Chicony Electronics Co., Ltd 
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 2357:0108  
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Versão:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

uname -a :

Linux bloop 3.19.0-42-generic #48~14.04.1-Ubuntu SMP Fri Dec 18 10:24:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lshw -C network :

*-network               
   description: Network controller
   product: BCM4313 802.11bgn Wireless Network Adapter
   vendor: Broadcom Corporation
   physical id: 0
   bus info: pci@0000:07:00.0
   version: 01
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list
   configuration: driver=bcma-pci-bridge latency=0
   resources: irq:16 memory:c3500000-c3503fff
*-network
   description: Ethernet interface
   product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:08:00.0
   logical name: eth0
   version: 05
   serial: 80:c1:6e:60:1c:38
   size: 10Mbit/s
   capacity: 100Mbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8105e-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
   resources: irq:27 ioport:3000(size=256) memory:c3404000-c3404fff memory:c3400000-c3403fff
 *-network
   description: Wireless interface
   physical id: 2
   logical name: wlan0
   serial: c0:18:85:1b:0d:21
   capabilities: ethernet physical wireless
   configuration: broadcast=yes driver=brcmsmac driverversion=3.19.0-42-generic firmware=610.812 ip=10.40.101.111 link=yes multicast=yes wireless=IEEE 802.11bgn

dkms status :

8192cu, 1.10, 3.19.0-42-generic, x86_64: installed
rtl8192eu, 4.3.1.1.11320.20140505~trusty1: added

lspci :

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)

Não estou muito familiarizado com a solução de problemas no Linux, por isso não consigo descobrir como resolver o problema. Algum conselho?

    
por blueshift 22.01.2017 / 18:34

1 resposta

1

Eu não percebi a versão do kernel, para atualizar para 4.4 você pode

sudo apt-get install linux-generic-lts-xenial

Precisamos nos livrar de uma das instalações do dkms, pois não tenho certeza se o Pilot6 atualizou seu PPA para a Trusty

sudo dkms remove rtl8192eu/4.3.1.1.11320.20140505~trusty1 --all
sudo dkms remove 8192cu/1.10 --all
Reinicie

Então podemos instalar o git e o build-essential

sudo apt-get install git build-essential

Em seguida, podemos clonar o código github de Mange

git clone https://github.com/Mange/rtl8192eu-linux-driver.git

Em seguida, use dkms para adicioná-lo sudo dkms add ./rtl8192eu-linux-driver

Em seguida, instale

sudo dkms install -m rtl8192eu -v 1.0

Reinicie

O código da Mange suportará seu dispositivo por causa de um commit feito há 6 meses

+    /===TPLINK ID===========/
 +  {USB_DEVICE(0x2357, 0x0107),.driver_info = RTL8192E}, /* TP-Link - Cameo /
 +  {USB_DEVICE(0x2357, 0x0108),.driver_info = RTL8192E}, / TP-Link - Cameo /
 +  {USB_DEVICE(0x2357, 0x0109),.driver_info = RTL8192E}, / TP-Link - Cameo */
  #endif
  
    
por Jeremy31 22.01.2017 / 18:47