LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-02-2023, 12:23 PM   #1
notpua
LQ Newbie
 
Registered: Aug 2023
Distribution: slackware
Posts: 13

Rep: Reputation: 3
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.
OS: Ubuntu dev edition, build: 31 August 2023.

Code:
$ uname -a
Linux username 6.3.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun  8 16:02:30 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Last edited by notpua; 09-02-2023 at 12:26 PM. Reason: rechecked mainline kernel version
 
Old 09-02-2023, 06:36 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
Just looked at the latest and doesn't appear there either:
https://git.kernel.org/pub/scm/linux...ek/mt76?h=v6.5
https://git.kernel.org/pub/scm/linux.../mt76?h=v6.5.1

You may have to do with a USB dongle...
 
Old 09-02-2023, 07:16 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
What kind of wireless card is it. You may be able to replace it with something that supports Linux. Is it an M.2 device?
 
Old 09-02-2023, 08:13 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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.
 
Old 09-02-2023, 10:18 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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.
 
Old 09-02-2023, 11:15 PM   #6
notpua
LQ Newbie
 
Registered: Aug 2023
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: 3
Wink

Quote:
Originally Posted by syg00 View Post
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
 
1 members found this post helpful.
Old 09-02-2023, 11:21 PM   #7
notpua
LQ Newbie
 
Registered: Aug 2023
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: 3
Will mark this thread solved ones this card receives official support from Linux kernel though.

Last edited by notpua; 09-02-2023 at 11:21 PM. Reason: typo
 
1 members found this post helpful.
Old 04-19-2024, 05:44 AM   #8
dryunkaaa
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
please tell me, did everything work with the tp link adapter you specified? wifi and bluetooth? are there any more problems?
 
Old 04-19-2024, 06:24 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,328

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
My usual routine on crappy wifi things is
  1. Do a web search for '[the pci.id | usb.id] +linux +driver'
  2. Check on github for a driver with recent commits.
  3. Don't buy it in the first place, or return it.
 
Old 04-27-2024, 08:18 PM   #10
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Rep: Reputation: 156Reputation: 156
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).
 
  


Reply

Tags
network cards, network connectivity, wifi driver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] support for MediaTek wireless card GumiBear Gentoo 3 03-05-2023 05:26 PM
ADS7846 linux driver with mediatek devices arktrin Linux - Embedded & Single-board computer 2 08-07-2020 12:00 PM
0e8d:7115 MediaTek Inc driver Net_Spy Linux - Networking 2 12-09-2015 02:42 AM
LXer: MediaTek Announces Open-Source IoT Development Platform That Runs OpenWrt Linux LXer Syndicated Linux News 0 12-04-2015 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration