wifi usb dongle不支持hotplug热插拔
gm8128平台开发中发生了一件事,原本支持hotplug的wifi dongle,突然不能支持了。我怀疑是linux kernel配置修改或是busybox版本更新的原因。花了半天时间查明,是vmware虚拟机异常掉电损坏了内核文件导致的。下面的热插拔过程打印:rtusb init --->=== pAd = c9c02000, size = 504032 ===
gm8128平台开发中发生了一件事,原本支持hotplug的wifi dongle,突然不能支持了。
我怀疑是linux kernel配置修改或是busybox版本更新的原因。花了半天时间查明,是vmware虚拟机异常掉电损坏了内核文件导致的。
下面的热插拔过程打印:
rtusb init --->
=== pAd = c9c02000, size = 504032 ===
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
1. Phy Mode = 0
2. Phy Mode = 0
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 0
MCS Set = 00 00 00 00 00
<==== rt28xx_init, Status=0
0x1300 = 00073200
===>rt_ioctl_giwscan. 9(9) BSS returned, data->length = 1435
query fill fail =[-5]
query fill fail =[-5]
===>rt_ioctl_giwscan. 12(12) BSS returned, data->length = 1883
usb 1-1: USB disconnect, address 2
#
RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1718,pAd->Flags=0x30000102
rtusb_disconnect: unregister usbnet usb-FOTG2XX_AMBA-1
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
Retry count exhausted or device removed!!!
Retry count exhausted or device removed!!!
ERROR!!! RF read R1=0xC703FC30 fail, i[100], k[0]
Retry count exhausted or device removed!!!
ERROR!!! RF read R7=0xC703FC30 fail, i[100], k[0]
Retry count exhausted or device removed!!!
ERROR!!! RF read R9=0xC703FC30 fail, i[100], k[0]
Retry count exhausted or device removed!!!
ERROR!!! RF read R21=0xC703FC30 fail, i[100], k[0]
Retry count exhausted or device removed!!!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
RTUSB disconnect successfully
usb 1-1: new high speed USB device using FOTG2XX_DRV and address 3
port status 10009
2nd port status 10009
usb 1-1: configuration #1 chosen from 1 choice
=== pAd = ca402000, size = 504032 ===
<-- RTMPAllocAdapterBlock, Status=0
更多推荐
所有评论(0)