Package Details: mt7610u_wifi_sta 4606187-3

Git Clone URL: https://aur.archlinux.org/mt7610u_wifi_sta.git (read-only)
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: https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916
Licenses: GPL2
Submitter: kreon
Maintainer: kreon
Last Packager: kreon
Votes: 6
Popularity: 0.000005
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 »

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

Hi,

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

last comment of c4n / citizen added to PKGBUILD

makepkg
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)

dmesg
....
[ 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

@citizen

Correction:
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}"
}

morosa commented on 2017-02-01 15:33

make[2]: *** [scripts/Makefile.build:289: /tmp/yaourt-tmp-ka/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../sta/auth_rsp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: *** [scripts/Makefile.build:289: /tmp/yaourt-tmp-ka/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../os/linux/rt_profile.o] Błąd 1
make[2]: *** [scripts/Makefile.build:289: /tmp/yaourt-tmp-ka/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../sta/auth.o] Błąd 1
make[2]: *** [scripts/Makefile.build:289: /tmp/yaourt-tmp-ka/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../sta/assoc.o] Błąd 1
make[1]: *** [Makefile:1473: _module_/tmp/yaourt-tmp-ka/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux] Błąd 2

kreon commented on 2017-01-31 18:48

@klingt.net @julbrygd

Done that