User avatar
iEuropa
Posts: 3
Joined: Wed Jul 08, 2020 9:52 pm

Driver for TP-LINK ARCHER T3U WiFi adapter

Wed Jul 08, 2020 10:12 pm

Hello to the community and hopefully hello MrEngman for yet another wifi driver request! :)

Im writing this post here because I recently bought a TP-LINK archer T3U Plus (the plus variant adds an antenna so its basically the same as the T3U, same chip inside) to add AC connectivity to my raspberry pi 3 B+. I have been following the tutorials here and there for a couple hours now but the driver that are available on fars-robotics.net dont seem to be recognizing the vendor ID and/or the product ID to install the proper driver.

I was wondering if you could add the adapter to the list in your drivers and hopefully recompile it :) here are the informations you may need for this:

TP-LINK archer T3U
Realtek RTL8812BU
idVendor 2357
idProduct 0138
Raspberry Pi 3 B+ on kernel revision 5.4.0-v7+ build 1324

Dont hesitate to reply with any additional information you may need! :D

Cheers,
iEuropa

MrEngman
Posts: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Thu Jul 09, 2020 3:53 pm

iEuropa wrote:
Wed Jul 08, 2020 10:12 pm
Hello to the community and hopefully hello MrEngman for yet another wifi driver request! :)

Im writing this post here because I recently bought a TP-LINK archer T3U Plus (the plus variant adds an antenna so its basically the same as the T3U, same chip inside) to add AC connectivity to my raspberry pi 3 B+. I have been following the tutorials here and there for a couple hours now but the driver that are available on fars-robotics.net dont seem to be recognizing the vendor ID and/or the product ID to install the proper driver.

I was wondering if you could add the adapter to the list in your drivers and hopefully recompile it :) here are the informations you may need for this:

TP-LINK archer T3U
Realtek RTL8812BU
idVendor 2357
idProduct 0138
Raspberry Pi 3 B+ on kernel revision 5.4.0-v7+ build 1324

Dont hesitate to reply with any additional information you may need! :D

Cheers,
iEuropa
Hi iEuropa,

I have updated the driver I compile to include the USB ID for the Archer T3U Plus you have. I assume the kernel you are using is actually 5.4.50-v7+ build 1324, not 5.4.0-v7+ as you posted.

I do not have one of these wifi dongles so cannot test the driver works with it. Let me know how you get on with it.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
iEuropa
Posts: 3
Joined: Wed Jul 08, 2020 9:52 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Thu Jul 09, 2020 4:21 pm

Hello,

EDIT: The AP have been setup and tested working perfectly :) Kind of an overkill since it's limited to 100 Mbps from the Ethernet port but still way better than nothing hey? :D

I can confirm that the driver is properly usable on my Raspberry and works :) I am gonna do further testing throughout the day, try to setup an AP with the adapter and I will come back to you if I find anything not working or if I successfully managed to run all my tests :)

Thank you a million times!!

Cheers,
iEuropa

rasperrylove
Posts: 13
Joined: Wed Dec 04, 2019 4:28 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Mon Oct 12, 2020 10:31 pm

iEuropa wrote:
Thu Jul 09, 2020 4:21 pm
Hello,

EDIT: The AP have been setup and tested working perfectly :) Kind of an overkill since it's limited to 100 Mbps from the Ethernet port but still way better than nothing hey? :D

I can confirm that the driver is properly usable on my Raspberry and works :) I am gonna do further testing throughout the day, try to setup an AP with the adapter and I will come back to you if I find anything not working or if I successfully managed to run all my tests :)

Thank you a million times!!

Cheers,
iEuropa
Hello!

Can you say me where do you find the driver?

Thanks!!

MrEngman
Posts: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Mon Oct 12, 2020 11:05 pm

rasperrylove wrote:
Mon Oct 12, 2020 10:31 pm
iEuropa wrote:
Thu Jul 09, 2020 4:21 pm
Hello,

EDIT: The AP have been setup and tested working perfectly :) Kind of an overkill since it's limited to 100 Mbps from the Ethernet port but still way better than nothing hey? :D

I can confirm that the driver is properly usable on my Raspberry and works :) I am gonna do further testing throughout the day, try to setup an AP with the adapter and I will come back to you if I find anything not working or if I successfully managed to run all my tests :)

Thank you a million times!!

Cheers,
iEuropa
Hello!

Can you say me where do you find the driver?

Thanks!!
Take a look here


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rasperrylove
Posts: 13
Joined: Wed Dec 04, 2019 4:28 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Mon Oct 12, 2020 11:22 pm

MrEngman wrote:
Mon Oct 12, 2020 11:05 pm
rasperrylove wrote:
Mon Oct 12, 2020 10:31 pm
iEuropa wrote:
Thu Jul 09, 2020 4:21 pm
Hello,

EDIT: The AP have been setup and tested working perfectly :) Kind of an overkill since it's limited to 100 Mbps from the Ethernet port but still way better than nothing hey? :D

I can confirm that the driver is properly usable on my Raspberry and works :) I am gonna do further testing throughout the day, try to setup an AP with the adapter and I will come back to you if I find anything not working or if I successfully managed to run all my tests :)

Thank you a million times!!

Cheers,
iEuropa
Hello!

Can you say me where do you find the driver?

Thanks!!
Take a look here


MrEngman
WOw, great!!!

Thank you my friend!!! ^^

krolikbest
Posts: 11
Joined: Wed Jan 04, 2017 6:58 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Mon Oct 26, 2020 2:58 pm

Hi,

I just bought it too and provided link makes me a little confused.. Which one of these files should I install? Any help would it be appreciated. I use RPi 3B+ Stretch

Regards,


Ok, already get it :)

CC2099
Posts: 3
Joined: Sat Nov 18, 2017 5:58 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Sun Nov 22, 2020 2:31 pm

MrEngman, I downloaded 8822bu for my kernel from fars-robotics.net but it doesn't look like it has support for 2357:0138 built into it:

Code: Select all

root@raspberrypi:~ # modinfo 8822bu
filename:       /lib/modules/4.19.118-v7+/kernel/drivers/net/wireless/8822bu.ko
version:        v5.3.1_27678.20180430_COEX20180427-5959
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     EB4F2C34E0AD3968F852FD0
alias:          usb:v13B1p0043d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2001p331Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9055d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0025d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p012Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0115d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p331Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p184Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pB822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApB812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApB82Cd*dc*dsc*dp*icFFiscFFipFFin*
depends:        cfg80211
name:           8822bu
vermagic:       4.19.118-v7+ SMP mod_unload modversions ARMv7 p2v8 

When I connect my Archer T3U Plus (AC1300) nothing happens:

Code: Select all

root@raspberrypi:~ # dmesg -c
[   75.996404] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[   76.127579] usb 1-1.2: New USB device found, idVendor=2357, idProduct=0138, bcdDevice= 2.10
[   76.127593] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   76.127602] usb 1-1.2: Product: 802.11ac NIC
[   76.127611] usb 1-1.2: Manufacturer: Realtek
[   76.127620] usb 1-1.2: SerialNumber: 123456

Code: Select all

root@raspberrypi:~ # modprobe 8822bu
root@raspberrypi:~ # dmesg
[  128.286201] 8822bu: loading out-of-tree module taints kernel.
[  128.456186] usbcore: registered new interface driver rtl88x2bu
I assume you only added support for one specific kernel module? Could you please recompile for 4.19.118-v7 ... and v7l ?

Thanks,

Caleb

MrEngman
Posts: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Sun Nov 22, 2020 6:37 pm

CC2099 wrote:
Sun Nov 22, 2020 2:31 pm
MrEngman, I downloaded 8822bu for my kernel from fars-robotics.net but it doesn't look like it has support for 2357:0138 built into it:

Code: Select all

root@raspberrypi:~ # modinfo 8822bu
filename:       /lib/modules/4.19.118-v7+/kernel/drivers/net/wireless/8822bu.ko
version:        v5.3.1_27678.20180430_COEX20180427-5959
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     EB4F2C34E0AD3968F852FD0
alias:          usb:v13B1p0043d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2001p331Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9055d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0025d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p012Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0115d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p331Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p184Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pB822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApB812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApB82Cd*dc*dsc*dp*icFFiscFFipFFin*
depends:        cfg80211
name:           8822bu
vermagic:       4.19.118-v7+ SMP mod_unload modversions ARMv7 p2v8 

When I connect my Archer T3U Plus (AC1300) nothing happens:

Code: Select all

root@raspberrypi:~ # dmesg -c
[   75.996404] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[   76.127579] usb 1-1.2: New USB device found, idVendor=2357, idProduct=0138, bcdDevice= 2.10
[   76.127593] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   76.127602] usb 1-1.2: Product: 802.11ac NIC
[   76.127611] usb 1-1.2: Manufacturer: Realtek
[   76.127620] usb 1-1.2: SerialNumber: 123456

Code: Select all

root@raspberrypi:~ # modprobe 8822bu
root@raspberrypi:~ # dmesg
[  128.286201] 8822bu: loading out-of-tree module taints kernel.
[  128.456186] usbcore: registered new interface driver rtl88x2bu
I assume you only added support for one specific kernel module? Could you please recompile for 4.19.118-v7 ... and v7l ?

Thanks,

Caleb
Driver now updated. Your wifi is already supported in newer kernel versions 5.4, 5.9 and 5.10.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

CC2099
Posts: 3
Joined: Sat Nov 18, 2017 5:58 pm

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Tue Nov 24, 2020 6:58 pm

Wow. That was fast. Thank you very much! The adapter seems to work fine. Do you know anything about the HALMAC errors that are displayed in dmesg when the rtw_drv_log_level parameter in the config file is set to 2?

Code: Select all

  0 = NONE (default)
  1 = ALWAYS
  2 = ERRORS
  3 = WARNINGS
  4 = INFO
  5 = DEBUG
  6 = MAX
For example:
RTW: ERROR [HALMAC][ERR]Dump efuse in suspend

I also see informational messages like:
RTW: rtw_set_802_11_connect(wlan1) fw_state=0x00000000

and warning messages like:
RTW: WARN hw_port0_tsf_sync_sel(wlan1): port0 already disable TSF sync

I assume rtw_drv_log_level is set to 0 because the driver is logging informational and warning messages when only error messages should be logged?

MrEngman
Posts: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Driver for TP-LINK ARCHER T3U WiFi adapter

Wed Nov 25, 2020 8:32 pm

CC2099 wrote:
Tue Nov 24, 2020 6:58 pm
Wow. That was fast. Thank you very much! The adapter seems to work fine. Do you know anything about the HALMAC errors that are displayed in dmesg when the rtw_drv_log_level parameter in the config file is set to 2?

Code: Select all

  0 = NONE (default)
  1 = ALWAYS
  2 = ERRORS
  3 = WARNINGS
  4 = INFO
  5 = DEBUG
  6 = MAX
For example:
RTW: ERROR [HALMAC][ERR]Dump efuse in suspend

I also see informational messages like:
RTW: rtw_set_802_11_connect(wlan1) fw_state=0x00000000

and warning messages like:
RTW: WARN hw_port0_tsf_sync_sel(wlan1): port0 already disable TSF sync

I assume rtw_drv_log_level is set to 0 because the driver is logging informational and warning messages when only error messages should be logged?
Not sure what those issues are and haven't been able to find any info searching the internet.

rtw_drv_log_level is set to 0 because I compile the driver with it set to 0.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “General discussion”