lwfinger/rtl8852au

No driver for TP-Link AX1800/Archer TX20U

nukul4r opened this issue · 12 comments

Hi,

thanks for the repo and you efforts. I recently bought TP-Link AX1800, which I cannot get working. I installed the driver via https://aur.archlinux.org/packages/rtl8852au-dkms-git.

It seems to be a relatively new model or revision, and uses RTL8832AU (according to this source: https://geizhals.de/tp-link-ax1800-archer-tx20u-a3154504.html#data, the official website does not mention the chip: https://www.tp-link.com/de/support/download/archer-tx20u).

My USB ID is not matching the ones you mention for this model, lsusb gives me

Bus 005 Device 005: ID 35bc:0100 Realtek 802.11ac WLAN Adapter

whereas you mention the IDs 2357:013f and 2357:0141.

Looking at inxi -Fxz, it shows up as network device, but the driver is missing (see Device-2):

Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK RTL8111H driver: r8169 v: kernel port: f000 bus-ID: 04:00.0
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Realtek 802.11ac WLAN Adapter driver: N/A type: USB
    bus-ID: 5-2:5

I also made sure it's not mounted as storage, I did sudo usb_modeswitch -J -v 35bc -p 0100, and it returned:

Look for default devices ...
 Found devices in default mode (1)
Access device 005 on bus 005
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort

Another interesting point is, that it's named 802.11ac, however it should be an ax device.

Do you have an idea what I can try, or is it just that the stick is not supported (yet)? Any help is appreciated, I can still return it though, if there is nothing to be done. Thanks a lot!

I added that USB ID to the driver. Do a 'git pull', 'make' and 'sudo make install'. After you reboot or unload and reload 8852au, the device should work.

Note that the VID of 0x35bc is for TP-Link Shenzen Internaltional.

The name is merely encoded in the ROM on the device. The fact that it says 802.11ac rather than 802.11ax is probably not important, just an error in encoding.

Hi,

thanks for you quick reply and the fix. Unfortunately, the driver is still not loading, If there's any info I can provide you with, please let me know. Thanks again for your efforts!

Run the command 'sudo dmesg > dmesg.txt' and attach dmesg.txt to this issue.

Appreciate the help, here's the file:

dmesg.txt

The log shows no attempt to load the device. Your lsusb output shows that the modeswitch has been done and that the storage device has been unloaded. I rechecked the patch to add this device and found it to be correct.

The USB bus scan finds it, but does nothiing beyond that. One thing that bothers is that your log shows

[ 3.518656] usb 1-8: New USB device found, idVendor=35bc, idProduct=0100, bcdDevice= 0.00

The bcdDevice value says that it is using USB 0.00. I would have expected 1.10, 2.00, or 3.00. I have no idea what the USB core routines would do with that. What kind of USB port are you using? Have you tried a different port.

As we know that the device shows errors in the ROM programming, perhaps this is just another.

Thanks for your analysis, when I logged the dmesg output, it was a front USB port, since I tried moving it around already. I did another dump using a USB 3 port on the mainboard, however it still says

[    3.125995] usb 5-1: New USB device found, idVendor=35bc, idProduct=0100, bcdDevice= 0.00

dmesg.txt

I am grasping at straws now. Please run the command 'lsusb > lsusb.txt' and post lsusb.txt. That will show what else might be wrong in the ROM on the device.

Here you go, thanks for your continued effort, I really appreciate it. Don't worry too much, if the stick doesn't work, I can still return it.

lsusb.txt

I screwed up. You should have done 'lsusb -v > lsusb.txt' and posted lsusb.txt.

Sorry for the late reply!

lsusb.txt

Unfortunately, I did not see any problems there. If you still can, I think you should return the device.

The only Wifi 6 device I have is a BrosTrend AX1800, which has an RTW8852BU chip. It works with https://github.com:lwfinger/rtl8852bu.git.

Ok, no worries, thanks again for your effort! Will have a look at the drivers before I buy the next one ;)