chenhaiq / mt7610u_wifi_sta_v3002_dpo_20130916

Modified usb wifi driver for TP_link TL-WDN5200
MIT License
132 stars 116 forks source link

Obsolete driver :) ? #48

Open BZHDeveloper opened 6 years ago

BZHDeveloper commented 6 years ago

please see latest updates of "mt76x0" module : https://github.com/torvalds/linux/blob/master/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c

ZelphirKaltstahl commented 6 years ago

@BZHDeveloper Do you know if there is some overview somewhere for distributions and when they will include this driver? Or do you know how I can compile this driver?

BZHDeveloper commented 6 years ago

arch linux : I've make a package for AUR https://aur.archlinux.org/pkgbase/mt7610u_wifi_sta-alt/ (obsolete if you have latest kernel of course) debian/Ubuntu : mainline packages available here http://kernel.ubuntu.com/~kernel-ppa/mainline/ (choose 4.19 RC 2, or newer - download 'image', 'headers' and 'module' packages)

If you want compile functional driver : https://gitlab.com/BZHDeveloper/mt7610u_wifi_sta_v3002_dpo_20130916

ZelphirKaltstahl commented 6 years ago

@BZHDeveloper I do not know where on Gitlab I can post an issue for the driver or contact you, so I am sorry for writing here again.

I was able to build the driver, although there were many warnings about misleading indentation and unused variables etc. and I was able to install it and reboot just fine. However, the device showed up as "device not manged" in my DE network manager (Xubuntu, XFCE). So I tried https://askubuntu.com/a/71205, to make the network manager manage that device. However, when I edit /etc/NetworkManager/NetworkManager.conf in that way and reboot my shell becomes unusable. After a reboot, I was not able to use any terminal application anymore, not even the ttys. They would log in, but then hang and not show a prompt again, probably having some issue with either the network manager or the driver. There were no error messages.

In the end I unplugged the device and rebooted again, did not log in in the graphical environment but immediately at the login screen switched to tty1 and logged in there, fortunately being able to use the tty this time and reverted the changes to the network manager configuration.

So the result is still, that I am not able to use the device (AC600 T2UH), not sure if the network manager is the culprit or the driver has still issues.

If you have more ideas, I might be able to try them.