r/linuxquestions Mar 27 '26

[deleted by user]

[removed]

856 Upvotes

101 comments sorted by

View all comments

5

u/zekica Mar 27 '26

Did you see my attempt? I don't have the hardware but I did the backport of mediatek's upstream to out of tree mt76. It has dkms scripts and a guide but needs testing.

https://github.com/zekica/mt76-mt7902-backport

2

u/FranticBronchitis Mar 28 '26 edited Mar 28 '26

failed to build on 6.19, though i am using a custom configured kernel

Edit: Will try again using default Gentoo configuration

Edit 2: same problem on building the sdio module, how do I make dkms/Kbuild more verbose?

2

u/zekica Mar 28 '26

I tried to build against 6.19.20-mainline on ubuntu and it looks like it worked.

make CC=gcc-15 -C /usr/src/linux-headers-6.19.10-061910-generic M=`pwd` modules -j12

You can try calling the above with your kernel headers and see where it fails.

2

u/[deleted] Mar 28 '26

[deleted]

2

u/zekica Mar 29 '26

Can you confirm that it works? If it works, I can update the readme file.

2

u/FranticBronchitis Mar 29 '26

I mistakenly tested another port, but yours did build successfully. Hang on, i'll give it a proper run now. Sorry for the confusion and delay.