查看: 6712|回复: 0

[分享] imx6dl sabresd android 4.3 wifi移植

[复制链接]

该用户从未签到

5

主题

38

帖子

0

注册会员

Rank: 2

积分
179
最后登录
2017-10-13
发表于 2014-11-13 00:31:13 | 显示全部楼层 |阅读模式
尊敬的freescale fae,
                  我最近在imx6dl sabrsd android4.3平台上移植rlt8188的wifi驱动,其中wifi驱动是编译为模块的,参考资料为你们的应为论坛里的http://community.freescale.com/message/397950#397950

在终端里输入以下命令
insmod 8188eu.ko
ipconfig wlan0 192.168.1.5
iwlist wlan0 scanning
能读取到SSID,
可是 在终端里输入wpa_supplicant -Dnl80211 -iwlan0 -c/system/etc/wifi/wpa_supplicant.conf -dd -B  查看logcat如下                                                               
D/AdapterServiceConfig( 3152): Adding PanService                                
D/AdapteFIFO_RD_AUX_LSB read fails                                             
rServiceConfig( 3152): Adding GattService                                       
D/BluetoothManagerService( 2538): Message: 20                                   
D/BluetoothManagerService( 2538): Added callback: android.bluetooth.IBluetoothMa
nagerCallback$Stub$Proxy@41d88488:true                                          
D/BluetoothHeadset( 2538): Proxy object connected                              
D/BluetoothAdapter( 2538): 1106126000: getState() :  mService = null. Returning
STATE_OFF                                                                       
D/BluetoothHeadset( 2759): Proxy object connected                              
D/BluetoothHeadset( 2759): Proxy object connected                              
D/BluetoothA2dp( 2538): Proxy object connected                                 
D/BluetoothAdapter( 2538): 1106126000: getState() :  mService = null. Returning
STATE_OFF                                                                       
I/BluetoothPanServiceJni( 3152): classInitNative(L105): succeeds               
D/BluetoothPan( 2538): BluetoothPAN Proxy object connected                     
D/BluetoothPan( 2770): BluetoothPAN Proxy object connected                     
D/PanProfile( 2770): Bluetooth service connected                                
I/BluetoothHidServiceJni( 3152): classInitNative: succeeds                     
D/BluetoothInputDevice( 2770): Proxy object connected                           
D/HidProfile( 2770): Bluetooth service connected                                
D/BluetoothAdapter( 2770): 1101243304: getState() :  mService = null. Returning
STATE_OFF                                                                       
W/SocketClient( 2248): write error (Broken pipe)                                
I/AudioService( 2538):  AudioFocus  abandonAudioFocus() from android.media.Audio
Manager@41a31130com.android.music.MediaPlaybackService$3@41a30050               
I/ActivityManager( 2538): Start proc com.android.musicfx for broadcast com.andro
id.musicfx/.ControlPanelReceiver: pid=3182 uid=10025 gids={50025, 3003, 3002, 10
28}                                                                             
V/MusicFXControlPanelReceiver( 3182): onReceive                                 
V/MusicFXControlPanelReceiver( 3182): Action: android.media.action.CLOSE_AUDIO_E
FFECT_CONTROL_SESSION                                                           
V/MusicFXControlPanelReceiver( 3182): Package name: com.android.music           
V/MusicFXControlPanelReceiver( 3182): Audio session: 4                          
V/MusicFXControlPanelEffect( 3182): closeSession(android.app.ReceiverRestrictedC
ontext@41a2e698, com.android.music, 4)                                          
W/SocketClient( 2248): write error (Broken pipe)                                
D/wpa_supplicant( 3238): wpa_supplicant v2.0-devel-4.3_rtw_r9301.20131011      
D/wpa_supplicant( 3238): random: Trying to read entropy from /dev/random        
I/wpa_supplicant( 3238): Successfully initialized wpa_supplicant               
D/wpa_supplicant( 3238): Initializing interface 'wlan0' conf '/system/etc/wifi/w
pa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'         
D/wpa_supplicant( 3238): Configuration file '/system/etc/wifi/wpa_supplicant.con
f' -> '/system/etc/wifi/wpa_supplicant.conf'                                    
D/wpa_supplicant( 3238): Reading configuration file '/system/etc/wifi/wpa_suppli
cant.conf'                                                                     
D/wpa_supplicant( 3238): update_config=1                                       
D/wpa_supplicant( 3238): ctrl_interface='wlan0'                                 
D/wpa_supplicant( 3238): eapol_version=1                                       
D/wpa_supplicant( 3238): ap_scan=1                                             
D/wpa_supplicant( 3238): fast_reauth=1                                          
D/wpa_supplicant( 3238): Could not open file /sys/class/net/wlan0/phy80211/name:

No such file or directory                                                      
I/wpa_supplicant( 3238): rfkill: Cannot open RFKILL control device              
D/wpa_supplicant( 3238): nl80211: RFKILL status not available                  
D/wpa_supplicant( 3238): nl80211: Set mode ifindex 0 iftype 2 (STATION)         
D/wpa_supplicant( 3238): nl80211: Failed to set interface 0 to mode 2: -19 (No s
uch device)                                                                     
E/wpa_supplicant( 3238): nl80211: Could not configure driver to use managed mode
D/wpa_supplicant( 3238): netlink: Operstate: linkmode=0, operstate=6            
E/wpa_supplicant( 3238): Could not read interface wlan0 flags: No such device   
D/wpa_supplicant( 3238): nl80211: Set mode ifindex 0 iftype 2 (STATION)         
D/wpa_supplicant( 3238): nl80211: Failed to set interface 0 to mode 2: -19 (No s
uch device)                                                                     
E/wpa_supplicant( 3238): wlan0: Failed to initialize driver interface           
D/wpa_supplicant( 3238): Failed to add interface wlan0                          
D/wpa_supplicant( 3238): wlan0: Cancelling scan request                        
D/wpa_supplicant( 3238): wlan0: P2P: Station mode scan operation not pending any
more (sta_scan_pending=0 p2p_cb_on_scan_complete=0)                             
D/wpa_supplicant( 3238): wlan0: Cancelling authentication timeout               
FIFO_RD_AUX_MSB read fails   
而且驱动模块没有被加载进去,
请您帮忙分析一下,这边急用!                                       

回复

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

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

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-21 03:33 , Processed in 0.077849 second(s), 19 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

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