linux rtl8189 wifi模块配制

急行的小船 2017-12-05 01:56:02
我的嵌入式开发板是TQ210,板载S5PV210芯片,WIFI模块是RTL8189ES,SDIO接口,模块驱动是RTL8189ES_linux_v4.3.18.1_15373.20151005。
插入WIFI模块提示以下信息:

[root@$zjh: 34th_rtl8189es]# mmc3: new high speed SDIO card at address 0001


安装驱动,提示以下信息:

[root@$zjh: 34th_rtl8189es]# insmod 8189es.ko
RTL871X: module init start
RTL871X: rtl8189es v4.3.18.1_15373.20151005
RTL871X: build time: Dec 4 2017 10:59:30
RTL871X: CHIP TYPE: RTL8188E
RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
RTL871X: EEPROM type is E-FUSE
RTL871X: =>_CardEnable
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
RTL871X: <=_CardEnable
RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
bFWReady == _FALSE call reset 8051...
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
RTL871X: efuse_read_phymap_from_txpktbuf len:162, lenbak:162, aaa:162, aaabak:162
RTL871X: efuse_read_phymap_from_txpktbuf read count:160
RTL871X: EEPROM ID=0x8129
RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
RTL871X: ### PS params=> power_mgnt(2),usbss_enable(0) ###
RTL871X: ======= Path 0, Channel 1 =======
RTL871X: Index24G_CCK_Base[0][1] = 0x2c
RTL871X: Index24G_BW40_Base[0][1] = 0x29
RTL871X: ======= Path 0, Channel 2 =======
RTL871X: Index24G_CCK_Base[0][2] = 0x2c
RTL871X: Index24G_BW40_Base[0][2] = 0x29
RTL871X: ======= Path 0, Channel 3 =======
RTL871X: Index24G_CCK_Base[0][3] = 0x2c
RTL871X: Index24G_BW40_Base[0][3] = 0x29
RTL871X: ======= Path 0, Channel 4 =======
RTL871X: Index24G_CCK_Base[0][4] = 0x2c
RTL871X: Index24G_BW40_Base[0][4] = 0x29
RTL871X: ======= Path 0, Channel 5 =======
RTL871X: Index24G_CCK_Base[0][5] = 0x2c
RTL871X: Index24G_BW40_Base[0][5] = 0x29
RTL871X: ======= Path 0, Channel 6 =======
RTL871X: Index24G_CCK_Base[0][6] = 0x2c
RTL871X: Index24G_BW40_Base[0][6] = 0x29
RTL871X: ======= Path 0, Channel 7 =======
RTL871X: Index24G_CCK_Base[0][7] = 0x2c
RTL871X: Index24G_BW40_Base[0][7] = 0x29
RTL871X: ======= Path 0, Channel 8 =======
RTL871X: Index24G_CCK_Base[0][8] = 0x2c
RTL871X: Index24G_BW40_Base[0][8] = 0x29
RTL871X: ======= Path 0, Channel 9 =======
RTL871X: Index24G_CCK_Base[0][9] = 0x2c
RTL871X: Index24G_BW40_Base[0][9] = 0x29
RTL871X: ======= Path 0, Channel 10 =======
RTL871X: Index24G_CCK_Base[0][10] = 0x2c
RTL871X: Index24G_BW40_Base[0][10] = 0x29
RTL871X: ======= Path 0, Channel 11 =======
RTL871X: Index24G_CCK_Base[0][11] = 0x2c
RTL871X: Index24G_BW40_Base[0][11] = 0x29
RTL871X: ======= Path 0, Channel 12 =======
RTL871X: Index24G_CCK_Base[0][12] = 0x2c
RTL871X: Index24G_BW40_Base[0][12] = 0x29
RTL871X: ======= Path 0, Channel 13 =======
RTL871X: Index24G_CCK_Base[0][13] = 0x2c
RTL871X: Index24G_BW40_Base[0][13] = 0x29
RTL871X: ======= Path 0, Channel 14 =======
RTL871X: Index24G_CCK_Base[0][14] = 0x2c
RTL871X: Index24G_BW40_Base[0][14] = 0x29
RTL871X: ======= TxCount 0 =======
RTL871X: CCK_24G_Diff[0][0]= 0
RTL871X: OFDM_24G_Diff[0][0]= 1
RTL871X: BW20_24G_Diff[0][0]= 1
RTL871X: BW40_24G_Diff[0][0]= 0
RTL871X: EEPROMRegulatory = 0x0
RTL871X: mlmepriv.ChannelPlan = 0x08
RTL871X: CrystalCap: 0x3f
RTL871X: EEPROM Customer ID: 0x 0
RTL871X: Board Type: 0x 0
RTL871X: ThermalMeter = 0x1a
RTL871X: pHalData->EEPROMRFGainVal=0
RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00
RTL871X: <==== ReadAdapterInfo8188ES in 260 ms
RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x08,Regulation(2_4G/5G):0x03,0x03
RTL871X: init_channel_set ChannelPlan ID 8 Chan num:14
RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
RTL871X: rtw_macaddr_cfg mac addr:ac:a2:13:5f:f0:30
RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ac:a2:13:5f:f0:30
RTL871X: module init ret=0
[root@$zjh: 34th_rtl8189es]#


