View previous topic :: View next topic |
Author |
Message |
Oniryczny Guru
Joined: 01 Dec 2011 Posts: 419 Location: Poland
|
Posted: Sun Mar 11, 2018 8:16 pm Post subject: Edimax EW-7711ULC (7392:a711) Please HELP! |
|
|
Hello
I am trying to run this wifi adapter Code: |
[2018-03-11 21:08:53] usb 2-5: new high-speed USB device number 4 using ehci-pci
[2018-03-11 21:08:53] usb 2-5: New USB device found, idVendor=7392, idProduct=a711
[2018-03-11 21:08:53] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2018-03-11 21:08:53] usb 2-5: Product: WiFi
[2018-03-11 21:08:53] usb 2-5: Manufacturer: MediaTek
[2018-03-11 21:08:53] usb 2-5: SerialNumber: 1.0 |
I guess it is MT7610u which I can't make to run _________________ cogito ergo sum |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Mar 11, 2018 9:14 pm Post subject: |
|
|
Oniryczny,
Google leads me to this Raspberry Pi page.
A link there points to a linux driver download but its for 2.4 and 2.6 kernels so its not very useful.
However, it does show Code: | /* module table */
USB_DEVICE_ID rtusb_dev_id[] = {
#ifdef MT76x0
{USB_DEVICE(0x148F,0x7610)}, /* MT7610U */
{USB_DEVICE(0x0E8D,0x7610)}, /* MT7610U */
{USB_DEVICE(0x7392,0xA711)}, /* MT7610U */ |
So your guess appears to be correct. It's a MT7610u
During my grepping around, I also found Code: | #define MT7601U_FIRMWARE "mt7601u.bin" |
That is provided by linux-firmware.
Set Code: | <M> MediaTek MT7601U (USB) support | for easy firmware loading.
Rebuild and reinstall your kernel.
Code: | emerge linux-firmware | if you don't have it.
Reboot and check the build date/time in
Plug in your WiFi dongle and look at the bottom of dmesg. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Oniryczny Guru
Joined: 01 Dec 2011 Posts: 419 Location: Poland
|
Posted: Mon Mar 12, 2018 5:45 am Post subject: |
|
|
Code: | $ cat /usr/src/linux/.config | grep MT7601
CONFIG_MT7601U=m
$ uname -r
4.9.76-gentoo-r1
$ eix linux-firmware
[I] sys-kernel/linux-firmware
Available versions: 20170314 20180103-r1 ~20180119 ~20180213 **99999999 {savedconfig}
Installed versions: 20180103-r1(10:03:29 11.01.2018)(-savedconfig)
Homepage: https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
Description: Linux firmware files
$ |
I already have all this you mentioned and plugging Edimax gives only what I shoved in my 1st post. _________________ cogito ergo sum |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Mon Mar 12, 2018 10:30 am Post subject: |
|
|
Oniryczny,
Does the module load cleanly or are there errors?
If there are errors when you modprobe, what are they, don't forget to look at the end of dmesg.
With your wifi dongle connected, what does show
That will need to go to a pastebin. It will let readers check your USB tree power loading.
WIfi often needs an entire USB root hub to itself and from your
Code: | [2018-03-11 21:08:53] usb 2-5: Product: WiFi | its sharing with a least three other devices.
Thats bus 2 device 5. Device 1 is the root hub, then there are devices 2, 3 and 4, at least.
I'm not adverse to seeing all of dmesg on a pastebin either. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Oniryczny Guru
Joined: 01 Dec 2011 Posts: 419 Location: Poland
|
Posted: Tue Mar 13, 2018 12:47 pm Post subject: |
|
|
https://paste.pound-python.org/show/CWkwWPTcZprJWOkf8TJZ/
Code: | $ lsmod
Module Size Used by
vhba 8234 0
vboxpci 14318 0
vboxnetadp 18502 0
fam15h_power 4503 0
k10temp 3060 0
vboxnetflt 16580 0
vboxdrv 359825 3 vboxnetadp,vboxnetflt,vboxpci
$ | I don't see any module loading automatically
however module exists Code: |
$ find /lib/modules/$(uname -r) -type f -name '*.ko' | grep mt
/lib/modules/4.9.76-gentoo-r1/kernel/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
$ |
so Code: | # modprobe mt7601u
M5A99X ~ # lsmod
Module Size Used by
mt7601u 77131 0
vhba 8234 0
vboxpci 14318 0
vboxnetadp 18502 0
fam15h_power 4503 0
k10temp 3060 0
vboxnetflt 16580 0
vboxdrv 359825 3 vboxnetadp,vboxnetflt,vboxpci
# |
_________________ cogito ergo sum |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Tue Mar 13, 2018 4:57 pm Post subject: |
|
|
Oniryczny,
Your USB device tree is fine power wise. Heres the important bit.
Code: | Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
MaxPower 0mA
Bus 002 Device 004: ID 7392:a711 Edimax Technology Co., Ltd
idVendor 0x7392 Edimax Technology Co., Ltd
idProduct 0xa711
MaxPower 160mA |
Your wifi dongle is on a USB 2 bus, all on its own. It requires 160mA from the bus, which is well under the 500mA limit for USB 1 and USB 2.
USB3 can provide 900mA.
The device numbering indicates that the dongle did not enumerate correctly the first time, or that its product ID changed, possibly due to the firmware upload.
It does not always indicate a problem. It got there in the end.
So we know something that its not.
I have an Edimax wifi dongle somewhere. I'll rake about and see what it is. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Oniryczny Guru
Joined: 01 Dec 2011 Posts: 419 Location: Poland
|
Posted: Sun Mar 25, 2018 12:37 pm Post subject: |
|
|
I have found another Edimax but it is rtl8812 based one.
EDIT
I have found https://github.com/ulli-kroll/mt7610u/tree/master
and it compilled properly
but my PC hangs so I wrote to the author and he replied (asking If he can help me about this)
Quote: | currently not.
I know there are some race conditions in the code, mostly inside
mcu/mcu_and.c
The code need to be rewritten here |
_________________ cogito ergo sum |
|
Back to top |
|
|
|