Open Mann-webspider opened 2 years ago
Confirmed for 22.04, I found this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1952554/comments/39
5.15.0-39-generic # 42-Ubuntu SMP Thu Jun 9 23:42:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
So that, I ran ./uninstall
then rebooted. Got Wi-Fi working with default Ubuntu Kernel. Hopefully this repository isn't needed anymore. (I bet, for > 5.11 kernels)
I've got this with 5.13.0-51-generic.
By the way, you can comment lines with errors. I know this is dirty hack (that's why I'm not sure about PR) but now it works for me.
So I've done this:
root@gt-n750jk:/opt/MT7630E/MT7630E# git diff
diff --git a/rt2x00/rt2800pci.c b/rt2x00/rt2800pci.c
index 2bad45c..f6d99ef 100644
--- a/rt2x00/rt2800pci.c
+++ b/rt2x00/rt2800pci.c
@@ -1711,7 +1711,7 @@ static const struct pci_device_id rt2800pci_device_table[] = {
MODULE_AUTHOR(DRV_PROJECT);
MODULE_VERSION(DRV_VERSION);
MODULE_DESCRIPTION("Mediatek MT7630 PCI Wireless LAN driver.");
-MODULE_SUPPORTED_DEVICE("Mediatek PCI MT7630-based cards");
+//MODULE_SUPPORTED_DEVICE("Mediatek PCI MT7630-based cards");
#ifdef CONFIG_PCI
MODULE_FIRMWARE(FIRMWARE_MT7630);
MODULE_DEVICE_TABLE(pci, rt2800pci_device_table);
diff --git a/rt2x00/rt2x00.h b/rt2x00/rt2x00.h
index 6f4026d..2a2a1af 100644
--- a/rt2x00/rt2x00.h
+++ b/rt2x00/rt2x00.h
@@ -36,7 +36,7 @@
#include <linux/leds.h>
#include <linux/mutex.h>
#include <linux/etherdevice.h>
-#include <linux/input-polldev.h>
+// #include <linux/input-polldev.h>
#include <linux/kfifo.h>
#include <linux/hrtimer.h>
#include <linux/version.h>
root@gt-n750jk:/opt/MT7630E/MT7630E#
So I've got
oot@gt-n750jk:/opt/MT7630E/MT7630E# ./install
make -C /lib/modules/5.13.0-51-generic/build M=/opt/MT7630E/MT7630E/rt2x00 modules
make[1]: вход в каталог «/usr/src/linux-headers-5.13.0-51-generic»
make[1]: выход из каталога «/usr/src/linux-headers-5.13.0-51-generic»
make -C /lib/modules/5.13.0-51-generic/build M=/opt/MT7630E/MT7630E/btloader modules
make[1]: вход в каталог «/usr/src/linux-headers-5.13.0-51-generic»
make[1]: выход из каталога «/usr/src/linux-headers-5.13.0-51-generic»
cp -v firmware/*/* /lib/firmware/
'firmware/BT/mt76x0.bin' -> '/lib/firmware/mt76x0.bin'
'firmware/Wi-FI/MT7650E234.bin' -> '/lib/firmware/MT7650E234.bin'
cp rt2x00/mt7630e.ko /lib/modules/5.13.0-51-generic/kernel/drivers/net/wireless/
cp btloader/mt76xx.ko /lib/modules/5.13.0-51-generic/kernel/drivers/net/wireless/
depmod 5.13.0-51-generic
The driver has been successfully installed.
If you don't have wifi yet, try to reboot.
If bluetooth doesn't work, read the bluetooth
section in README.md file and follow through.
Operating System: KDE neon 5.25 KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.4 Kernel Version: 5.13.0-51-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-4200H CPU @ 2.80GHz Memory: 5,3 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600 Manufacturer: ASUSTeK COMPUTER INC. Product Name: N750JK System Version: 1.0
I can confirm a stock ubuntu 22.04 (kernel 6.2) has wifi working out-of-the-box. No bluetooth however, so, this driver might still be useful.
I can confirm a stock ubuntu 22.04 (kernel 6.2) has wifi working out-of-the-box. No bluetooth however, so, this driver might still be useful.
@Mann-webspider @toadjaune Any updates?
I currently have no plan to do any development on this driver at this time. I can, however, test it if someone is willing to do it !
System info
Devince info
Device ID: <run
lsusb |grep -i 'mediatek\|foxcon'
to get it (e.g 0e8d:763f)>General info:
Bluetooth stats:
What didn't work?
fatal error: linux/input-polldev.h: No such file or directory
What did you try?
shelby@shelby-Aspire-A715-42G:~/MT7630E$ sudo ./test
Error code:
Additional info
[Put any additional information here or leave it blank]