@Mirdarthos , I don’t understand. If your answer is mt7601u, this is the driver actually selected/used by the kernel, as clearly shown by the output in the first post:
[ 107.736197] mt7601u 1-2:1.0: ASIC revision: 76010001 MAC revision: 76010500
and lsusb -t shows the driver loaded by the kernel. Which other driver what you was talking about?
Did anything change once you reloaded the module (via modprobe), has wifi status changed in any way (working or otherwise), run inxi and all again to see.
Also (if things don’t work) run journalctl -r # (or maybe `journalctl --dmesg -r`)
…and see if any messages there during the moudule loading (e.g. you can open that in one terminal, in another try to reload module again, see if it’s failing with some particular error).
lsmod output means driver module was there. But reloading might have helped.
This is for diagnostics mostly, if reloading module doesn’t help then try the other driver as @Mirdarthos suggested.
Windows can sometimes leave some of the devices (WiFi-s typically) in some funny state, sorry I can’t remember much more, happened to me once many yrs ago. Meaning try shuttind down the Win fully then going into Manjaro. Long shot, or read about it for more.
@dragan , I didn’t notice better results reloading the module. The wifi adapter keeps going appearing and disappearing continuously, as shown by sudo dmesg -w command output.
Running journalctl --dmesg -r command gives the same results as explained above. Btw, the command output:
Edit: @Mirdarthos , do you display a following up reply which I’m not able to view in the thread?
you replied posting that url but I can display the same thread messages after Mt7601u usb wifi failure/issues - #16 by cristian_c included in your url. So there seem not to be messages I’m not able to view in the thread. It doesn’t make sense.
It might be a different version of the same driver, ya know. We don’t know. On the website, it also specifies it as an alternative driver, yet it has the same name…
So, really, the only way of knowing would be to test and try…
This is a placeholder repo for the Linux driver for MediaTek MT7601U USB dongle. The driver was written from scratch based on the vendor GPL-driver. Unlike the vendor driver it uses modern Linux WiFi infrastructure and should work flawlessly with NetworkManager, wicd, wpa_supplicant and such. This driver was merged into mainline and is part of official Linux kernel since version v4.2 (August 2015).
Please report any issues upstream to the Linux Wireless community. This repo is no longer used…
Unfortunately, it should mean this is not an alternative driver.
There is a problem with some devices and the mt7601u kernel module. The fix is to patch the kernel source code. Find drivers/net/wireless/mediatek/mt7601u/mcu.c
Under static int mt7601u_load_firmware(struct mt7601u_dev *dev) find the lines with
mt7601u_vendor_reset(dev);
msleep(5);
and comment out the mt7601u_vendor_reset(dev) like
//mt7601u_vendor_reset(dev);
msleep(5);
I am not sure how kernel patches are done in Manjaro
I’ve patched mcu.c as you’ve explained and rebuilt the kernel module but I still get the same error lines shown above in dmesg output (see the first post in this thread).
So, a question: how did you figure out which lines need to be commented? Have you found this patch somewhere or is that a result of your findings? Have you tested the patch on your hardware or what else?