M5-64: RealTek/MediaTek MT7601u USB WiFi

M5-64: RealTek/MediaTek MT7601u USB WiFi

Postby elmago » Jun 11th, '16, 22:41

For about a week I had been struggling to make one of these two USB WiFi to work on a Mageia desktop:-
1. MediaTek/RealTek MT7601U : This costs about $8 on eBay in US and comes with a mini-CD. Picture attached.
2. RealTek RT8188EUS: This is a bare bone stick (about $5) and no CD. Picture attached.

I found the solution for MT7610U on GitHub today. Linux kernel 4.2 onward will have this supported. Kernel 3.19 to 4.1.x will need to install a driver.
This info is from https://github.com/kuba-moo/mt7601u
Current version after latest update on the Mageia desktop reveals this
Code: Select all
[u67@chlsv1 ~]$ uname -a
Linux chlsv1 4.1.15-desktop-2.mga5 #1 SMP Wed Jan 20 17:05:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[u67@chlsv1 ~]$


So, downloaded the code. No "git" install is needed. Upper right corner of the GitHub page shows a zipped download option. Used it to get the mt7601u-master.zip, copied it to a folder for building, upzipped it, then made sure of the presence of 2 important packages: gcc and kernel-desktop-devel-4.1.15-2.mga5-1-1.mga5.x86_64. Note that the version # in kernel-desktop-devel package matches what is shown in "uname -a". This is really important or else there may be compilation errors.

It built fine. Inserted adapter and immediately the WiFi Applet showed it is connected. But it still would not actually do http. No routes. So, used the WiFi Applet to configure and connect. It finally showed the green icon of connectivity. Works fine now.

Wish I could manage the other RT8188EUS stick as well. Still struggling with it. It is probable that some other module is also trying to drive it....
Code: Select all
[u67@chlsv1 ~]$
[u67@chlsv1 ~]$ lsmod | grep r8
r8188eu               466944  0
r8169                  81920  0
mii                    16384  1 r8169
usbcore               241664  8 uhci_hcd,r8188eu,mt7601u,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
[u67@chlsv1 ~]$

I know r8169 is needed to drive the motherboard Giagbit Ethernet LAN chip. That r8188eu probably came in because of my effort to drive the stick for last few days. Any help will be very useful.

Here is the log of building and using the MediaTek/RealTek MT7601U adapter:-
Code: Select all
Source downloaded from: https://github.com/kuba-moo/mt7601u on 11 June 2016

