天嵌 ARM开发社区

 找回密码
 注册
查看: 6089|回复: 3

基于无线网卡rt5370 驱动移植问题

[复制链接]
yangguangnanhai 发表于 2012-12-6 12:38:56 | 显示全部楼层 |阅读模式
ubuntu10.10 开发本内核linux。2.6.37.4。
移植官网驱动 make生成rt5370sta.ko.然后把文件到开发板。insmod rt5370sta.ko. 加载驱动然后会显示 rtusb init rt2870 -- pAd=c4966000 size=510192. usbcore registered new interface driver rt2870.
显然证明驱动加载成功。
然后驱动 ifconfig ra0 up、这样可以用ifconfig 看到ra0 设备。
然后是配置ip #ifconfig ra0 192.168.1.166.
然后可以用# iwlist ra0 scanning
可以看到附近wifi网络
然后是连接 iwconfig ra0 essid 网络名称
前面我一直很顺利
下面我就傻眼啦。
一直出现这种情况 一直在不停的显示。。。。
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
哎 真把搞晕啦,这是什么情况啊。有没有遇到这种情况的。求高手指点啊。。。。。。。。。。
亚瑟王 发表于 2012-12-6 17:51:05 | 显示全部楼层
亲,你好,本论坛针对这个wifi有专门的帖子讲解过的,建议你搜索一下。
 楼主| yangguangnanhai 发表于 2012-12-7 09:51:03 | 显示全部楼层
亲。那个帖子我砸群里看过啦。我现在是配对什么的都连接上啦,无线路由也能搞显示出来。就是发送接收包显示的0.然后终端下[root@XC2440 /]# insmod rt5370sta.ko
rtusb init rt2870 --->


=== pAd = c4830000, size = 510192 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
[root@XC2440 /]# iwconfig ra0 192.168.1.166 up
iwconfig: unknown command "192.168.1.166"
[root@XC2440 /]# ifconfig ra0 192.168.1.230 up
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RTMP_TimerListAdd: add timer obj c48779c8!
RTMP_TimerListAdd: add timer obj c48779f8!
RTMP_TimerListAdd: add timer obj c4877a28!
RTMP_TimerListAdd: add timer obj c4877998!
RTMP_TimerListAdd: add timer obj c4877908!
RTMP_TimerListAdd: add timer obj c4877938!
RTMP_TimerListAdd: add timer obj c484253c!
RTMP_TimerListAdd: add timer obj c4831d40!
RTMP_TimerListAdd: add timer obj c4831d78!
RTMP_TimerListAdd: add timer obj c48425e0!
RTMP_TimerListAdd: add timer obj c48424dc!
RTMP_TimerListAdd: add timer obj c48425ac!
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
NVM is Efuse and its size =2d[2d0-2fc]
phy mode> Error! The chip does not support 5G band 15!
RTMPSetPhyMode: channel is out of range, use first channel=1
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
AsicSetRxAnt, switch to main antenna
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
[root@XC2440 /]# iwconfig ra0
ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@XC2440 /]# iwpriv ra0 set NetworkType=Infra
[root@XC2440 /]# iwpriv ra0 set AuthMode=SHARED
[root@XC2440 /]# iwpriv ra0 set EncrypType=WEP
[root@XC2440 /]# iwpriv ra0 set DefaultKeyID=1
[root@XC2440 /]# iwpriv ra0 set Key1="1122334455"
[root@XC2440 /]# iwpriv ra0 set SSID="lilei"
[root@XC2440 /]# GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
下面一直都是这样 一直不断的显示啊。真把我搞晕啦。。。。。求高人指点啊。。。。。
AIM1945 发表于 2013-8-11 23:42:47 | 显示全部楼层
不知道楼主搞定没有,我也出现了这个问题:(
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-3-29 18:50 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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