You are not logged in.

#1 2019-02-26 19:58:43

eitanlevinzon
Member
Registered: 2019-02-26
Posts: 5

Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

Hi,

I've recently installed Arch on my laptop in a dual boot mode with Windows 10.
My laptop has the MediaTek MT7630E chip, and I've seen that there is no official support for the driver, and therefore I'm experiencing many WiFi related problems.
After some reboots the WiFi seems to work fine, and after some other reboots it doesn't. Also, if it does work, it stops working after some time.
When it doesn't work, i can't seem to make it work without rebooting.

Also sometimes when I switch between my linux and windows it stop working even on windows.

some info about my computer:

$ uname -a 
Linux 4.20.10-arch1-1-ARCH #1 SMP PREEMPT Fri Feb 15 17:49:06 UTC 2019 x86_64 GNU/Linux

$ sudo lshw -c network
*-network
       description: Wireless interface
       product: MT7630e 802.11bgn Wireless Network Adapter
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0f0
       version: 00
       serial: xx:xx:xx:xx:xx:xx
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=mt76x0e driverversion=4.20.10-arch1-1-ARCH firmware=1.0.07-b370 ip=10.100.102.11 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:19 memory:a3100000-a31fffff

$ rfkill
ID TYPE DEVICE      SOFT      HARD
 0 wlan phy0   unblocked unblocked

Any advice would be appreciated, and if there actually is a driver that works as expected in the 4.20+, I'd be happy to know.
Thanks!

Last edited by eitanlevinzon (2019-02-26 20:11:12)

Offline

#2 2019-02-26 20:34:11

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

Welcome to the arch linux forums eitanlevinzon.  What is the VID:PID of the device?  The driver you are currently using is the in kernel mt76x0e driver?

Offline

#3 2019-02-26 20:38:26

eitanlevinzon
Member
Registered: 2019-02-26
Posts: 5

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

what do you mean by VID:PID?
this may help:

$ lsmod | grep mt76
mt76x0e                20480  0
mt76x0_common          81920  1 mt76x0e
mt76x02_lib            57344  2 mt76x0e,mt76x0_common
mt76                   45056  3 mt76x0e,mt76x02_lib,mt76x0_common
mac80211              946176  4 mt76,mt76x0e,mt76x02_lib,mt76x0_common
cfg80211              778240  3 mt76,mt76x02_lib,mac80211

Offline

#4 2019-02-26 20:42:57

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

Example from my system.

lspci -nkk
....
0a:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]
	Subsystem: ASUSTeK Computer Inc. BCM43228 802.11a/b/g/n [1043:850c]
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma

The VID:PID (VendorID:ProductID) for that device is [14e4:4359]

Offline

#5 2019-02-26 20:47:39

eitanlevinzon
Member
Registered: 2019-02-26
Posts: 5

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

oh okay, thanks!

$ lscpi -nnkk
...
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
	Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter [105b:e084]
	Kernel driver in use: mt76x0e
	Kernel modules: mt76x0e

So my VendorID:ProductID is [14c3:7630]

Last edited by eitanlevinzon (2019-02-26 20:47:52)

Offline

#6 2019-02-26 21:15:44

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

It does have official support in the mt76x0e module https://cateee.net/lkddb/web-lkddb/MT76x0E.html
There has been 11 commits to the driver for 5.0 not sure if any of them will help with your issues but its something to consider testing.
Unofficial_user_repositories#miffe contains linux-mainline (currently 5.0-rc8) prebuilt if you are prepared to use an unofficial repository or you could build it from source.

Offline

#7 2019-02-26 21:21:16

eitanlevinzon
Member
Registered: 2019-02-26
Posts: 5

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

Oh, didn't see that.
How do I check which module version I have, and how do I upgrade if I'm not using the latest? I don't want to use any unofficial build, just the one that fits my kernel smile

thank you!

Offline

#8 2019-02-26 21:25:35

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

modinfo mt76x0e

It should should show the module as being intree and the vermagic matching the kernel you have installed.
If you want to wait for an official release of 5.0 I expect it will be a few weeks off.
Edit:
missed modinfo

Last edited by loqs (2019-02-26 21:25:52)

Offline

#9 2019-02-26 21:32:55

eitanlevinzon
Member
Registered: 2019-02-26
Posts: 5

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

It looks like I really have the latest version. So this still doesn't explain the problems I had with the WiFi...

Got any ideas?

Offline

#10 2019-02-26 21:56:13

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

I would start by checking dmesg when there is an issue see if there is anything that appears related.

Offline

#11 2019-03-30 16:39:55

jawker
Member
Registered: 2019-03-30
Posts: 3

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

I am having issues as well with MT7630E. It does work, but gives out when under a bit of load. It mostly works when surfing the web, but a site with alot of images or trying to download a file breaks it.
To get it working I have to shutdown and then power on, a simple reboot won't work.

$ uname -a
Linux archtop 5.0.5-arch1-1-ARCH #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019 x86_64 GNU/Linux

$ lspci -nnks 3:
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
	Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter [105b:e084]
	Kernel driver in use: mt76x0e
	Kernel modules: mt76x0e

