Open Freakazoidx86 opened 6 years ago
Hi @Freakazoidx86, did you make and make install this directory : https://github.com/genodeftest/Netgear-A6210/tree/port-to-4.14, Instead of jurobystricky?
I tried that dir a couple of days before but I get some warnings about vfs_read and vfs_writte, that even as simple warnings, when I make install and plug in the dongle, I get some errors on dmesg, I don't remember exactly right now but they were related to the warnings, it's 2am in the morning in here lol, tomorrow I can reproduce those errors and come back with the logs.
Many thanks for replying
Hi @dylan7581 Here are the logs after using genodeftest directory: I append the genode string in the folder name, just to differ from the other directory I previously used(Thog)
make: make log.txt
clean sudo make install:
[reoba@archBox Netgear-A6210-4.14-genode]$ sudo make install [sudo] password for reoba: make -C /home/reoba/Netgear-A6210-4.14-genode/os/linux -f Makefile.6 install make[1]: Entering directory '/home/reoba/Netgear-A6210-4.14-genode/os/linux' rm -rf /etc/Wireless/RT2870STA mkdir -pv /etc/Wireless/RT2870STA mkdir: created directory '/etc/Wireless/RT2870STA' cp /home/reoba/Netgear-A6210-4.14-genode/conf/RT2870STA.dat /etc/Wireless/RT2870STA/. install -d /lib/modules/4.14.13-1-ARCH/kernel/drivers/net/wireless/ install -m 644 -c mt7662u_sta.ko /lib/modules/4.14.13-1-ARCH/kernel/drivers/net/wireless/ /sbin/depmod -a 4.14.13-1-ARCH make[1]: Leaving directory '/home/reoba/Netgear-A6210-4.14-genode/os/linux'
And then, I can't load the module mt7662u_sta:
[reoba@archBox Netgear-A6210-4.14-genode]$ sudo modprobe mt7662u_sta modprobe: ERROR: could not insert 'mt7662u_sta': Unknown symbol in module, or unknown parameter (see dmesg)
dmesg:
[ 1192.020936] mt7662u_sta: Unknown symbol vfs_write (err 0) [ 1192.021186] mt7662u_sta: Unknown symbol vfs_read (err 0)
I noticed that even without the driver loaded, if I plug-in the dongle, I get the same journal lines that I post in first post, does that means driver isnt really loaded in both cases? I feel somehow pretty lost here lol btw, I downloaded the genodeftest directory from another PC using this command, is it right?
git clone -b port-to-4.14 --single-branch https://github.com/genodeftest/Netgear-A6210.git
Then i just copied the folder with a usb.
EDIT
Very dumb from my side, I forgot to add my device VendorID and DeviceID to the rtusb_dev_id.c file, in both cases... So I did and for the genodeftest fork nothing is different, same vfs_write and read errors. But for the Thog fork, it changes, after I pulg-in the usb, i get this error line multiple times , in dmesg:
RTUSB_VendorRequest failed(-32),TxFlags=0x0, ReqType=IN, Req0x7, Idx=0x1000,pAd->Flags=0x0
And if I do an ifconfig -a, it hangs for a sec/minute, and sometimes it shows me a wlan0 device, but very attempt to use NetworkManager, it just hangs with no avail... somehow i feel closer now lol
Hi @Freakazoidx86 , Sorry I wanted to help you at best, but I can make nothing furthermore, I even I did not solve my problem.
@dylan7581 Oh It's ok no worries, the info is there for whoever might know what my problem is.
Many thanks for replying man, Greetings!
;-) Greetings, good luck!
I think I know why it doesnt work... I thought my dongle had the same chip as the Mediatek used in the AC6210, but it doesn't, my A6200 has the Vendor and Device IDs 0846:9050 wich uses the Broadcom BCM43526 with no support at all for linux.... So, it sucks but its my bad for buying something without previous investigation.
I will just comment that I found a some sort of fix.... I use a VM with either Windows XP or Windows 7, just to bypass the Internet from the VM to Arch, I thought maybe this could be useful to someone else.
Hi, I don't have that much experience coding, I do have coded in other languages but nothing strong on C like this; anyhow, I used the fork by Thog, which is for Kernel 4.14; Everything compiles fine, I do have a warning about something being Not Null, other than that everything seems ok; I make install without errors either, modprobe the module, but when I insert the dongle, this is shown on my logs
journal:
dmesg:
And its just not recognized, i get no wlan0 device
My OS is Archlinux 64Bits with Kernel 4.14 If any information is needed just let me know, I have to boot Windows in order to get Internet from this PC. Many thanks in advance PS: English is not my native language, I apologize if grammatical errors or any sentence makes no sense :/ PS2: This is my first time commenting on GitHub, hope I'm posting this the right way.