Package Details: mt7610u_wifi_sta 4606187-3

Git Clone URL: (read-only, click to copy)
Package Base: mt7610u_wifi_sta
Description: Kernel module for MediaTek MT7610U chipset featured in TP-Link Archer T2U and T2UH, TP-Link TL-WDN5200, ASUS USB-AC50, ASUS USB-AC51, Comcast Xfinity KXW02AAA, D-Link DWA-171 rev B1 and more
Upstream URL:
Licenses: GPL2
Submitter: annmuor
Maintainer: annmuor
Last Packager: annmuor
Votes: 6
Popularity: 0.000000
First Submitted: 2015-11-15 12:41
Last Updated: 2017-01-31 18:48

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

archnix commented on 2020-09-15 08:53

Many moons ago I build a package for this device. It is still working on my box.

Linux ts 5.8.8-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 09 Sep 2020 19:01:48 +0000 x86_64 GNU/Linux

The package and sources is in my archive at

seeegma commented on 2020-03-16 23:36

@kreon This package has been out of date since 2018-05-31. I can confirm that it does not build with current linux-header versions (5.5.9). It fails with this:

scripts/ arch/x86/entry/syscalls/Makefile: No such file or directory

There simply isn't an entry directory there (this is /usr/lib/modules/$(uname -r)/build). How easy is this to fix?

pyska commented on 2017-12-15 01:49

I did like @c4n and @vintux and managed to skip those two errors as well. However, I get this:

'/../../os/linux/cfg80211.c:1868:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .change_virtual_intf = CFG80211_OpsVirtualInfChg,'

Bummer :/

b4rdarian commented on 2017-12-10 18:07

@vintux Just updated to 4.14-1. I followed previous steps and reached the exact same issues as you. Is the dongle working fine?

vintux commented on 2017-11-04 11:00

I could compile without error when I changed &addr to addr in os/linux/sta_ioctl.c:696. Not sure whether it is the right way.

vintux commented on 2017-11-03 16:19

Hi, After using c4n/citizen's correction to pkgbuild, I am getting an error :

`./include/linux/string.h:305:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter`

Any ideas?

a_manthey commented on 2017-04-12 20:25


i use 4.10.8-1-ARCH, TP-LINK Archer T1U

last comment of c4n / citizen added to PKGBUILD

yaourt -U mt7610u_wifi_sta-4606187-3-any.pkg.tar.xz

modprobe mt7610u_sta

modprobe -c | grep -i "2357.*0105"
alias usb:v2357p0105d*dc*dsc*dp*ic*isc*ip*in* mt7610u_sta

iw dev ra0 scan
command failed: Device or resource busy (-16)

[ 9799.684954] /home/andreas/software/mt7610u/mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 9799.716697] ERROR!!!
[ 9799.716701] E2PROM: WRONG VERSION 0x2, should be 1
[ 9799.729084] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 9799.729087] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 9799.729088] Temperature Tx ALC not enabled
[ 9799.774439] 3. Phy Mode = 61

c4n commented on 2017-04-01 15:20


find . -type f -exec sed -i 's/IEEE80211_NUM_BANDS/NUM_NL80211_BANDS/g' {} +
find . -type f -exec sed -i 's/IEEE80211_BAND_2GHZ/NL80211_BAND_2GHZ/g' {} +
find . -type f -exec sed -i 's/IEEE80211_BAND_5GHZ/NL80211_BAND_5GHZ/g' {} +

pestaa commented on 2017-02-14 19:06

@citizen, your fix helped me compile the source, but unfortunately, plugging in the T2U instantly freezes the computer (Manjaro with kernel 4.9.6-1).

Where should I look for clues?

citizen commented on 2017-02-12 20:56

A quick and dirty solution to build the package on a recent kernel is to substitute the deprecated IEEE80211-fields with the new ones, in the PKGBUILD.

Simply add the following into the build()-segment, right before the make invocation:

build() {
cd "${srcdir}/${pkgname}"
patch -p1 < "${srcdir}/0001-fix-compile-against-kernel-4.6.patch"
patch -p1 < "${srcdir}/0002-add-tplink-archer-t1u.patch"

--- add below

find . type -f -exec sed -i 's/IEEE80211_NUM_BANDS/NUM_NL80211_BANDS/g' {} +
find . type -f -exec sed -i 's/IEEE80211_BAND_2GHZ/NL80211_BAND_2GHZ/g' {} +
find . type -f -exec sed -i 's/IEEE80211_BAND_5GHZ/NL80211_BAND_5GHZ/g' {} +

-- add above

make -C "${srcdir}/${pkgname}"