MediaTek (mt7902): Wireless Driver Support for Linux
by notpua from LinuxQuestions.org on (#6EDCE)
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:
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
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.
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