Re: CURRENT on laptop ASUS VivoBook Pro 14 90NB0VZ2-M01230

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 28 Mar 2024 09:18:15 UTC
El día miércoles, marzo 27, 2024 a las 03:51:33p. m. +0100, Matthias Apitz escribió:

> The WLAN card seems to be:
> 
> none2@pci0:1:0:0:       class=0x028000 rev=0x00 hdr=0x00 vendor=0x14c3 device=0x7961 subvendor=0x1a3b subdevice=0x4680
>     vendor     = 'MEDIATEK Corp.'
>     device     = 'MT7921 802.11ax PCI Express Wireless Network Adapter'
>     class      = network
> 
> Perhaps not supported until today:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264300

While grepping through /usr/src I found the driver in 
/usr/src/sys/contrib/dev/mediatek/mt76/mt7921/ and a make && make
install in 

# cd /usr/src/sys/modules/mt76
# make
...
# make install
===> core (install)
install -T release -o root -g wheel -m 555   mt76_core.ko /boot/modules/
kldxref /boot/modules
===> mt7915 (install)
install -T release -o root -g wheel -m 555   if_mt7915.ko /boot/modules/
kldxref /boot/modules
===> mt7921 (install)
install -T release -o root -g wheel -m 555   if_mt7921.ko /boot/modules/
kldxref /boot/modules

installs it fine. There is also a manpage in /usr/src/share/man/man4/mt7921.4
(attached)

I still have to build the firmware from ports/net/wifi-firmware-mt76-kmod.

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub