发 帖  
[经验] MY-8188EUS Linux-3.14.52 Test manual
2018-7-9 14:03:58  381 Linux
收藏 0 收藏 推荐 0 推荐
分享
基本信息
支持的设备
  • 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
测试使用的模块型号
  • 模块型号:RTL8188EUS

测试操作
检查系统是否已经识别到模块# lsusb ......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)usbcore: registered new interface driver rtl8188euRTL871X: module init ret=0
  • Configuration
    Generate a WPA PSK from an ASCII passphrase for a SSID
    usage: wpa_passphrase <ssid> [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
  • Connection
# 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
  • Get IP address
# 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
  • Network test
# 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 startusbcore: 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 IPSusb 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...usbcore: registered new interface driver rtl8188eu
  • Configuration
    Generate a WPA PSK from an ASCII passphrase for a SSID
    usage: wpa_passphrase <ssid> [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
  • Connection
# 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
  • Get IP address
# 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
  • Network test
# 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 8188euusbcore: deregistering interface driver rtl8188eucfg80211: Calling CRDA to update world regulatory domainusb 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...usbcore: registered new interface driver rtl8188eu
  • Configuration
    Generate a WPA PSK from an ASCII passphrase for a SSID
    usage: wpa_passphrase <ssid> [passphrase]
# wpa_passphrase MYZR-OPEN Myzr2012 > /etc/wpa_supplicant.conf
  • Connection
# 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
  • Get IP address
# 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
  • Network test
# 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 8188euusbcore: deregistering interface driver rtl8188eucfg80211: Calling CRDA to update world regulatory domainusb 1-1.4: reset high-speed USB device number 4 using ci_hdrc
2018-7-9 14:03:58   评论
1 个讨论
英文看不懂。
2018-7-9 22:46:20 评论

举报

高级模式
您需要登录后才可以回帖 登录 | 注册

发表新帖
关闭

站长推荐 上一条 /9 下一条

快速回复 返回顶部 返回列表