我最近购买了 TP-Link WN822Nv4 (EU) 适配器,因为我的板载适配器似乎工作得不太好(信号强度低,我的手机速度是它的 10 倍),但我无论如何也想不出如何让它工作。我尝试在网站上搜索类似的东西(例如这和这,第二个报告了某种错误),但它们似乎都不起作用。如果有关系的话,我的笔记本电脑是 HP Pavilion G6-2002SM。
输出lsusb
(我认为设备 004 是适配器):
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
版本:
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)
我不太熟悉 Linux 上的故障排除,所以我不知道如何解决这个问题。有什么建议吗?
答案1
我没有注意到内核版本,你可以更新到 4.4
sudo apt-get install linux-generic-lts-xenial
我们需要删除其中一个 dkms 安装,因为我不确定 Pilot6 是否更新了他的 Trusty PPA
sudo dkms remove rtl8192eu/4.3.1.1.11320.20140505~trusty1 --all
sudo dkms remove 8192cu/1.10 --all
重启
然后我们可以安装 git 和 build-essential
sudo apt-get install git build-essential
然后我们可以克隆Mange的github代码
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
然后使用 dkms 添加它
sudo dkms add ./rtl8192eu-linux-driver
然后安装
sudo dkms install -m rtl8192eu -v 1.0
重启
Mange 的代码将支持你的设备,因为 6 个月前进行了提交
+ /===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