Ask Your Question
1

Does fedora 29 support wireless adapter of MT7601U?

asked 2019-03-24 05:53:19 -0600

ec44a8 gravatar image

updated 2019-03-25 07:23:34 -0600

mt7601u is a product of RALink. I cannot find the driver at its official website. thanks a lot!

My wireless adapter is an usb stick, which is made by mercurycom. you can have a look by visitiing this link: http://www.mercurycom.com.cn/m/produc...

I executed

lspci -vnn | grep -A6 Network

, but nothing outputed.

edit retag flag offensive close merge delete

Comments

2

Hi, basic out of the box linux support for mt7601u is available since kernel 4.2. We need to know which card exactly do you have, update your question with output of lspci -vnn | grep -A6 Network command.

ozeszty gravatar imageozeszty ( 2019-03-24 16:21:12 -0600 )edit
3

Then we'll need output of lsusb and lsusb -t.

ozeszty gravatar imageozeszty ( 2019-03-25 10:41:01 -0600 )edit

5 Answers

Sort by ยป oldest newest most voted
1

answered 2019-03-26 16:35:32 -0600

ozeszty gravatar image

updated 2019-04-06 05:20:04 -0600

dmesg output would have lead us here sooner or later: https://github.com/kuba-moo/mt7601u/i...

Anyway, just follow those instructions and report the bug upstream, so it gets fixed properly and you don't have to fight with it after every update: https://wireless.wiki.kernel.org/en/u...

If possible, plug-in ethernet cable, upgrade and reboot your system before installing this driver, because you'll have to swap this driver after every kernel upgrade. Downloading and compiling of newer version is only required when you see some changes for your kernel version, e.g. for 5.0.x here https://git.kernel.org/pub/scm/linux/...

To download a specific version of this driver you can either:


Initial troubleshooting:

Using output of lsusb (or lspci -knn | grep -A4 Network in case of PCI cards) we got an ID of this WiFi adapter: 148f:7601

lsusb -t (lspci -k for PCI device) showed us the driver currently in use for it - option - which is incorrect, since this card should use mt7601u: https://wikidevi.com/wiki/Mt7601u

lsmod | grep -e 'mt7601u' -e 'option' will show whether mt7601u is loaded and maybe some dependencies of the other driver.

If mt7601u wasn't listed, load it with sudo modprobe mt7601u. If it was, remove the other driver with sudo modprobe -r option.

Let me know if it worked, we'll still have to make it work after reboots.


So device picked up the right module but still wasn't working. I suppose you're not using any modem and we can blacklist option so it doesn't interfere, create /etc/modprobe.d/option.conf and add to it:

blacklist option

You can use sudo echo "blacklist option" > /etc/modprobe.d/option.conf or sudo nano /etc/modprobe.d/option.conf

Apply changes to current kernel: sudo dracut -fv and reboot.

Run dmesg -w, plug-in WiFi card and paste here output that showed up with USB card plugged in and output of dmesg | grep mt76, just in case there are some issues with the driver.

edit flag offensive delete link more

Comments

dracut command not found on my Ubuntu 18.04

ec44a8 gravatar imageec44a8 ( 2019-03-27 23:47:36 -0600 )edit

@ec44a8 Are you in Ubuntu? , the command and packages are not equal, The best place for asking Ubuntu issues is in stackexchange...

hhlp gravatar imagehhlp ( 2019-03-28 04:59:45 -0600 )edit

I'm in Fedora 29 now

ec44a8 gravatar imageec44a8 ( 2019-03-29 02:40:18 -0600 )edit

Did you manage to get it running?

ozeszty gravatar imageozeszty ( 2019-04-18 18:34:58 -0600 )edit
0

answered 2019-03-26 20:56:33 -0600

ec44a8 gravatar image

updated 2019-03-27 12:55:42 -0600

ozeszty gravatar image

michael@asusamd:~$ lsmod | grep -e 'mt7601' -e 'option'

    option                 53248  0
    usb_wwan               20480  1 option
    usbserial              45056  2 usb_wwan,option
    mt7601u               106496  0
    mac80211              802816  1 mt7601u
    cfg80211              667648  2 mt7601u,mac80211

michael@asusamd:~$ sudo modprobe -r option

[sudo] password for michael: 

michael@asusamd:~$ lsmod | grep -e 'mt7601' -e 'option'
mt7601u               106496  0
mac80211              802816  1 mt7601u
cfg80211              667648  2 mt7601u,mac80211

After doing these, it doesn't work either.

edit flag offensive delete link more

Comments

And if you try plugging WiFi stick to other USB ports? What's the output of lsusb -t after that?

ozeszty gravatar imageozeszty ( 2019-03-27 05:36:12 -0600 )edit
0

answered 2019-03-27 07:07:19 -0600

ec44a8 gravatar image

updated 2019-03-27 12:45:50 -0600

ozeszty gravatar image

output of lsusb -t:

michael@asusamd:~$ lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 6, If 0, Class=Vendor Specific Class, Driver=mt7601u, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/3p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 6: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 9: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

output of lsusb -t, after i pluged the wireless adapter into front panel of computer chassis:

michael@asusamd:~$ lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/3p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 6: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 8: Dev 7, If 0, Class=Vendor Specific Class, Driver=option, 480M
    |__ Port 9: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
edit flag offensive delete link more
0

answered 2019-03-26 05:28:40 -0600

ec44a8 gravatar image

updated 2019-03-26 14:43:24 -0600

ozeszty gravatar image

----- output of lsusb:

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 413c:2113 Dell Computer Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

----- output of lsusb -t

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=option, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/3p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 6: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 9: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
edit flag offensive delete link more
0

answered 2019-03-28 23:03:24 -0600

ec44a8 gravatar image

updated 2019-03-29 04:47:27 -0600

ozeszty gravatar image

I changed my OS to Fedora 29 yesterday, then ran the commands you gave me. here is the outputs:

......reboot........

[michael@asusamd ~]$ dmesg -w ... a lots of colorful outputs...

[michael@asusamd ~]$ dmesg | grep mt76 
[  771.080167] mt7601u 1-8:1.0: ASIC revision: 76010001 MAC revision: 76010500
[  771.108478] mt7601u 1-8:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[  774.662304] mt7601u 1-8:1.0: Vendor request req:07 off:09a8 failed:-110
[  777.782027] mt7601u 1-8:1.0: Vendor request req:02 off:09a8 failed:-110
[  780.902220] mt7601u 1-8:1.0: Vendor request req:07 off:0734 failed:-110
[  784.022311] mt7601u 1-8:1.0: Vendor request req:42 off:0230 failed:-110
[  787.141956] mt7601u 1-8:1.0: Vendor request req:07 off:0080 failed:-110
[  790.262002] mt7601u 1-8:1.0: Vendor request req:02 off:0080 failed:-110
[  793.382027] mt7601u 1-8:1.0: Vendor request req:02 off:0080 failed:-110
[  793.382078] mt7601u: probe of 1-8:1.0 failed with error -110
[  793.382143] usbcore: registered new interface driver mt7601u
[  893.169705] mt7601u 1-8:1.0: ASIC revision: 76010001 MAC revision: 76010500
[  893.197297] mt7601u 1-8:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[  896.750461] mt7601u 1-8:1.0: Vendor request req:07 off:09a8 failed:-110
[  899.870289] mt7601u 1-8:1.0: Vendor request req:02 off:09a8 failed:-110
[  902.990285] mt7601u 1-8:1.0: Vendor request req:07 off:0734 failed:-110
[  906.110289] mt7601u 1-8:1.0: Vendor request req:42 off:0230 failed:-110
[  909.229971] mt7601u 1-8:1.0: Vendor request req:07 off:0080 failed:-110
[  912.350288] mt7601u 1-8:1.0: Vendor request req:02 off:0080 failed:-110
[  915.470282] mt7601u 1-8:1.0: Vendor request req:02 off:0080 failed:-110
[  915.470335] mt7601u: probe of 1-8:1.0 failed with error -110
edit flag offensive delete link more

Comments

1

It looks similar to what's reported in github issue I linked, so read my answer (I updated it yesterday).

ozeszty gravatar imageozeszty ( 2019-03-29 04:52:59 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-03-24 05:53:19 -0600

Seen: 422 times

Last updated: Apr 06 '19