Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
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. |
added a commit
to raspberrypi/firmware
that referenced
this issue
Aug 13, 2015
|
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. |
added a commit
to Hexxeh/rpi-firmware
that referenced
this issue
Aug 13, 2015
|
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/ |
XECDesign
commented
Aug 13, 2015
|
Added to the todo list. |
letetfly
commented
Aug 18, 2015
|
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... |
popcornmix
referenced this issue
in OpenELEC/OpenELEC.tv
Aug 19, 2015
Closed
[rbp]Add MediaTek WiFi driver option (unset) #4283
heniotierra
commented
Sep 4, 2015
|
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/. |
XECDesign
commented
Sep 4, 2015
|
This should go in the next release |
heniotierra
commented
Sep 4, 2015
|
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. |
XECDesign
commented
Sep 4, 2015
|
@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) |
heniotierra
commented
Sep 4, 2015
|
+1 |
MrEngman
commented
Sep 4, 2015
|
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 |
clivem
closed this
Sep 16, 2015
ClaymorePT
commented
May 11, 2016
|
Hello! |
airtonoliveira-oplen
commented
Jul 2, 2016
|
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.... |
airtonoliveira-oplen
commented
Jul 2, 2016
|
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.
|
airtonoliveira-oplen
commented
Jul 2, 2016
|
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. |
tomatos666
commented
Jul 28, 2016
|
Hello, |
ClaymorePT
commented
Jul 28, 2016
|
I'm able to use the wireless device as a client but not as an Access Point, On 28 July 2016 at 12:02, tomatos666 notifications@github.com wrote:
Carlos Miguel Ferreira |
Not a working link. Just that the driver developer was aware that there were problems with some devices. |
clivem commentedJul 28, 2015
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.