Skip to content
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

Add support for TP-LINK TL-WN727N rev4. #36

Open
BigJacobus opened this issue Apr 25, 2016 · 20 comments
Open

Add support for TP-LINK TL-WN727N rev4. #36

BigJacobus opened this issue Apr 25, 2016 · 20 comments
Assignees
Milestone

Comments

@BigJacobus
Copy link

I believe the drivers are just missing from the current build 3.1.

@foxbunny
Copy link
Contributor

Could you please give us the make and model of the wifi adaptor? Or a product page / photo of the package, or something along those lines, if exact make and model are unknown.

@foxbunny foxbunny added this to the 4.0 milestone Apr 25, 2016
@foxbunny foxbunny self-assigned this Apr 25, 2016
@BigJacobus
Copy link
Author

Does the below information provide enough detail ?

[ 3437.799880] usb 1-1.3: USB disconnect, device number 4
[ 3440.085030] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[ 3440.561595] usb 1-1.3: New USB device found, idVendor=148f, idProduct=7601
[ 3440.573433] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3440.665041] usb 1-1.3: reset high-speed USB device number 6 using dwc_otg
[ 3440.776516] mt7601u 1-1.3:1.0: ASIC revision: 76010001 MAC revision: 76010500
[ 3440.790256] mt7601u 1-1.3:1.0: Direct firmware load for mt7601u.bin failed with error -2
[ 3440.804579] mt7601u: probe of 1-1.3:1.0 failed with error -2

@foxbunny
Copy link
Contributor

Yeah, thanks

@foxbunny foxbunny changed the title Add usb wifi support. Add support for TP-LINK TL-WN727N rev4. Apr 26, 2016
@foxbunny
Copy link
Contributor

This dongle is suppoed to be using the MediaTek MT7601U chip. Driver seems to have already been installed, so should be just a matter of adding mt7601u.bin firmware.

@foxbunny
Copy link
Contributor

Should also be noted that it may not support AP mode.

@foxbunny
Copy link
Contributor

foxbunny commented Apr 26, 2016

Some more info on where firmware can be obtained.

EDIT: Actual link to vendor driver

@foxbunny
Copy link
Contributor

Since the page which has the link to the vendor driver says it's under GPL, I will attach the firmware file that was found in the package. Don't ask for the firmware sources cause there were none. ;)

mp7601u.bin.gz

@BigJacobus try booting the Pi without the dongle attached, then copy this file into /lib/firmware and then plug the dongle in. See if that will make it work.

@BigJacobus
Copy link
Author

I will have details for you by tomorrow on this. Did not realize there was no SCP support on dropbear.

@foxbunny
Copy link
Contributor

Note that it does not have SFTP though. Some clients may need adjusting.

foxbunny pushed a commit that referenced this issue Apr 26, 2016
Ref #36

Signed-off-by: Branko Vukelic <[email protected]>
@BigJacobus
Copy link
Author

Some what of a new message.

[ 122.384239] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 122.862275] usb 1-1.2: New USB device found, idVendor=148f, idProduct=7601
[ 122.875466] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 123.022571] usb 1-1.2: reset high-speed USB device number 5 using dwc_otg
[ 123.154167] mt7601u 1-1.2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[ 123.172245] mt7601u 1-1.2:1.0: Direct firmware load for mt7601u.bin failed with error -2
[ 123.189853] mt7601u: probe of 1-1.2:1.0 failed with error -2
[ 123.202190] usbcore: registered new interface driver mt7601u

@foxbunny
Copy link
Contributor

Not very promising. Do you have a Linux PC on which you can try? If so, I'd be interested in two things:

  1. the dmesg messages when the dongle is plugged in
  2. whether mt7601u.bin is present somewhere in /lib/firmware and what the md5 hash of the file is

@BigJacobus
Copy link
Author

BigJacobus commented Apr 26, 2016

I run the same adapter in raspbian and its works. I will get that fire up and get you some details.

@BigJacobus
Copy link
Author

Okay I am the ID10T this time around. I bought 5 of these adapters all at one and one of them ended up being bad. That happend to be the one I was trying to use. I switched it for another in the batch and its all good to go.

[ 3415.655905] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
[ 3415.767767] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8176
[ 3415.780506] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3415.793599] usb 1-1.3: Product: 802.11n WLAN Adapter
[ 3415.803948] usb 1-1.3: Manufacturer: Realtek
[ 3415.813895] usb 1-1.3: SerialNumber: 00e04c000001
[ 3416.032205] usbcore: registered new interface driver rtl8192cu
[ 3416.764562] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

@foxbunny
Copy link
Contributor

Well, that 'bad' device has a different vendor and product ID, though.

@BigJacobus
Copy link
Author

Raspbian gave me eve less than ORxPi. I will pass you what I get from there on the original adapter in raspbian.

@foxbunny
Copy link
Contributor

You could try updating Raspbian to 4.4.y kernel and see if it works.

@BigJacobus
Copy link
Author

BigJacobus commented Apr 27, 2016

This is what I got under the current kernel. I will see what it takes to get/boot 4.4. and get back with further details.

[ 219.472419] usb 1-1.5: USB disconnect, device number 8
[ 221.500953] usb 1-1.5: new high-speed USB device number 9 using dwc_otg
[ 221.967124] usb 1-1.5: New USB device found, idVendor=148f, idProduct=7601
[ 221.967156] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

@BigJacobus
Copy link
Author

Ran the following "sudo BRANCH=next rpi-update"
Performed reboot as stated. Never gets past rainbow screen. I will keep digging and get back when I actually have something.

@foxbunny
Copy link
Contributor

Ouch. If it doesn't work out, we'll have a brand new image for testing some time in June. That image will be on 4.4.y so we can revisit then.

@BigJacobus
Copy link
Author

BigJacobus commented Apr 27, 2016

Okay firing up in 4.1 kernel.

[ 729.705037] usb 1-1.5: new high-speed USB device number 9 using dwc_otg
[ 730.170718] usb 1-1.5: New USB device found, idVendor=148f, idProduct=7601
[ 730.170756] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 730.265013] usb 1-1.5: reset high-speed USB device number 9 using dwc_otg
[ 730.366256] mt7601u 1-1.5:1.0: ASIC revision: 76010001 MAC revision: 76010500
[ 730.367804] mt7601u 1-1.5:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[ 730.774218] mt7601u 1-1.5:1.0: EEPROM ver:0b fae:00
[ 731.012922] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[ 731.227546] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

lsusb
Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants