tplink AC300 WIFI adapter driver problem

tplink AC300 WIFI adapter driver problem

tplink AC300 WIFI adapter driver problem
tplink AC300 WIFI adapter driver problem
17 hours ago
Model: Adapter  
Hardware Version:
Firmware Version:

Hi, I have bought a wifi USB adapter Tplink AC300 with Archer T1XU. I've downladed driver source code from tplink web site and I've compiled them with make command but I got these error messages:

...
/home/stepet/tplink/aic8800_linux_driver/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1057:30: error: ‘struct wireless_dev’ has no member named ‘mtx’
 1057 |         mutex_lock(&vif->wdev.mtx);
 ...
etc.
 
and many other warnings.

Can you help me?

Thanks, S.P

  0      
  0      
#1
Options
9 Reply
Re:tplink AC300 WIFI adapter driver problem
14 hours ago

  @stepet 

 

Hi,

 

TP-Link's driver download webpage states "For Linux Kernel 3.10 - 6.2.".

 

Is your kernel version within that range?

 

  0  
  0  
#2
Options
Re:tplink AC300 WIFI adapter driver problem
12 hours ago

  @woozle , kernel of my system is Linux 6.11.0-17-generic, then it is not in the range Linux Kernel 3.10 - 6.2. Does updated version exist? Thank you, S.P.

  0  
  0  
#3
Options
Re:tplink AC300 WIFI adapter driver problem
10 hours ago

  @stepet 

 

Not from TP-Link directly, but you can try a driver that is maintained by the Linux community.

 

I suggest you try this one: https://github.com/shenmintao/aic8800dc

This driver works fine for me under kernel 6.14 with a no-name Wi-Fi adapter that also uses the AIC8800 chip. There will still be warnings shown when you "make" the driver, but these can be ignored.

 

  0  
  0  
#4
Options
Re:tplink AC300 WIFI adapter driver problem
9 hours ago

  @woozle , I have loaded from https://github.com/shenmintao/aic8800dc, I've followed instructions and installed driver but the adapter does not work (system does not "see" it). Maybe I made some mistakes. Any other advice? Anyway thank you very much.

  0  
  0  
#5
Options
Re:tplink AC300 WIFI adapter driver problem
9 hours ago

actually, executing lsusb I see

 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 03f0:734a HP, Inc HP 250 USB Mouse Receiver
Bus 001 Device 004: ID 0408:548f Quanta Computer, Inc. HP True Vision HD Camera
Bus 001 Device 005: ID 7392:c611 Edimax Technology Co., Ltd Edimax Bluetooth Adapter
Bus 001 Device 006: ID 0e8d:1ede MediaTek Inc. Wireless_Device
Bus 001 Device 007: ID 3625:0110 AICSemi AIC8800DC
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 

then system see the adapter, but executing ip a, I get

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enx08beac465387: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 08:be:ac:46:53:87 brd ff:ff:ff:ff:ff:ff
    inet 192.168.44.146/24 brd 192.168.44.255 scope global dynamic noprefixroute enx08beac465387
       valid_lft 1984sec preferred_lft 1984sec
    inet6 fe80::8199:682:bd31:4f74/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

 

without any wlan device. Where I make mistake?

  0  
  0  
#6
Options
Re:tplink AC300 WIFI adapter driver problem
9 hours ago

  @stepet 

 

Please look up the device "ID" of the TP-Link AX300 by using the lsusb command and post it here. If your AX300 is not shown as "AICSemi AIC8800DC", then try to find out which one of the devices in the list most likely resembles your TP-Link AX300.

 

Also, with the "Bus" and "Device" numbers shown by lsusb for the TP-Link AX300 you can determine whether the driver has actually been loaded by using the lsusb -t command. (your Bus and Device numbers will be different than the ones shown in the picture)

 

  0  
  0  
#7
Options
Re:tplink AC300 WIFI adapter driver problem
8 hours ago

  @stepet 

 

Please also run the command lsusb -t to check if the driver is loaded for Bus 001 Device 007. (i.e. "Driver=aic8800_fdrv")

 

 

  0  
  0  
#8
Options
Re:tplink AC300 WIFI adapter driver problem
8 hours ago

  @woozle 

executing lsusb I see

 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 03f0:734a HP, Inc HP 250 USB Mouse Receiver
Bus 001 Device 004: ID 0408:548f Quanta Computer, Inc. HP True Vision HD Camera
Bus 001 Device 005: ID 7392:c611 Edimax Technology Co., Ltd Edimax Bluetooth Adapter
Bus 001 Device 006: ID 0e8d:1ede MediaTek Inc. Wireless_Device
Bus 001 Device 007: ID 3625:0110 AICSemi AIC8800DC
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 

then lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 002: Dev 007, If 0, Class=Vendor Specific Class, Driver=[none], 480M
    |__ Port 003: Dev 004, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 003: Dev 004, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 003: Dev 004, If 2, Class=Application Specific Interface, Driver=[none], 480M
    |__ Port 004: Dev 005, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 004: Dev 005, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 010: Dev 006, If 0, Class=Wireless, Driver=btusb, 480M
    |__ Port 010: Dev 006, If 1, Class=Wireless, Driver=btusb, 480M
    |__ Port 010: Dev 006, If 2, Class=Wireless, Driver=btusb, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M

 

 

  0  
  0  
#9
Options
Re:tplink AC300 WIFI adapter driver problem
8 hours ago - last edited 8 hours ago

  @stepet 

 

That means there is no driver loaded.

 

Have you already re-plugged or rebooted Linux since you installed the driver? If not, then please see if that changes anything.

 

Other than that you could contact the maintainer of the driver via the "Issues" tab and kindly ask him if he can add support for your ID 3625:0110 into his driver.

  0  
  0  
#10
Options