$ modinfo mt76x0e
filename:       /lib/modules/5.0.5-arch1-1-ARCH/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0e.ko.xz
license:        Dual BSD/GPL
firmware:       mediatek/mt7650e.bin
firmware:       mediatek/mt7610e.bin
srcversion:     07F07AD1C19C818C57AB6E7
alias:          pci:v000014C3d00007650sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007630sv*sd*bc*sc*i*
depends:        mt76x02-lib,mt76,mt76x0-common,mac80211
retpoline:      Y
intree:         Y
name:           mt76x0e
vermagic:       5.0.5-arch1-1-ARCH SMP preempt mod_unload 
...

After shutdown and power on:

$ dmesg | grep mt76
[    3.626362] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    4.591683] mt76x0e 0000:03:00.0: EEPROM ver:01 fae:05
[    4.591689] mt76x0e 0000:03:00.0: driver does not support HW RF ctrl
[    4.610301] mt76x0e 0000:03:00.0 wlp3s0f0: renamed from wlan0
$ iwconfig 
wlp3s0f0  IEEE 802.11  ESSID:"xxxxx"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:16   Missed beacon:0

Everything seems ok at this point, I can surf the web and do other non taxing stuff, but if I try a speedtest or go on a website with lots of data, i.e. large images etc. it gives out.

After doing a speedtest and wifi stopped working:

$ dmesg | grep mt76
[    3.623044] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[    3.626362] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    4.591683] mt76x0e 0000:03:00.0: EEPROM ver:01 fae:05
[    4.591689] mt76x0e 0000:03:00.0: driver does not support HW RF ctrl
[    4.610301] mt76x0e 0000:03:00.0 wlp3s0f0: renamed from wlan0
[  561.724974] mt76x0e 0000:03:00.0: TX DMA did not stop
[  579.407772] mt76x0e 0000:03:00.0: TX DMA did not stop
[  610.954214] mt76x0e 0000:03:00.0: TX DMA did not stop

After a normal reboot:

dmesg | grep mt76 
[    3.707099] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[    3.711256] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    3.737071] mt76x0e: probe of 0000:03:00.0 failed with error -5

It's like this until doing a shutdown, a reboot won't work.

Offline

#12 2021-02-20 15:16:21

frest
Member
Registered: 2021-02-20
Posts: 4

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

I'm having the same issue for years. After the system start, I get wifi working till the first 'TX DMA did not stop' message in dmesg. After surfing a few forums I found out nobody solved this problem yet.

Offline

#13 2021-06-22 16:26:39

salimibrogimov
Member
Registered: 2021-06-22
Posts: 1

Re: Driver for MediaTek MT7630E WiFi chipset that works on newest kernel

I'm experiencing exactly the same issue:

jawker wrote:

I am having issues as well with MT7630E. It does work, but gives out when under a bit of load. It mostly works when surfing the web, but a site with alot of images or trying to download a file breaks it.
To get it working I have to shutdown and then power on, a simple reboot won't work.

$ uname -a
Linux archtop 5.0.5-arch1-1-ARCH #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019 x86_64 GNU/Linux

$ lspci -nnks 3:
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
	Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter [105b:e084]
	Kernel driver in use: mt76x0e
	Kernel modules: mt76x0e

$ modinfo mt76x0e
filename:       /lib/modules/5.0.5-arch1-1-ARCH/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0e.ko.xz
license:        Dual BSD/GPL
firmware:       mediatek/mt7650e.bin
firmware:       mediatek/mt7610e.bin
srcversion:     07F07AD1C19C818C57AB6E7
alias:          pci:v000014C3d00007650sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007630sv*sd*bc*sc*i*
depends:        mt76x02-lib,mt76,mt76x0-common,mac80211
retpoline:      Y
intree:         Y
name:           mt76x0e
vermagic:       5.0.5-arch1-1-ARCH SMP preempt mod_unload 
...

After shutdown and power on:

$ dmesg | grep mt76
[    3.626362] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    4.591683] mt76x0e 0000:03:00.0: EEPROM ver:01 fae:05
[    4.591689] mt76x0e 0000:03:00.0: driver does not support HW RF ctrl
[    4.610301] mt76x0e 0000:03:00.0 wlp3s0f0: renamed from wlan0
$ iwconfig 
wlp3s0f0  IEEE 802.11  ESSID:"xxxxx"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:16   Missed beacon:0

Everything seems ok at this point, I can surf the web and do other non taxing stuff, but if I try a speedtest or go on a website with lots of data, i.e. large images etc. it gives out.

After doing a speedtest and wifi stopped working:

$ dmesg | grep mt76
[    3.623044] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[    3.626362] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    4.591683] mt76x0e 0000:03:00.0: EEPROM ver:01 fae:05
[    4.591689] mt76x0e 0000:03:00.0: driver does not support HW RF ctrl
[    4.610301] mt76x0e 0000:03:00.0 wlp3s0f0: renamed from wlan0
[  561.724974] mt76x0e 0000:03:00.0: TX DMA did not stop
[  579.407772] mt76x0e 0000:03:00.0: TX DMA did not stop
[  610.954214] mt76x0e 0000:03:00.0: TX DMA did not stop

After a normal reboot:

dmesg | grep mt76 
[    3.707099] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[    3.711256] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[    3.737071] mt76x0e: probe of 0000:03:00.0 failed with error -5

It's like this until doing a shutdown, a reboot won't work.

Offline

Board footer

Powered by FluxBB