chenhaiq / mt7610u_wifi_sta_v3002_dpo_20130916

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

Linux 4.15 #39

Closed ghost closed 5 years ago

ghost commented 6 years ago

Update files for kernel 4.15 or newer versions Add ASUS USB-AC51 device ID

abc-mikey commented 6 years ago

Can confirm that this seems to work for me, at least it compiles and runs.

4.15.10-300.fc27.x86_64
goetzc commented 6 years ago

@chenhaiq ping, is this PR good to merge for you?

Lauriy commented 5 years ago

This no longer fixes my T2U on 18.04. Idk what changed.

rockerbacon commented 5 years ago

I can install and get the computer to recognize the device but the device is unable to find any networks.

Ubuntu 18.04.2 with kernel 4.15.0-47-generic

Lauriy commented 5 years ago

Use Ukuu or something to upgrade to an even newer kernel. The device should be supported out-of-the-box >=4.19. I'm using it currently on Ubuntu 18.04 with kernel 5.0.6. It's still finicky though. I just had to boot into Windows and then back into Ubuntu for the device to come online...weird. May have something to do with Windows/Ubuntu dual-booting messing with my BIOS's internal clock. (setting it back to UTC)

rockerbacon commented 5 years ago

Use Ukuu or something to upgrade to an even newer kernel. The device should be supported out-of-the-box >=4.19. I'm using it currently on Ubuntu 18.04 with kernel 5.0.6. It's still finicky though. I just had to boot into Windows and then back into Ubuntu for the device to come online...weird. May have something to do with Windows/Ubuntu dual-booting messing with my BIOS's internal clock. (setting it back to UTC)

After updating the kernel to 5.0.7 my Archer T2U still does not get recognized as a network device. What adapter are you using? Even though the mt76x0u module and its dependencies do get loaded every time I plug it in (testing by using rmmod, unplugging and plugging the device), lsmod shows that the module is not being used.

Lauriy commented 5 years ago

Here's my situation: https://i.imgur.com/p2kmXjs.jpg

As you see the LED doesn't work. It's a T2U with that mt76... thing actually inside. PCI Wi-Fi is functional but not connected, USB Wi-Fi working as advertised.

Try a sudo service network-manager restart?

rockerbacon commented 5 years ago

Thanks, but I got it to work. After looking at the output from dmesg I noticed the driver was failing to probe when trying to load the firmware (/lib/firmware/mediatek/mt7610u.bin) and then I noticed I did not have the firmware for some unknown reason.

To fix this I just headed to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, downloaded the firmware from there, copied it to the correct location, reboot and now everything is working nicely.

haydenbetts commented 5 years ago

Using ukuu to upgrade to the latest mainline kernel version 5.1.3-050103-generic as of today worked for me. usb-devices shows that the driver being used is mt76x0u