请教:在Linux3.0.8 移植usb wifi驱动rtl8189es-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

请教:在Linux3.0.8 移植usb wifi驱动rtl8189es

2016-07-15 18:21:57 4550 1

在Linux3.0.8 移植usb wifi驱动rtl8189es,
采用的非模块加载,直接编进kernel一起烧录;
目前卡在:
不会出现

usbcore: registered new interface driver rtl8189es

SDIO卡已经初始化和识卡成功;

[ 3.035470] mmc1: new high speed SDIO card at address 0001

网络设备已成功初始化和注册:

 [ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
 [ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
 [ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
 [ 4.061990] rtw_os_ndevs_register:2303!! 
 [ 4.072513] RTL871X: rtw_wiphy_register(phy0)
 [ 4.081850] rtw_os_ndev_register:999!! 
 [ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff

LOG如下:

 [ 3.014338] lib80211: common routines for IEEE802.11 drivers
 [ 3.035470] mmc1: new high speed SDIO card at address 0001
 [ 3.047162] rtw_drv_init:700!! $$$$$$$$$$$$$$$$$$$$$$$
 [ 3.060186] RTL871X: CHIP TYPE: RTL8188E
 [ 3.069330] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1 
 [ 3.083356] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_K_CUT_1T1R_RomVer(0)
 [ 3.099996] RTL871X: EEPROM type is E-FUSE
 [ 3.108397] RTL871X: =>_CardEnable
 [ 3.120635] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
 [ 3.130640] RTL871X: <=_CardEnable
 [ 3.137641] RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
 [ 3.152928] RTL871X: =>_InitPowerOn_8188ES
 [ 3.161329] RTL871X: =>_CardEnable
 [ 3.168278] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
 [ 3.181843] snd_switch_probe susccess
 [ 3.189705] RTL871X: ## wifi_probe
 [ 3.196745] RTL871X: <=_CardEnable
 [ 3.203833] RTL871X: wifi_set_power = 1
 [ 3.211725] RTL871X: wifi_set_carddetect = 1
 [ 3.220555] RTL871X: <=_InitPowerOn_8188ES
 [ 3.229075] wlan_device_init:72!! 
 [ 3.238438] bFWReady == _FALSE call reset 8051...
 [ 3.248576] /proc/exmap: insert
 [ 3.255463] jz-rtc jz-rtc.0: setting system clock to 2016-02-01 13:30:00 UTC (1454333400)
 [ 3.272496] RTL871X: =====> _8051Reset88E(): 8051 reset success .
 [ 3.306544] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
 [ 3.318726] RTL871X: efuse_read_phymap_from_txpktbuf len:170, lenbak:170, aaa:170, aaabak:170
 [ 3.338442] RTL871X: efuse_read_phymap_from_txpktbuf read count:168
 [ 3.351416] RTL871X: EEPROM ID=0x8129
 [ 3.358912] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
 [ 3.379234] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
 [ 3.392788] RTL871X: ======= Path 0, Channel 1 =======
 [ 3.403312] RTL871X: Index24G_CCK_Base[0][1] = 0x29
 [ 3.413302] RTL871X: Index24G_BW40_Base[0][1] = 0x2d
 [ 3.423471] RTL871X: ======= Path 0, Channel 2 =======
 [ 3.433994] RTL871X: Index24G_CCK_Base[0][2] = 0x29
 [ 3.443981] RTL871X: Index24G_BW40_Base[0][2] = 0x2d
 [ 3.454145] RTL871X: ======= Path 0, Channel 3 =======
 [ 3.464669] RTL871X: Index24G_CCK_Base[0][3] = 0x29
 [ 3.474657] RTL871X: Index24G_BW40_Base[0][3] = 0x2d
 [ 3.484823] RTL871X: ======= Path 0, Channel 4 =======
 [ 3.495343] RTL871X: Index24G_CCK_Base[0][4] = 0x29
 [ 3.505332] RTL871X: Index24G_BW40_Base[0][4] = 0x2d
 [ 3.515500] RTL871X: ======= Path 0, Channel 5 =======
 [ 3.526026] RTL871X: Index24G_CCK_Base[0][5] = 0x29
 [ 3.536014] RTL871X: Index24G_BW40_Base[0][5] = 0x2d
 [ 3.546181] RTL871X: ======= Path 0, Channel 6 =======
 [ 3.556704] RTL871X: Index24G_CCK_Base[0][6] = 0x28
 [ 3.566692] RTL871X: Index24G_BW40_Base[0][6] = 0x2c
 [ 3.576860] RTL871X: ======= Path 0, Channel 7 =======
 [ 3.587384] RTL871X: Index24G_CCK_Base[0][7] = 0x28
 [ 3.597371] RTL871X: Index24G_BW40_Base[0][7] = 0x2c
 [ 3.607539] RTL871X: ======= Path 0, Channel 8 =======
 [ 3.618064] RTL871X: Index24G_CCK_Base[0][8] = 0x28
 [ 3.628052] RTL871X: Index24G_BW40_Base[0][8] = 0x2c
 [ 3.638220] RTL871X: ======= Path 0, Channel 9 =======
 [ 3.648741] RTL871X: Index24G_CCK_Base[0][9] = 0x28
 [ 3.658731] RTL871X: Index24G_BW40_Base[0][9] = 0x2c
 [ 3.668899] RTL871X: ======= Path 0, Channel 10 =======
 [ 3.679598] RTL871X: Index24G_CCK_Base[0][10] = 0x28
 [ 3.689769] RTL871X: Index24G_BW40_Base[0][10] = 0x2c
 [ 3.700116] RTL871X: ======= Path 0, Channel 11 =======
 [ 3.710819] RTL871X: Index24G_CCK_Base[0][11] = 0x28
 [ 3.720985] RTL871X: Index24G_BW40_Base[0][11] = 0x2c
 [ 3.731335] RTL871X: ======= Path 0, Channel 12 =======
 [ 3.742036] RTL871X: Index24G_CCK_Base[0][12] = 0x28
 [ 3.752200] RTL871X: Index24G_BW40_Base[0][12] = 0x2c
 [ 3.762547] RTL871X: ======= Path 0, Channel 13 =======
 [ 3.773250] RTL871X: Index24G_CCK_Base[0][13] = 0x28
 [ 3.783417] RTL871X: Index24G_BW40_Base[0][13] = 0x2c
 [ 3.793759] RTL871X: ======= Path 0, Channel 14 =======
 [ 3.804460] RTL871X: Index24G_CCK_Base[0][14] = 0x26
 [ 3.814627] RTL871X: Index24G_BW40_Base[0][14] = 0x2c
 [ 3.824970] RTL871X: ======= TxCount 0 =======
 [ 3.834074] RTL871X: CCK_24G_Diff[0][0]= 0
 [ 3.842462] RTL871X: OFDM_24G_Diff[0][0]= 0
 [ 3.851030] RTL871X: BW20_24G_Diff[0][0]= -2
 [ 3.859752] RTL871X: BW40_24G_Diff[0][0]= 0
 [ 3.868316] RTL871X: EEPROMRegulatory = 0x0
 [ 3.876879] RTL871X: mlmepriv.ChannelPlan = 0x20
 [ 3.886337] RTL871X: CrystalCap: 0x21
 [ 3.893832] RTL871X: EEPROM Customer ID: 0x 0
 [ 3.902751] RTL871X: Board Type: 0x 0
 [ 3.910233] RTL871X: ThermalMeter = 0x1d
 [ 3.918261] RTL871X: pHalData->EEPROMRFGainVal=0
 [ 3.927719] RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00 
 [ 3.948385] RTL871X: <==== ReadAdapterInfo8188ES in 810 ms
 [ 3.960863] RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03
 [ 3.978841] RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13
 [ 3.997409] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
 [ 4.013347] RTL871X: rtw_macaddr_cfg mac addr:8c:18:d9:c0:ef:ff
 [ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
 [ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
 [ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
 [ 4.061990] rtw_os_ndevs_register:2303!! 
 [ 4.072513] RTL871X: rtw_wiphy_register(phy0)
 [ 4.081850] rtw_os_ndev_register:999!! 
 [ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff
 [ 4.112312] VFS: Mounted root (cramfs filesystem) readonly on device 31:3.
 [ 4.128794] Freeing unused kernel memory: 236k freed
 [ 4.139266] Free = 23588k
 Setting hostname ...
 Mounting all filesystems ... 
 Starting mdev ...
 Mounting /usr/data as rw filesystem...
5G
取消 提交回答
全部回答(1)
相关问答

14

回答

何解除黑洞?怎么一直在“清洗黑洞清洗黑洞”呢?

未来精英 2015-06-25 15:31:00 25994浏览量 回答数 14

5

回答

云盾的流量清洗是什么原理,进入流量清洗时就没办法正常服务。

ap5306y8t 2015-10-26 23:29:47 19850浏览量 回答数 5

17

回答

阿里云云周刊第16期(11.7-11.13)

xiaofanqie 2014-11-13 09:51:57 24681浏览量 回答数 17

23

回答

【云能量沙龙深圳站】陆晶丹:阿里云开放存储服务API与Web应用案例分享

sleepbird 2012-09-19 15:18:35 21600浏览量 回答数 23

13

回答

请问阿里云免费邮箱能否升级邮箱容量?

chong021 2015-01-04 22:10:46 21455浏览量 回答数 13

11

回答

【阿里云产品公测】PTS测试 SLB+ECS+RDS组合的DZ论坛负载极限压力,100并发2000页

woaj01 2014-10-13 23:18:37 24071浏览量 回答数 11

6

回答

阿里云云周刊第12期(9.19 -- 9.25)

xiaofanqie 2014-09-25 13:59:46 21906浏览量 回答数 6

7

回答

.net文件上传进度的实现

changdu3601 2013-03-13 22:19:10 18248浏览量 回答数 7

29

回答

一次小型流量攻击的检查和处理

云代维 2014-11-06 14:28:21 23624浏览量 回答数 29

9

回答

宽带1M的ECS大概能支持多少人并发访问?

咖啡诱惑 2014-07-22 11:41:40 25991浏览量 回答数 9
+关注
杨冬芳
IT从业
1
文章
9167
问答
问答排行榜
最热
最新
相关电子书
更多
JS零基础入门教程(上册)
立即下载
性能优化方法论
立即下载
手把手学习日志服务SLS,云启实验室实战指南
立即下载