MediaTek (mt7902): Wireless Driver Support for Linux
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
MediaTek (mt7902): Wireless Driver Support for Linux
I have an Asus Vivobook 16, and I would love to use any linux distribution on it. But the problem is, the wifi driver "MEDIATEK Corp. Device 7902" is not supported by linux.
Just like any new laptop it doesn't come with an ethernet port and even bluetooth doesn't work.
Things I've tried:
Installed Ubuntu developer edition to see if newer kernel has support.
Downgraded and Upgraded kernels, (mainline) from 5.15 to 6.4.6
Installed other drivers with similar models like mt7921 etc.
According to this source, they hit like every model but the one I have.
So is there any way I can compile my own custom kernel with this driver support ??
Here's some relevant hardware info:
Code:
$ lshw -c network
WARNING: you should run this program as super-user.
*-network UNCLAIMED
description: Network controller
product: MEDIATEK Corp.
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: iomemory:600-5ff memory:6000000000-60000fffff memory:84000000-84007fff
*-network
description: Ethernet interface
physical id: b
bus info: usb@1:1
logical name: enx56b1bb9c2d03
serial: 56:b1:bb:9c:2d:03
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=6.3.0-7-generic duplex=half firmware=RNDIS device ip=192.168.180.142 link=yes multicast=yes port=twisted pair
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
No need to replace it, just get a supported USB button drive until it's supported. Mediatek is junk - I have a MT7922 in my new laptop and it ran awful under Win11 as well until an update seems to have "fixed" it. Supported by recent (6.2 ?) Linux kernels, but I have yet to commit to installing it (works fine in liveUSB mode).
Be careful with the USB as well - almost all are RealTek these days, and the same crap-shoot applies.
I would replace it. Get a trustworthy Intel and forget it. Other solution, at least temporary, is a USB to ethernet adapter and wired connection. If you mess with computers you should have one in the drawer anyway, they are handy.
Be careful with the USB as well - almost all are RealTek these days, and the same crap-shoot applies.
Alright, I already ordered one of these bad boys, comes with both wifi and bluetooth 4.2. And quick googling, TP-Link adapters seem to be the most famous and supported.
Last edited by notpua; 09-02-2023 at 11:15 PM.
Reason: forgot to add link
I've had the same problem with a Vivobook 15 laptop here, MT7902 is still not supported,
workaround was to get a Netgear Wifi usb adapter (AC1200 worked out of the box).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.