-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Mediatek mt7601u wifi driver in 4.2 tree #1090
Comments
Added. |
Popcornmix, I just noticed the other "issue" that was closed, someone suggesting moving to 4.2 quickly, to gain in-tree support for the mt7601u. What about back-porting the driver from 4.2 to 4.1. I've been applying the following on top of RPI 4.1 tree.... |
Ok, cool. See you have a applied the backport patch to rpi-4.1.y. Also need to make sure the Linux distribution (raspbian????) supplies the firmware for an out-of-the-box experience. The driver needs to load /lib/firmware/mt7601u.bin to bring the dongle up. Don't think that has been added to linux-firmware.git yet. Seem to recall that is obtained from the MediaTek vendor tarball. (File is called MT7601.bin in their tarball.) This is from memory. Not in front of my "work" computer at the moment. I'll post a new comment later today confirming this. |
kernel: Add Mediatek mt7601u wifi driver from 4.2 kernel See: raspberrypi/linux#1090
Okay, rpi-update should contain the driver. Can you test it and confirm it works? Note: We don't normally support out of tree drivers, but as this is from upstream 4.2 and looks safe, I've included it until we move to 4.2. If there are problems reported I'll drop the patch. @XECDesign would be good to include the firmware file for this in repo. |
kernel: Add Mediatek mt7601u wifi driver from 4.2 kernel See: raspberrypi/linux#1090
Just a quick note.... The firmware I have been using is obtained from downloading the vendor (MediaTek) driver from http://www.mediatek.com/en/downloads1/downloads/mt7601u-usb/ |
Added to the todo list. |
I have testet this 4.1.5 with dwa-127 with mt7601u chip. Only had to manually provide the MT7601.bin to the location /lib/firmware/MT7601u.bin to get i work. Thats it. EDIT: Not successful with hostapd yet... |
Hey, thanks! It was me who opened the previous issue. The timing was just perfect since today I had to do a clean install of Raspbian, after messing some things up accidentally. :) And I can also confirm it's working after copying MT7601.bin to /lib/firmware/. |
This should go in the next release |
Yes, but there's one thing to note. The driver from Mediatek is the old one. The new one (which is to be released with kernel 4.2) was written based on Mediatek's, but seems like a better driver. Here is the new driver's source: https://github.com/kuba-moo/mt7601u. |
@popcornmix What's the preferred firmware here? |
We're using the driver from 4.2 (which is the kuba-moo one). I believe that recommends using the mediatek firmware as described by @clivem in #1090 (comment) |
+1 |
To download and install the firmware I find it rather easier using the command
|
@clivem I think this issue is fixed - Close if you agree. |
Yes, closing this "issue"...... The mt7601u driver is working very nicely with those 4x "cherry picked" patches applied. I'm currently stress testing the driver, transferring 16GB files backward and forward across the network. Seeing sustained transfers greater than 8MB/s..... So it's a nice "cheap" alternative to the usual RTL8188CUS recommendation, when you can still pick up generic MT7601U dongles for less than £3 on ePay, with the external antenna, which might prove useful in less than ideal circumstances, where your Pi is some distance from AP, and the external antenna is the better option, than the built in antenna with the RTL8188CUS nano dongle. YMMV. I'm not recommending this (or any other vendor)..... But just so others can see what I'm currently testing the mt7601u driver with on Pi. (I have several of these as well as the built-in antenna, nano model.) http://www.ebay.co.uk/itm/400937071929 |
Hello! |
Hi this link https://github.com/porjo/mt7601/raw/master/src/mcu/bin/MT7601.bin is not working... |
Get it from the linux-firmware github.... |
file found ok, but dmesg: mt7601u 1-1.5:1.0: Invalid firmware image |
Erm, don't know what the problem is for you. That's the firmware I use.
|
Sorry, file is ok, but still not working yet, raspbian lite 4.4.13+
|
I get "unsupported EEPROM" from several different mt7601u devices I have, but have never seen that "Error: your device needs default EEPROM file and this driver doesn't support it!" msg before. |
Hello, |
I'm able to use the wireless device as a client but not as an Access Point, |
Not a working link. Just that the driver developer was aware that there were problems with some devices. |
Please enable the Mediatek mt7601u wifi driver in the 4.2 tree.
CONFIG_WL_MEDIATEK=y
CONFIG_MT7601U=m
I don't actually use it myself, but remember someone opened an issue in the past about getting a driver included for this wifi dongle, to which the response was something along the lines of, "when it's upstreamed we'll enable it". It got added with 4.2rc3 IIRC.
The text was updated successfully, but these errors were encountered: