基本信息
支持的设备- MY-IMX6-A9系列:MY-IMX6-EK200、MY-IMX6-EK314、MY-IMX6-EK336
测试使用的设备- 开发板型号:MY-IMX6-EK200-6Q
- 内核版本:Linux-3.14.52
- 文件系统:distro-fsl-imx-fb-image-qt5.tar.bz2
测试使用的模块型号
测试操作
检查系统是否已经识别到模块# lsu*** ......Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.......
基于 RTL8188EUS v4.3.0.9 驱动的测试- Insert a module into the Linux Kernel
# insmod ~/my-demo/MY_8188EUS_V4309_L31452_IMX6A9.koRTL871X: module init startRTL871X: rtl8188eu v4.3.0.9_15178.20150907bFWReady == _FALSE call reset 8051...RTL871X: rtw_ndev_init(wlan0)u***core: registered new interface driver rtl8188euRTL871X: module init ret=0
- Configuration
Generate a WPA PSK from an ASCII passphrase for a SSID
usage: wpa_passphrase [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.confSuccessfully initialized wpa_supplicantrfkill: Cannot open RFKILL control device==> rtl8188e_iol_efuse_patchIPv6: ADDRCONF(NETDEV_UP): wlan0: link is not readyRTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008RTL871X: start authRTL871X: auth success, start assocRTL871X: assoc successIPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes readyRsvdPageNum: 8RTL871X: recv eapol packetRTL871X: send eapol packetRTL871X: recv eapol packetRTL871X: send eapol packetRTL871X: set pairwise key camid:4, addr:e4:d3:32:85:d4:7c, kid:0, type:AESRTL871X: set group key camid:5, addr:e4:d3:32:85:d4:7c, kid:1, type:AES
# udhcpc -i wlan0udhcpc (v1.23.1) startedSending discover...Sending select for 192.168.124.107...Lease of 192.168.124.107 obtained, lease time 7200/etc/udhcpc.d/50default: Adding DNS 114.114.114.114/etc/udhcpc.d/50default: Adding DNS 114.114.115.115
# ping -I wlan0
www.baidu.com -c 2 -w 4PING
www.baidu.com (14.215.177.39): 56 data bytes64 bytes from 14.215.177.39: seq=0 ttl=50 time=39.166 ms64 bytes from 14.215.177.39: seq=1 ttl=50 time=13.345 ms---
www.baidu.com ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 13.345/26.255/39.166 ms
- Remove a module from the Linux Kernel
# rmmod 8188euRTL871X: module exit startu***core: deregistering interface driver rtl8188euRTL871X: rtw_cmd_thread: DriverStopped(1) SurpriseRemoved(0) break at line 478RTL871X: rtw_ndev_uninit(wlan0)RTL871X: rtw_dev_unload: driver not in IPSu*** 1-1.4: reset high-speed USB device number 4 using ci_hdrcRTL871X: module exit success
基于 RTL8188EUS v5.2.2.2 驱动的测试- Insert a module into the Linux Kernel
# insmod ~/my-demo/MY_8188EUS_V5222_L31452_IMX6A9.kobFWReady == _FALSE call reset 8051...u***core: registered new interface driver rtl8188eu
- Configuration
Generate a WPA PSK from an ASCII passphrase for a SSID
usage: wpa_passphrase [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.confSuccessfully initialized wpa_supplicantrfkill: Cannot open RFKILL control device==> rtl8188e_iol_efuse_patchIPv6: ADDRCONF(NETDEV_UP): wlan0: link is not readyIPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
# udhcpc -i wlan0udhcpc (v1.23.1) startedSending discover...Sending select for 192.168.124.107...Lease of 192.168.124.107 obtained, lease time 7200/etc/udhcpc.d/50default: Adding DNS 114.114.114.114/etc/udhcpc.d/50default: Adding DNS 114.114.115.115
# ping -I wlan0
www.baidu.com -c 2 -w 4PING
www.baidu.com (14.215.177.39): 56 data bytes64 bytes from 14.215.177.39: seq=0 ttl=50 time=17.374 ms64 bytes from 14.215.177.39: seq=1 ttl=50 time=16.391 ms---
www.baidu.com ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 16.391/16.882/17.374 ms
- Remove a module from the Linux Kernel
# rmmod 8188euu***core: deregistering interface driver rtl8188eucfg80211: Calling CRDA to update world regulatory domainu*** 1-1.4: reset high-speed USB device number 4 using ci_hdrc
基于 RTL8188EUS v5.2.2.4 驱动的测试- Insert a module into the Linux Kernel
# insmod ~/my-demo/MY_8188EUS_V5224_L31452_IMX6A9.kobFWReady == _FALSE call reset 8051...u***core: registered new interface driver rtl8188eu
- Configuration
Generate a WPA PSK from an ASCII passphrase for a SSID
usage: wpa_passphrase [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.confSuccessfully initialized wpa_supplicantrfkill: Cannot open RFKILL control device==> rtl8188e_iol_efuse_patchIPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready==> rtl8188e_iol_efuse_patchIPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
# udhcpc -i wlan0udhcpc (v1.23.1) startedSending discover...Sending select for 192.168.124.107...Lease of 192.168.124.107 obtained, lease time 7200/etc/udhcpc.d/50default: Adding DNS 114.114.114.114/etc/udhcpc.d/50default: Adding DNS 114.114.115.115
# ping -I wlan0
www.baidu.com -c 2 -w 4PING
www.baidu.com (14.215.177.38): 56 data bytes64 bytes from 14.215.177.38: seq=0 ttl=49 time=25.993 ms64 bytes from 14.215.177.38: seq=1 ttl=49 time=15.585 ms---
www.baidu.com ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 15.585/20.789/25.993 ms
- Remove a module from the Linux Kernel
# rmmod 8188euu***core: deregistering interface driver rtl8188eucfg80211: Calling CRDA to update world regulatory domainu*** 1-1.4: reset high-speed USB device number 4 using ci_hdrc
0