打开WLAN0,提示以下信息:

[root@$zjh: 34th_rtl8189es]# ifconfig wlan0 up
RTL871X: +871x_drv - drv_open, bup=0
RTL871X: +rtl8188es_hal_init
RTL871X: FW does not exit before power on!!
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
RTL871X: PowerOnCheck: 0x1B8 test Pass.
RTL871X: Power on ok!
RTL871X: _init_available_page_threshold(): Enable Tx FIFO Page Threshold H:0x4f4f,N:0x4f4f,L:0x5454
RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: _FWFreeToGo: Polling FW ready OK! (20, 5ms), REG_MCUFWDL:0x000300c6
RTL871X: FWDL success. write_fw:1, 155ms
==> rtl8188e_iol_efuse_patch
RTL871X: HalDetectPwrDownMode(): PDN=0
RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
RTL871X: pDM_Odm TxPowerTrackControl = 1
RTL871X: DISABLE_BB_RF=0
RTL871X: IS_HARDWARE_TYPE_8188ES=1
RTL871X: -rtl8188es_hal_init
RTL871X: rtl8188es_hal_init in 665ms
RTL871X: wlan0Port-0 set opmode = 2
RTL871X: Using the default RF gain.
RTL871X: MAC Address = ac:a2:13:5f:f0:30
RTL871X: -871x_drv - drv_open, bup=1
RTL871X: start rtl8188es_xmit_thread
[root@$zjh: 34th_rtl8189es]# RTL871X: ==>rtw_ps_processor .fw_state(8)
RTL871X: ==>ips_enter cnts:1
RTL871X: nolinked power save enter
RTL871X: ===> rtw_ips_pwr_down...................
RTL871X: ====> rtw_ips_dev_unload...
RTL871X: =>rtl8188es_hal_deinit
RTL871X: =>hal_poweroff_8188es
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: <=hal_poweroff_8188es
RTL871X: <=rtl8188es_hal_deinit
RTL871X: <=== rtw_ips_pwr_down..................... in 15ms
[root@$zjh: 34th_rtl8189es]#


但是确找不到无线接入点,如下:

[root@$zjh: 34th_rtl8189es]# iwconfig
wlan0 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.


扫描信号的话,提示如下:

[root@$zjh: 34th_rtl8189es]# iwlist wlan0 scan
wlan0 Interface doesn't support scanning.



这是为什么啊,哪位大神给指点一下,谢谢。
...全文
2295 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Acuity. 2017-12-26
  • 打赏
  • 举报
回复
驱动没有成功起来
jklinux 2017-12-10
  • 打赏
  • 举报
回复
[root@$zjh: 34th_rtl8189es]# iwlist wlan0 scan wlan0 Interface doesn't support scanning 这种错误应是没有wlan0, 也就是没有加载驱动吧。或者加载驱动后重启系统了

1,317

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