[Miscellaneous Android Development] unplugged138:
[QUOTE="gmarkall, post: 22862239, member: 3365900"]I think this is the first report of such an issue with the wifi - it is semi-working for most people, in that it can be turned on and works until it is turned off again, but then cannot be turned on again. Can you send a logcat of when it reboots and the contents of /proc/last_kmsg after it reboots please?

logcat:
I/ActivityManager( 1183): Starting: Intent { act=android.settings.SETTINGS flg=0x10200000 cmp=com.android.settings/.Settings } from pid 1292
D/dalvikvm( 1765): GC_EXTERNAL_ALLOC freed 2K, 50% free 2831K/5639K, external 0K/0K, paused 63ms
D/ViewConsistency( 1765): AbsListView android.widget.ListView@4056af40 enabled= false
D/ViewConsistency( 1765): AbsListView android.widget.ListView@4056af40 enabled= false
I/ActivityManager( 1183): Displayed com.android.settings/.Settings: +636ms
I/ActivityManager( 1183): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 1765
D/ViewConsistency( 1765): AbsListView android.widget.ListView@4058ee68 enabled= false
D/ViewConsistency( 1765): AbsListView android.widget.ListView@4058ee68 enabled= false
V/NFC ( 1765): this device does not have NFC support
D/dalvikvm( 1765): GC_CONCURRENT freed 210K, 48% free 3038K/5767K, external 415K/514K, paused 2ms+3ms
E/WifiService( 1183): Failed to load Wi-Fi driver.
D/dalvikvm( 1277): GC_EXPLICIT freed 10K, 47% free 3177K/5895K, external 3894K/4815K, paused 32ms
D/SettingsAppWidgetProvider( 1765): Call buildUpdate for widget:6
D/SettingsAppWidgetProvider( 1765): buildUpdate done for widget:6
I/ActivityManager( 1183): Displayed com.android.settings/.WirelessSettings: +589ms

/proc/last_kmsg :

View attachment last_kmsg.zip

-------------------------------------------

after turn on wifi 3 times,wifi in "wireless & networks" shows "Error" as status.

the following is the dmesg shows:

<4>>>> dhd_module_init

<4>## Calling platform_driver_register

<4>>>> wifi_probe

<4>set card detect!!

<7>mmc2: card_present 1

<4><<< wifi_probe

<4>

<4>Dongle Host Driver, version 4.218.248.25

<4>Compiled in /home/user/cl1_disk/bw-fw-2.3.4/mydroid/hardware/broadcom/wlan/bcm4329_fxn_248/src/dhd/linux/../.. on Oct 7 2011 at 17:41:59

<4>+++check SDIO on mmc2

<6>mmc2: new SDIO card at address 0001

<4>GPIO-16 autorequested

<4>dhd_customer_oob_irq_map irg = 176

<4>F1 signature read @0x18000000=0x9934329

<4>DHD: dongle ram size is set to 294912(orig 294912)

<4>>>> dhd_attach

<4>BCM4329: fw_path= /vendor/firmware/fw_bcm4329.bin

<4>BCM4329: nv_path= /vendor/firmware/nvram.txt

<4><<< dhd_attach

<4>dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

<4>Firmware version = wl0: Dec 20 2010 19:21:39 version 4.218.248.18

<4>eth0: Broadcom Dongle Host Driver mac=00:01:36:fe:5f:b2

<4>Exited wl_control_wl_start

<4><<< dhd_module_init

<4>Failed to set 'wpa_auth'iovar

<4>>>> dhd_module_cleanup

<4>## Calling platform_driver_unregister

<4>## wifi_remove

<4>wifi_set_carddetect = 0

<7>mmc2: card_present 0

<4>wifi_set_power = 0

<4><<< dhd_module_cleanup

<4>>>> dhd_module_init

<4>## Calling platform_driver_register

<4>>>> wifi_probe

<4>set card detect!!

<7>mmc2: card_present 1

<4><<< wifi_probe

<4>dhd_customer_oob_irq_map irg = 176

<4>F1 signature read @0x18000000=0x 0

<4>dhdsdio_probe: ChipClkCSR access: err -35 wrote 0x28 read 0x00

<4>dhdsdio_probe: dhdsdio_probe_attach failed

<4>bcmsdh_sdmmc: probe of mmc2:0001:3 failed with error -5

<4>

<4>Dongle Host Driver, version 4.218.248.25

<4>Compiled in /home/user/cl1_disk/bw-fw-2.3.4/mydroid/hardware/broadcom/wlan/bcm4329_fxn_248/src/dhd/linux/../.. on Oct 7 2011 at 17:41:59

<4><<< dhd_module_init

<6>mmc2: card 0001 removed

<4>+++check SDIO on mmc2

<3>mmc2: error -110 whilst initialising SDIO card

<4>>>> dhd_module_cleanup

<4>## Calling platform_driver_unregister

<4>## wifi_remove

<4>wifi_set_carddetect = 0

<7>mmc2: card_present 0

<4>wifi_set_power = 0

<4><<< dhd_module_cleanup

<4>>>> dhd_module_init

<4>## Calling platform_driver_register

<4>>>> wifi_probe

<4>set card detect!!

<7>mmc2: card_present 1

<4><<< wifi_probe

<4>

<4>Dongle Host Driver, version 4.218.248.25

<4>Compiled in /home/user/cl1_disk/bw-fw-2.3.4/mydroid/hardware/broadcom/wlan/bcm4329_fxn_248/src/dhd/linux/../.. on Oct 7 2011 at 17:41:59

<4>+++check SDIO on mmc2

<4> err: -110

<4>---check SDIO

<4><<< dhd_module_init

<6>request_suspend_state: sleep (0->3) at 165598724368 (2012-02-24 10:05:42.635192872 UTC)

<4>[twl4030-usb]Enter twl4030_usb_early_suspend.

<4>=******MORGAN_TOUCH******* touch_led off

<4>[ADXL345 G-Sensor]Enter adxl345_disable, cancel work is 1, and adxl345-sensor enter suspend

<4>[ADXL345 G-Sensor]:Enter adxl345_enable_store, val=0

<4>**************power off sequence

<4>James(board-edp1-panel.c)edp1_panel_suspend

<3><dss_mgr_disable> disabling lcd

<4>*****************value.intval is 0 ...

<4>*****************value.intval is 150 ...

<4>*****************value.intval is 3939000 ...

<4>*****************value.intval is 388 ...

<4>*****************value.intval is 63 ...

<4>*****************value.intval is 0 ...

<4>*****************value.intval is 1 ...

<4>*****************value.intval is 63 ...

<4>*****************value.intval is 3939000 ...

<4>*****************value.intval is 150 ...

<4>handle_twl4030_sih, isr=0x1, irq=373

<4>pwr key 1 0

<6>request_suspend_state: wakeup (3->0) at 238552098520 (2012-02-24 10:06:55.588567024 UTC)

<4>[ADXL345 G-Sensor]:Enter adxl345_delay_store, delaytime=200

<4>[ADXL345 G-Sensor]:Enter adxl345_delay_store, delaytime=200

<4>[PWM] Enter zoom_pwm_init

<4>[PWM] , PWM Set Completed

<4>[ADXL345 G-Sensor]Enter adxl345_enable, reschedule work queue( or enable irq).

<4>[ADXL345 G-Sensor]:Enter adxl345_enable_store, val=1

<4>[ADXL345 G-Sensor]:Enter adxl345_delay_store, delaytime=200

<4>[ADXL345 G-Sensor]:Enter adxl345_delay_store, delaytime=200

<4>handle_twl4030_sih, isr=0x1, irq=373

<4>pwr key 0 1

<4>James(board-edp1-panel.c)edp1_panel_resume

<4>@@@@@@@@@@@DISPC_GFX_BA0 is 0x80d6f000 ...

<4>@@@@@@@@@@@DISPC_GFX_POSITION X is 0 ...

<4>@@@@@@@@@@@DISPC_GFX_POSITION Y is 0 ...

<4>mg_resume: i2c_smbus_write_i2c_block_data success i=1

<4>[twl4030-usb]Enter twl4030_usb_late_resume.

<6>request_suspend_state: sleep (0->3) at 300723969417 (2012-02-24 10:07:57.760407403 UTC)

<4>[twl4030-usb]Enter twl4030_usb_early_suspend.

<4>=******MORGAN_TOUCH******* touch_led off

<4>[ADXL345 G-Sensor]Enter adxl345_disable, cancel work is 1, and adxl345-sensor enter suspend

<4>[ADXL345 G-Sensor]:Enter adxl345_enable_store, val=0

<4>**************power off sequence

<4>James(board-edp1-panel.c)edp1_panel_suspend

<3><dss_mgr_disable> disabling lcd