Hi i am using Android 4.2 in my allwinner A20 board. i used to connect realtek 8192cu usb wifi to my board.
for that i fallow this guide . http://openlinux.amlogic.com/@api/deki/files/39/=How_to_tune_the_USB_wifi.pdf. but i am getting error here my log. # logcat -c # logcat --------- beginning of /dev/log/system D/WifiService( 1741): setWifiEnabled: true pid=2267, uid=1000 --------- beginning of /dev/log/main D/WifiHW ( 1741): Begin to insmod /system/vendor/modules/8192cu.ko ifname=wlan0 if2name=p2p0 firmware! D/BluetoothAdapter( 2267): 1112016448: getState() : mService = null. Returning STATE_OFF [ 6756.093716] cpu up:1 [ 6756.154664] CPU1: Booted secondary processor [ 6756.176158] sw_usb_enable_hcd: usbc_num = 2 [ 6756.180884] WRN:L876(drivers/usb/host/ehci_sun7i.c):ERR: not support sw_usb_enable_ehci [ 6756.189874] WRN:L762(drivers/usb/host/ohci_sun7i.c):ERR: not support sw_usb_enable_ohci [ 6756.198829] rtl8192cu driver version=v4.0.1_6911.20130308 [ 6756.204855] build time: May 19 2014 17:14:07 [ 6756.209807] [ 6756.209812] usb_endpoint_descriptor(0): [ 6756.215726] bLength=7 [ 6756.218247] bDescriptorType=5 [ 6756.221564] bEndpointAddress=81 [ 6756.225052] wMaxPacketSize=200 [ 6756.228445] bInterval=0 [ 6756.231188] RT_usb_endpoint_is_bulk_in = 1 [ 6756.235742] [ 6756.235745] usb_endpoint_descriptor(1): [ 6756.241709] bLength=7 [ 6756.244239] bDescriptorType=5 [ 6756.247537] bEndpointAddress=2 [ 6756.250961] wMaxPacketSize=200 [ 6756.254360] bInterval=0 [ 6756.257096] RT_usb_endpoint_is_bulk_out = 2 [ 6756.261761] [ 6756.261765] usb_endpoint_descriptor(2): [ 6756.267668] bLength=7 [ 6756.270202] bDescriptorType=5 [ 6756.273501] bEndpointAddress=3 [ 6756.276889] wMaxPacketSize=200 [ 6756.280293] bInterval=0 [ 6756.283005] RT_usb_endpoint_is_bulk_out = 3 [ 6756.287665] [ 6756.287669] usb_endpoint_descriptor(3): [ 6756.293627] bLength=7 [ 6756.296150] bDescriptorType=5 [ 6756.299482] bEndpointAddress=84 [ 6756.302976] wMaxPacketSize=40 [ 6756.306283] bInterval=1 [ 6756.309027] RT_usb_endpoint_is_int_in = 4, Interval = 1 [ 6756.314842] nr_endpoint=4, in_num=2, out_num=2 [ 6756.314847] [ 6756.321442] USB_SPEED_HIGH [ 6756.324546] CHIP TYPE: RTL8188C_8192C [ 6756.328683] register rtw_netdev_ops to netdev_ops [ 6756.333929] rtw_handle_dualmac(): pbuddy_padapter == NULL, Set pbuddy_padapter [ 6756.341982] rtw_wdev_alloc(padapter=f00b3000) [ 6756.349166] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C. [ 6756.355278] RF_Type is 3!! [ 6756.358627] EEPROM type is E-FUSE [ 6756.362314] ====> ReadAdapterInfo8192C [ 6756.366620] Boot from EFUSE, Autoload OK ! [ 6756.511134] EEPROMVID = 0x0bda [ 6756.514546] EEPROMPID = 0x817a [ 6756.517941] EEPROMCustomerID : 0x00 [ 6756.521851] EEPROMSubCustomerID: 0x00 [ 6756.525944] RT_CustomerID: 0x00 [ 6756.529492] _ReadMACAddress MAC Address from EFUSE = 00:02:72:37:86:73 [ 6756.536803] EEPROMRegulatory = 0x1 [ 6756.540631] _ReadBoardType(3) [ 6756.543973] BT Coexistance = disable [ 6756.547965] mlmepriv.ChannelPlan = 0x02 [ 6756.552288] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(10) ,bSupportRemoteWakeup(0) [ 6756.561436] ### PS params=> power_mgnt(1),usbss_enable(0) ### [ 6756.567965] ### AntDivCfg(0) [ 6756.571229] readAdapterInfo_8192CU(): REPLACEMENT = 1 [ 6756.576879] <==== ReadAdapterInfo8192C in 210 ms [ 6756.584450] rtw_register_early_suspend [ 6756.588763] rtw_macaddr_cfg MAC Address = 00:02:72:37:86:73 [ 6756.595092] MAC Address from pnetdev->dev_addr= 00:02:72:37:86:73 [ 6756.613462] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0 [ 6756.621715] register rtw_netdev_ops to netdev_ops [ 6756.626989] register rtw_netdev_if2_ops to netdev_ops [ 6756.632711] rtw_wdev_alloc(padapter=f00ff000) [ 6756.639585] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C. [ 6756.645710] RF_Type is 3!! [ 6756.651026] rtw_register_early_suspend [ 6756.655261] MAC Address (if2) = 02:02:72:37:86:73 [ 6756.670635] usbcore: registered new interface driver rtl8192cu D/WifiHW ( 1741): initial,try_time(0) D/WifiHW ( 1741): initial,try_time(1) D/WifiHW ( 1741): initial,try_time(2) D/WifiHW ( 1741): initial,try_time(3) D/WifiHW ( 1741): initial,try_time(4) D/WifiHW ( 1741): initial,try_time(5) D/WifiHW ( 1741): initial,try_time(6) [ 6758.041642] CPU1: shutdown [ 6758.044777] [hotplug]: cpu(0) try to kill cpu(1) [ 6758.051825] [hotplug]: cpu1 is killed! D/WifiHW ( 1741): initial,try_time(7) D/WifiHW ( 1741): initial,try_time(8) [ 6758.338751] cpu up:1 [ 6758.377855] CPU1: Booted secondary processor D/WifiHW ( 1741): initial,try_time(9) D/WifiHW ( 1741): initial,try_time(10) D/WifiHW ( 1741): initial,try_time(11) D/WifiHW ( 1741): initial,try_time(12) [ 6759.293699] CPU1: shutdown [ 6759.296783] [hotplug]: cpu(0) try to kill cpu(1) [ 6759.303135] [hotplug]: cpu1 is killed! D/WifiHW ( 1741): initial,try_time(13) D/WifiHW ( 1741): initial,try_time(14) [ 6759.578738] cpu up:1 [ 6759.617831] CPU1: Booted secondary processor D/WifiHW ( 1741): initial,try_time(15) D/WifiHW ( 1741): initial,try_time(16) D/WifiHW ( 1741): initial,try_time(17) [ 6760.306522] CPU1: shutdown [ 6760.309923] [hotplug]: cpu(0) try to kill cpu(1) [ 6760.316319] [hotplug]: cpu1 is killed! D/WifiHW ( 1741): initial,try_time(18) D/WifiHW ( 1741): initial,try_time(19) D/WifiHW ( 1741): initial,try_time(20) D/WifiHW ( 1741): initial,try_time(21) [ 6780.393623] cpu up:1 [ 6780.430191] CPU1: Booted secondary processor D/WifiHW ( 1741): Enter wifi_unload_driver Function. [ 6781.354010] +rtw_drv_halt [ 6781.357014] usbcore: deregistering interface driver rtl8192cu [ 6781.363702] +rtw_dev_remove [ 6781.366862] rtw_unregister_early_suspend [ 6781.371415] rtw_pm_set_ips IPS_NONE [ 6781.375395] rtw_pm_set_ips: bDriverStopped=1, bup=0, hw_init_completed=0 W/Netd ( 1235): No subsystem found in netlink event D/NetlinkEvent( 1235): Unexpected netlink message. type=0x11 [ 6781.444941] CPU1: shutdown [ 6781.448551] [hotplug]: cpu(0) try to kill cpu(1) [ 6781.458544] [hotplug]: cpu1 is killed! [ 6781.499102] rtw_wdev_unregister(wdev=ef28a000) [ 6781.530468] rtw_sta_flush(eth1) W/Netd ( 1235): No subsystem found in netlink event D/NetlinkEvent( 1235): Unexpected netlink message. type=0x11 [ 6781.598777] <=== rtw_dev_unload [ 6781.602346] rtw_usb_if1_deinit, hw_init_completed=0 [ 6781.607869] rtw_wdev_unregister(wdev=ef01f200) [ 6781.640495] rtw_wdev_free(wdev=ef01f200) [ 6781.646579] free_recv_skb_queue not empty, 8 [ 6781.651797] rtw_unregister_early_suspend [ 6781.656253] =====> rtl8192c_free_hal_data ===== [ 6781.661452] <===== rtl8192c_free_hal_data ===== [ 6781.666755] rtw_wdev_free(wdev=ef28a000) [ 6781.673087] free_recv_skb_queue not empty, 8 [ 6781.678067] rtw_unregister_early_suspend [ 6781.682636] =====> rtl8192c_free_hal_data ===== [ 6781.687745] <===== rtl8192c_free_hal_data ===== [ 6781.693033] -r871xu_dev_remove, done [ 6781.699016] sw_usb_disable_hcd: usbc_num = 2 [ 6781.703840] WRN:L823(drivers/usb/host/ehci_sun7i.c):ERR: not support sw_usb_disable_ehci [ 6781.713359] WRN:L709(drivers/usb/host/ohci_sun7i.c):ERR: not support sw_usb_disable_ohci [ 6781.722558] -rtw_drv_halt [ 6781.738743] cpu up:1 [ 6781.777831] CPU1: Booted secondary processor E/WifiStateMachine( 1741): Failed to load driver! E/WifiStateMachine( 1741): DriverFailedState D/BluetoothAdapter( 2267): 1112016448: getState() : mService = null. Returning STATE_OFF [ 6782.349846] CPU1: shutdown [ 6782.352890] [hotplug]: cpu(0) try to kill cpu(1) [ 6782.359013] [hotplug]: cpu1 is killed! [ 6782.638789] cpu up:1 [ 6782.677946] CPU1: Booted secondary processor [ 6783.441530] CPU1: shutdown [ 6783.444629] [hotplug]: cpu(0) try to kill cpu(1) [ 6783.451144] [hotplug]: cpu1 is killed! Kindly tell me what will the error. Regards Punith -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.