trying to install mt7610u (linksys ae6000)
|
19th Feb, 2016, 10:38 AM
Post: #1
|
|||
|
|||
trying to install mt7610u (linksys ae6000)
As the title suggests, I'm trying to install drivers for my Linksys AE6000 5g wireless usb (mt7610u driver). I've followed a few guides for the mt7601u, substituting my mt7610u source for the build. It builds without issues, then installs without issues... but I don't think it installed properly, as I can't find it with modprobe, and lsusb just shows "Linksys".. no model number or driver number.
Code: make[1]: Leaving directory '/usr/src/linux' Where did I go wrong? |
|||
19th Feb, 2016, 08:53 PM
Post: #2
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
I guess I should give more information on my steps.. lol. Sorry about that.
First I needed to get the Vendor and Device ID, needed to modify rtusb_dev_id.c file. I'd missed that step the first time, so I hoped that was my fix. Not so. I found a modified version of the same driver on gethub, that already had the Vendor and Device ID's. Same story.. it builds, and it installs... it just doesn't load or show the full device name with lsusb. Still the same Linksys.. it should say MT7610U Linksys AC580. Anyway... here's my workflow... maybe someone else has an idea. Code: ssh xbian@xxx.xxx.x.x Then after rebooting... Code: xbian@xbian ~ $ lsusb I'm lost. And lsmod... Code: xbian@xbian ~ $ lsmod |
|||
19th Feb, 2016, 10:01 PM
Post: #3
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Reading the modified source from github, and it was modified for Ubuntu.. even though it compiled and installed. I was then reading in the source downloaded from Mediatek themselves, and it seems I missed a step at the end.. actually loading the module.
Code: 6> load driver, go to "os/linux/" directory. I'll start again with the original source, and add that step at the end. We shall see. |
|||
20th Feb, 2016, 09:04 AM
(This post was last modified: 20th Feb, 2016 09:43 AM by Nachteule.)
Post: #4
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
What happens if you do a
Quote:sudo modprobe mt7610u_staBtw, should not be a problem to add this driver to our kernel |
|||
20th Feb, 2016, 09:35 AM
Post: #5
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
(20th Feb, 2016 09:04 AM)Nachteule Wrote: What happens if you do aQuote:sudo modprobe mt7610uBtw, should not be a problem to add this driver to our kernel It gives a fatal panic saying it can't find it. I think it's supposed to be sudo modprobe mt7610Usta, as that's what's needed for the mt7601u chip. Neither work. I'm coming from openelec, basically because it's so damn hard to add anything to the root system unless you compile it into the entire image. Not as easy as a knoppix remaster though. And osmc's too buggy for me. So.. I came upon xbian. So far I like it.. I can install things. It also looks like it has perl, or at least I can install it. I need that for zap2xml. |
|||
20th Feb, 2016, 09:48 AM
(This post was last modified: 20th Feb, 2016 09:48 AM by Nachteule.)
Post: #6
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
You're right, the module name should be mt7610u_sta. So what happens if you type sudo modprobe mt7610u_sta?
|
|||
20th Feb, 2016, 09:58 AM
Post: #7
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Code: modprobe: FATAL: Module mt7610u_sta not found. I'm about to do a fresh install and start over. I must've done something wrong. |
|||
20th Feb, 2016, 10:13 AM
(This post was last modified: 20th Feb, 2016 10:15 AM by Nachteule.)
Post: #8
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Probably module not installed
Btw, I've just added the module source and build prodecure to our kernel build system. Module will be built and packed successfully into kernel .deb file. Tomorrow after some more tests I'll commit changes and build new kernel packages |
|||
20th Feb, 2016, 02:24 PM
Post: #9
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
(20th Feb, 2016 10:13 AM)Nachteule Wrote: Probably module not installed Cool... 'cause now I can't even repeat the build.. lol. Keeps telling me Code: make[1]: *** [_module_/home/xbian/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2 I went through this last night.. many times. I just can't remember what it was that fixed it. Too many read-me's in my folder. You're right.. I don't think it loaded. rt2870 should be listed after lsmod.. I'm guessing. I haven't compiled a kernal in years, but I remember a few more steps than what I just tried. Specifically loading the module after building it. That's what I thought "$/sbin/insmod rt2870sta.o" or "$/sbin/insmod rt2870sta.ko" would do. I just can't get back to where I can test it. Do I need anything else installed library-wise? Google tells me I might need to install linux headers. |
|||
20th Feb, 2016, 04:05 PM
Post: #10
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Got it to compile again, but it still doesn't load. It seems to install mt7650u_sta.ko.
Code: root@xbian:/home/xbian/mt7610u_wifi_sta_v3002_dpo_20130916# make install |
|||
20th Feb, 2016, 08:58 PM
Post: #11
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
WooHoo!! .. Kinda.. lol.
The source I quoted in my 2nd post, builds mt7650u_sta.ko. The source that I said was from a Ubuntu user, builds mt7610u_sat.ko.. but insmod complains.. Code: insmod: ERROR: could not insert module mt7610u_sta.ko: Invalid module format I figured i needed the 7610u, not the 7650u. Tried compiling the source from Mediatek's own site.. still gave the error about "recipe for target 'LINUX' failed". So I decided to google about linux-headers for the pi, and came across a thread saying to just "sudo apt-get install linux-headers".. lol. But that command will ask you to specify which linux-headers.. bcm2838 or arm(something). Luckily, I noticed the display when Xbian updated after the initial install.. Code: Unpacking linux-image-bcm2836 (4.1.13+-1455772365) over (4.1.13+-1455300621) So... Code: apt-get install linux-headers-bcm2836 The build with the source from the main site still crashed.. lol. So I went back to the mt7650u source. The first thing I see.. is it's using the "linux-headers-4.1.13+" directory. It compiles, then installs. I then made sure to load the damn thing this time.. lol. Code: /sbin/insmod /home/xbian/mt7610u*/os/linux/mt7650u_sta.ko Rebooted.. the little blue light started blinking.. I have connection. I have 2.4g connection... adding the 5g SSD to the /etc/wpa_supplicant/wpa_supplicant.conf results in Xbian showing the device is "Dormant", but after hitting the SSID tab to search and fill the list.. it closes instantly. No list to be had. So either I compiled wrong, or I need to change some settings somewhere. 1/2 way there. |
|||
21st Feb, 2016, 01:31 AM
Post: #12
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Great things are going on
Yes, the source in your 2nd post builds 7650 module, which should support 7610, 7630 and 7650 chiipset. Now you are at a point I can't help you - no wlan dongle and no 5G AP available |
|||
21st Feb, 2016, 10:30 AM
Post: #13
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
(21st Feb, 2016 01:31 AM)Nachteule Wrote: Great things are going on Googling, it seems it's the kernel that's the issue. Prior to 4.0 they had dual-band with this unit, but 4.1 they don't. There's a mt7612u available, but I ran into the same "recipe for target 'LINUX' failed" issue. Oh well.. even at 2.4g, this is still faster than the other 2.4g Tenda unit I just replaced. |
|||
21st Feb, 2016, 11:15 AM
Post: #14
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
Did you found this, especially last post? http://superuser.com/questions/738096/how-to-install-mediatek-mt7610u-rt2860-driver
|
|||
21st Feb, 2016, 02:56 PM
Post: #15
|
|||
|
|||
RE: trying to install mt7610u (linksys ae6000)
(21st Feb, 2016 11:15 AM)Nachteule Wrote: Did you found this, especially last post? http://superuser.com/questions/738096/how-to-install-mediatek-mt7610u-rt2860-driver Yep.. came across that a few times, and yes, I changed it. Not so easy to find in a terminal.. lol.. no line addresses. I needed to open with gedit in ubuntu just to see what lines preceded and followed, just to make sure I had the right instance of 2860 to change. I liked the tip about commenting out all but the driver version you want. I might try that. Code: ifeq ($(CHIPSET),) I'm also thinking of trying that source uploaded by the ubuntu user, the x64 source that built the mt7610u.ko, but said invalid format. I'm thinking that was because I didn't have the headers available for the build. Now that I have them, I'll try again. |
|||
« Next Oldest | Next Newest »
|