[root@chlsv1 mt7601u-master]# l
total 272
drwxrwxr-x 3 u67 u67  4096 Jun 11 12:54 ../
drwxrwxr-x 2 u67 u67  4096 May 16 20:23 ./
-rw-rw-r-- 1 u67 u67  1642 May 16 20:23 core.c
-rw-rw-r-- 1 u67 u67  5036 May 16 20:23 debugfs.c
-rw-rw-r-- 1 u67 u67 12195 May 16 20:23 dma.c
-rw-rw-r-- 1 u67 u67  3379 May 16 20:23 dma.h
-rw-rw-r-- 1 u67 u67 10468 May 16 20:23 eeprom.c
-rw-rw-r-- 1 u67 u67  3525 May 16 20:23 eeprom.h
-rw-rw-r-- 1 u67 u67    79 May 16 20:23 .gitignore
-rw-rw-r-- 1 u67 u67 15452 May 16 20:23 init.c
-rw-rw-r-- 1 u67 u67  5282 May 16 20:23 initvals.h
-rw-rw-r-- 1 u67 u67  7866 May 16 20:23 initvals_phy.h
-rw-rw-r-- 1 u67 u67   229 May 16 20:23 Kbuild
-rw-rw-r-- 1 u67 u67 14778 May 16 20:23 mac.c
-rw-rw-r-- 1 u67 u67  4874 May 16 20:23 mac.h
-rw-rw-r-- 1 u67 u67 10748 May 16 20:23 main.c
-rw-rw-r-- 1 u67 u67   247 May 16 20:23 Makefile
-rw-rw-r-- 1 u67 u67 13089 May 16 20:23 mcu.c
-rw-rw-r-- 1 u67 u67  2268 May 16 20:23 mcu.h
-rw-rw-r-- 1 u67 u67  9571 May 16 20:23 mt7601u.h
-rw-rw-r-- 1 u67 u67 31151 May 16 20:23 phy.c
-rw-rw-r-- 1 u67 u67  3021 May 16 20:23 README.md
-rw-rw-r-- 1 u67 u67 19713 May 16 20:23 regs.h
-rw-rw-r-- 1 u67 u67   656 May 16 20:23 trace.c
-rw-rw-r-- 1 u67 u67  9749 May 16 20:23 trace.h
-rw-rw-r-- 1 u67 u67  9335 May 16 20:23 tx.c
-rw-rw-r-- 1 u67 u67  9479 May 16 20:23 usb.c
-rw-rw-r-- 1 u67 u67  2152 May 16 20:23 usb.h
-rw-rw-r-- 1 u67 u67   987 May 16 20:23 util.c
-rw-rw-r-- 1 u67 u67  2418 May 16 20:23 util.h
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# make
make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: Entering directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
  LD      /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/built-in.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/usb.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/init.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/main.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mcu.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/trace.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/dma.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/core.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/eeprom.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/phy.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mac.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/util.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/debugfs.o
  CC [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/tx.o
  LD [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mt7601u.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mt7601u.mod.o
  LD [M]  /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mt7601u.ko
make[1]: Leaving directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# l
total 13888
drwxrwxr-x 3 u67  u67     4096 Jun 11 13:48 ./
-rw-r--r-- 1 root root     519 Jun 11 13:48 .mt7601u.ko.cmd
-rw-r--r-- 1 root root 4402677 Jun 11 13:48 mt7601u.ko
-rw-r--r-- 1 root root   27023 Jun 11 13:48 .mt7601u.mod.o.cmd
-rw-r--r-- 1 root root   74304 Jun 11 13:48 mt7601u.mod.o
-rw-r--r-- 1 root root       0 Jun 11 13:48 Module.symvers
-rw-r--r-- 1 root root    8281 Jun 11 13:48 mt7601u.mod.c
-rw-r--r-- 1 root root     118 Jun 11 13:48 modules.order
drwxr-xr-x 2 root root    4096 Jun 11 13:48 .tmp_versions/
-rw-r--r-- 1 root root    1643 Jun 11 13:48 .mt7601u.o.cmd
-rw-r--r-- 1 root root 4329859 Jun 11 13:48 mt7601u.o
-rw-r--r-- 1 root root   46175 Jun 11 13:48 .tx.o.cmd
-rw-r--r-- 1 root root  319760 Jun 11 13:48 tx.o
-rw-r--r-- 1 root root   45901 Jun 11 13:48 .debugfs.o.cmd
-rw-r--r-- 1 root root  297352 Jun 11 13:48 debugfs.o
-rw-r--r-- 1 root root   45755 Jun 11 13:48 .util.o.cmd
-rw-r--r-- 1 root root  260448 Jun 11 13:48 util.o
-rw-r--r-- 1 root root   46285 Jun 11 13:48 .mac.o.cmd
-rw-r--r-- 1 root root  327048 Jun 11 13:48 mac.o
-rw-r--r-- 1 root root   46627 Jun 11 13:48 .phy.o.cmd
-rw-r--r-- 1 root root  378480 Jun 11 13:48 phy.o
-rw-r--r-- 1 root root   46083 Jun 11 13:48 .eeprom.o.cmd
-rw-r--r-- 1 root root  306456 Jun 11 13:48 eeprom.o
-rw-r--r-- 1 root root   45755 Jun 11 13:48 .core.o.cmd
-rw-r--r-- 1 root root  282784 Jun 11 13:48 core.o
-rw-r--r-- 1 root root   46406 Jun 11 13:48 .dma.o.cmd
-rw-r--r-- 1 root root  338240 Jun 11 13:48 dma.o
-rw-r--r-- 1 root root   50538 Jun 11 13:48 .trace.o.cmd
-rw-r--r-- 1 root root  535736 Jun 11 13:48 trace.o
-rw-r--r-- 1 root root   46590 Jun 11 13:48 .mcu.o.cmd
-rw-r--r-- 1 root root  327360 Jun 11 13:48 mcu.o
-rw-r--r-- 1 root root   46007 Jun 11 13:48 .main.o.cmd
-rw-r--r-- 1 root root  330008 Jun 11 13:48 main.o
-rw-r--r-- 1 root root   46578 Jun 11 13:48 .init.o.cmd
-rw-r--r-- 1 root root  349032 Jun 11 13:48 init.o
-rw-r--r-- 1 root root   48156 Jun 11 13:48 .usb.o.cmd
-rw-r--r-- 1 root root  342672 Jun 11 13:48 usb.o
-rw-r--r-- 1 root root       8 Jun 11 13:48 built-in.o
-rw-r--r-- 1 root root     356 Jun 11 13:48 .built-in.o.cmd
drwxrwxr-x 3 u67  u67     4096 Jun 11 12:54 ../
-rw-rw-r-- 1 u67  u67     1642 May 16 20:23 core.c
-rw-rw-r-- 1 u67  u67     5036 May 16 20:23 debugfs.c
-rw-rw-r-- 1 u67  u67    12195 May 16 20:23 dma.c
-rw-rw-r-- 1 u67  u67     3379 May 16 20:23 dma.h
-rw-rw-r-- 1 u67  u67    10468 May 16 20:23 eeprom.c
-rw-rw-r-- 1 u67  u67     3525 May 16 20:23 eeprom.h
-rw-rw-r-- 1 u67  u67       79 May 16 20:23 .gitignore
-rw-rw-r-- 1 u67  u67    15452 May 16 20:23 init.c
-rw-rw-r-- 1 u67  u67     5282 May 16 20:23 initvals.h
-rw-rw-r-- 1 u67  u67     7866 May 16 20:23 initvals_phy.h
-rw-rw-r-- 1 u67  u67      229 May 16 20:23 Kbuild
-rw-rw-r-- 1 u67  u67    14778 May 16 20:23 mac.c
-rw-rw-r-- 1 u67  u67     4874 May 16 20:23 mac.h
-rw-rw-r-- 1 u67  u67    10748 May 16 20:23 main.c
-rw-rw-r-- 1 u67  u67      247 May 16 20:23 Makefile
-rw-rw-r-- 1 u67  u67    13089 May 16 20:23 mcu.c
-rw-rw-r-- 1 u67  u67     2268 May 16 20:23 mcu.h
-rw-rw-r-- 1 u67  u67     9571 May 16 20:23 mt7601u.h
-rw-rw-r-- 1 u67  u67    31151 May 16 20:23 phy.c
-rw-rw-r-- 1 u67  u67     3021 May 16 20:23 README.md
-rw-rw-r-- 1 u67  u67    19713 May 16 20:23 regs.h
-rw-rw-r-- 1 u67  u67      656 May 16 20:23 trace.c
-rw-rw-r-- 1 u67  u67     9749 May 16 20:23 trace.h
-rw-rw-r-- 1 u67  u67     9335 May 16 20:23 tx.c
-rw-rw-r-- 1 u67  u67     9479 May 16 20:23 usb.c
-rw-rw-r-- 1 u67  u67     2152 May 16 20:23 usb.h
-rw-rw-r-- 1 u67  u67      987 May 16 20:23 util.c
-rw-rw-r-- 1 u67  u67     2418 May 16 20:23 util.h
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# lsmod | grep 80211
mac80211              643072  3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211              548864  2 mac80211,rt2x00lib
rfkill                 24576  1 cfg80211
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# insmod ./mt7601u.ko
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# lsmod | grep mt7
mt7601u               102400  0
mac80211              643072  4 rt2x00lib,rt2x00usb,mt7601u,rt2800lib
cfg80211              548864  3 mac80211,rt2x00lib,mt7601u
usbcore               241664  12 uas,uhci_hcd,rt2x00usb,usb_storage,r8188eu,mt7601u,rt2800usb,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
[root@chlsv1 mt7601u-master]#

...............................................................
Inserted WiFi stick and Configured/Connected with Network Applet.
...............................................................

[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# lspcidrake -v | grep -iE "wlan|wifi|wireless|net"
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1458 subd:e000) (rev: 02)
mt7601u         : MediaTek|802.11 n WLAN (vendor:148f device:7601)
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.72 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.847 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.847/1.287/1.728/0.441 ms
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# ip route
default via 192.168.0.1 dev wlp0s26f7u1  metric 35
169.254.0.0/16 dev wlp0s26f7u1  scope link  metric 35
192.168.0.0/24 dev wlp0s26f7u1  proto kernel  scope link  src 192.168.0.103  metric 35
[root@chlsv1 mt7601u-master]#

......................................................
To make the module load automatically after reboot....
......................................................

[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# make && sudo make install && depmod
make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: Entering directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
make -C /lib/modules/`uname -r`/build M=$PWD modules_install
make[1]: Entering directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
  INSTALL /home/u67/Documents/2016_06_07_networking_issue/github_download_for_MT7601U/unzipped/mt7601u-master/mt7601u.ko
  DEPMOD  4.1.15-desktop-2.mga5
make[1]: Leaving directory '/usr/src/kernel-4.1.15-desktop-2.mga5'
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
Attachments
RT8188EUS.jpg
RT8188EUS.jpg (13.79 KiB) Viewed 574 times
MediaTek_MT7601U.jpg
MediaTek_MT7601U.jpg (32.57 KiB) Viewed 574 times
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: M5-64: RealTek/MediaTek MT7601u USB WiFi

Postby elmago » Jun 12th, '16, 02:21

The RealTek RT8188EUS bare bone stick is not going to work ... at least it looks like that. Here are the "lsusb" output for both the adapters (one at a time):-

Code: Select all
[root@chlsv1 wireless.d]#
[root@chlsv1 wireless.d]# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 008 Device 002: ID 1c4f:0034 SiGma Micro
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@chlsv1 wireless.d]#
[root@chlsv1 wireless.d]#
[root@chlsv1 wireless.d]# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 008 Device 002: ID 1c4f:0034 SiGma Micro
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@chlsv1 wireless.d]#
[root@chlsv1 wireless.d]#


And the "modinfo" from the two drivers involved (r8188eu & mt7601u) show this:-
Code: Select all
[root@chlsv1 mt7601u-master]# modinfo mt7601u
filename:       /lib/modules/4.1.15-desktop-2.mga5/extra/mt7601u.ko
license:        GPL
firmware:       mt7601u.bin
srcversion:     215888AD0E0D4167FA56E82
alias:          usb:v7392p7710d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2A5Fp1000d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2955p1001d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2955p0001d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2717p4106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3D04d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13D3p3434d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13D3p3431d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E8Dp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E8Dp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D3d*dc*dsc*dp*ic*isc*ip*in*
depends:        cfg80211,usbcore,mac80211
vermagic:       4.1.15-desktop-2.mga5 SMP mod_unload modversions
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]#
[root@chlsv1 mt7601u-master]# modinfo r8188eu
filename:       /lib/modules/4.1.15-desktop-2.mga5/kernel/drivers/staging/rtl8188eu/r8188eu.ko.xz
version:        v4.1.4_6773.20130222
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     C8D8C40194447593214B47A
alias:          usb:v0DF6p0076d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep4008d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*in*
depends:        usbcore
staging:        Y
intree:         Y
vermagic:       4.1.15-desktop-2.mga5 SMP mod_unload modversions
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_initmac:charp
parm:           rtw_channel_plan:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_cbw40_enable:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_ampdu_amsdu:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_rf_config:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_fw_iol:FW IOL (int)
parm:           rtw_mc2u_disable:int
parm:           rtw_80211d:Enable 802.11d mechanism (int)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           debug:Set debug level (1-9) (default 1) (int)
[root@chlsv1 mt7601u-master]#


The r8188eu has a line alias: usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*in*
That means it will support the Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

The mt7601u has no such line matching the 0bda:8179. So, despite the claim that "the no-name black&red device from ebay with small detachable antenna" (https://github.com/kuba-moo/mt7601u) can be driven, this particular WiFi stick with RT8188EUS is unlikely to work even if I kludge the mt7601u_device_table[] in its usb.c file. I bought it from a Malaysian vendor on eBay in Jan 2016 for $5 (incl S/H).

The only choice is r8188eu driver. It is from "staging" folder and so not quite ready for prime time. Unfortunately it is not working in my setup. :(
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron