[Galaxy S Plus I9001 Android Development] DreamerTKM:
Hi Christopher,

Sorry for bothering you again. I've tried with v0.18.7 and I still having this problem. It just somehow like when the phone is freshly rebooted the led notification will work fine but after this something went wrong.

I also successfully get a dmesg log for a fresh boot device and the notification is working fine. The kernel seems able to keep acquire and release the BLN wakelock thus the BLN is working fine.

<6>[ 559.343963] bln_wakelock_acquire: Acquiring BLN wakelock

<6>[ 559.350952] [msm7x30.c:msm_device_put] device speaker_rx set 1

<3>[ 559.351104] [msm7x30.c:msm_device_put] device freq =48000

<6>[ 559.355499] [adsp.c:msm_adsp_get] module AFETASK has been registered

<6>[ 559.355682] [adsp.c:msm_adsp_enable] enable 'AFETASK'state[0] id[17227119]

<6>[ 559.361114] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227119, image=0

<6>[ 559.361267] [adsp.c:adsp_rtos_mtoa_cb] module AFETASK: READY

<4>[ 559.379821] touch_keypad_onoff 1 , 1.

<6>[ 559.380187] enable_led_notification: notification led enabled

<6>[ 559.410522] yda165:speaker on

<6>[ 559.413940] msm_snddev_poweramp_on_speaker: power on amplifier

<6>[ 559.414093] [adsp.c:msm_adsp_get] module AUDPPTASK has been registered

<6>[ 559.414245] [adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]

<6>[ 559.415954] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227122, image=0

<6>[ 559.416107] [adsp.c:adsp_rtos_mtoa_cb] module AUDPPTASK: READY

<6>[ 559.420227] [audpp.c:audpp_dsp_event] ENABLE

<6>[ 559.424407] [adsp.c:msm_adsp_write] AUDPPTASK command took 75 attempts: rc 0

[COLOR="Red"][B]<6>[ 559.462463] bln_wakelock_release: Releasing BLN wakelock

<6>[ 559.971466] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 560.009643] touch_keypad_onoff 1 , 1.[/B][/COLOR]

<6>[ 560.471343] bln_wakelock_release: Releasing BLN wakelock

<6>[ 560.981811] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 561.019592] touch_keypad_onoff 1 , 1.

<6>[ 561.471618] bln_wakelock_release: Releasing BLN wakelock

<6>[ 561.984802] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 562.019592] touch_keypad_onoff 1 , 1.

<6>[ 562.468322] bln_wakelock_release: Releasing BLN wakelock

<6>[ 562.983581] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 563.019592] touch_keypad_onoff 1 , 1.

<6>[ 563.466033] bln_wakelock_release: Releasing BLN wakelock

<4>[ 563.522521] [MAX17043] FGPureSOC = 9734 (97.34)	FGAdjustSOC = 10004	FGSOC = 100

<6>[ 563.524200] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=817, chg_current=230, wc_adc=0

<6>[ 563.524597] [BATT] msm_batt_update_psy_status: power_supply_changed !

<6>[ 563.674133] [msm7x30.c:msm_device_put] device speaker_rx set 0

<6>[ 563.676025] yda165:speaker off

<6>[ 563.709625] msm_snddev_poweramp_off_speaker: power off amplifier

<6>[ 563.713439] [adsp.c:msm_adsp_put] closing module AFETASK

<6>[ 563.714202] [msm7x30.c:msm_device_put] device speaker_tx set 0

<6>[ 563.714813] [audpp.c:audpp_dsp_event] DISABLE

<6>[ 563.715118] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP

<6>[ 563.715667] [adsp.c:msm_adsp_disable] disable interrupt

<6>[ 563.716003] [adsp.c:msm_adsp_put] closing module AUDPPTASK

<6>[ 563.981689] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 564.019531] touch_keypad_onoff 1 , 1.

<6>[ 564.464111] bln_wakelock_release: Releasing BLN wakelock

<6>[ 564.976318] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 565.009613] touch_keypad_onoff 1 , 1.

<6>[ 565.472686] bln_wakelock_release: Releasing BLN wakelock

<6>[ 565.983398] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 566.019561] touch_keypad_onoff 1 , 1.

<6>[ 566.480712] bln_wakelock_release: Releasing BLN wakelock

<6>[ 566.992645] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 567.029602] touch_keypad_onoff 1 , 1.

<6>[ 567.466674] bln_wakelock_release: Releasing BLN wakelock

<6>[ 567.985900] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 568.019561] touch_keypad_onoff 1 , 1.

<6>[ 568.466949] bln_wakelock_release: Releasing BLN wakelock

<6>[ 568.981048] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 569.020111] touch_keypad_onoff 1 , 1.

<6>[ 569.473907] bln_wakelock_release: Releasing BLN wakelock

<6>[ 569.987640] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 570.019561] touch_keypad_onoff 1 , 1.

<6>[ 570.471191] bln_wakelock_release: Releasing BLN wakelock

<6>[ 570.980316] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 571.019561] touch_keypad_onoff 1 , 1.

<6>[ 571.470336] bln_wakelock_release: Releasing BLN wakelock

<6>[ 571.979370] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 572.020721] touch_keypad_onoff 1 , 1.

<6>[ 572.469024] bln_wakelock_release: Releasing BLN wakelock

<6>[ 572.986541] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 573.019561] touch_keypad_onoff 1 , 1.

<6>[ 573.466857] bln_wakelock_release: Releasing BLN wakelock

<6>[ 573.982971] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 574.019653] touch_keypad_onoff 1 , 1.

<6>[ 574.491210] bln_wakelock_release: Releasing BLN wakelock

<6>[ 575.000823] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 575.039581] touch_keypad_onoff 1 , 1.

<6>[ 575.466613] bln_wakelock_release: Releasing BLN wakelock

<6>[ 575.983245] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 576.019653] touch_keypad_onoff 1 , 1.

<6>[ 576.467346] bln_wakelock_release: Releasing BLN wakelock

<6>[ 576.982696] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 577.019622] touch_keypad_onoff 1 , 1.

<6>[ 577.466186] bln_wakelock_release: Releasing BLN wakelock

<6>[ 577.982666] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 578.019622] touch_keypad_onoff 1 , 1.

<6>[ 578.466522] bln_wakelock_release: Releasing BLN wakelock

<4>[ 578.563507] [MAX17043] FGPureSOC = 9750 (97.50)	FGAdjustSOC = 10020	FGSOC = 100

<6>[ 578.565216] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=818, chg_current=230, wc_adc=0

<6>[ 578.565765] [BATT] msm_batt_update_psy_status: power_supply_changed !

<6>[ 578.982971] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 579.019622] touch_keypad_onoff 1 , 1.

<6>[ 579.470977] bln_wakelock_release: Releasing BLN wakelock

<6>[ 579.982818] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 580.019592] touch_keypad_onoff 1 , 1.

<6>[ 580.466705] bln_wakelock_release: Releasing BLN wakelock

<6>[ 580.980499] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 581.019592] touch_keypad_onoff 1 , 1.

<6>[ 581.475463] bln_wakelock_release: Releasing BLN wakelock

<6>[ 581.989044] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 582.019561] touch_keypad_onoff 1 , 1.

<6>[ 582.466613] bln_wakelock_release: Releasing BLN wakelock

<6>[ 582.984619] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 583.019561] touch_keypad_onoff 1 , 1.

<6>[ 583.466644] bln_wakelock_release: Releasing BLN wakelock

<6>[ 583.978485] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 584.009948] touch_keypad_onoff 1 , 1.

<6>[ 584.471649] bln_wakelock_release: Releasing BLN wakelock

<6>[ 584.992523] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 585.030364] touch_keypad_onoff 1 , 1.

<6>[ 585.470764] bln_wakelock_release: Releasing BLN wakelock

<6>[ 585.988372] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 586.029602] touch_keypad_onoff 1 , 1.

<6>[ 586.472045] bln_wakelock_release: Releasing BLN wakelock

<6>[ 586.985900] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 587.019561] touch_keypad_onoff 1 , 1.

<6>[ 587.466033] bln_wakelock_release: Releasing BLN wakelock

<6>[ 587.982604] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 588.019561] touch_keypad_onoff 1 , 1.

<6>[ 588.465789] bln_wakelock_release: Releasing BLN wakelock

<6>[ 588.984588] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 589.019561] touch_keypad_onoff 1 , 1.

<6>[ 589.469421] bln_wakelock_release: Releasing BLN wakelock

<6>[ 589.990722] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 590.029571] touch_keypad_onoff 1 , 1.

<6>[ 590.465911] bln_wakelock_release: Releasing BLN wakelock

<6>[ 590.979309] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 591.019561] touch_keypad_onoff 1 , 1.

<6>[ 591.470886] bln_wakelock_release: Releasing BLN wakelock

<6>[ 591.984924] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 592.019622] touch_keypad_onoff 1 , 1.

<6>[ 592.465820] bln_wakelock_release: Releasing BLN wakelock

<6>[ 592.982574] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 593.019622] touch_keypad_onoff 1 , 1.

<6>[ 593.465515] bln_wakelock_release: Releasing BLN wakelock

<4>[ 593.602996] [MAX17043] FGPureSOC = 9750 (97.50)	FGAdjustSOC = 10020	FGSOC = 100

<6>[ 593.604736] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=818, chg_current=232, wc_adc=0

<6>[ 593.605499] [BATT] msm_batt_update_psy_status: power_supply_changed !

<6>[ 593.983367] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 594.019622] touch_keypad_onoff 1 , 1.

<6>[ 594.473358] bln_wakelock_release: Releasing BLN wakelock

<6>[ 594.983947] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 595.019653] touch_keypad_onoff 1 , 1.

<6>[ 595.473266] bln_wakelock_release: Releasing BLN wakelock

<6>[ 595.987487] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 596.019622] touch_keypad_onoff 1 , 1.

<6>[ 596.467407] bln_wakelock_release: Releasing BLN wakelock

<4>[ 596.546752] [diony] yas_acc_set_enable = 1.

<6>[ 596.981872] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 597.021179] touch_keypad_onoff 1 , 1.

<4>[ 597.345245] [diony] yas_acc_set_enable = 0.

<6>[ 597.485565] bln_wakelock_release: Releasing BLN wakelock

<6>[ 597.994445] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 598.029632] touch_keypad_onoff 1 , 1.

<6>[ 598.466705] bln_wakelock_release: Releasing BLN wakelock

<6>[ 598.983428] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 599.019561] touch_keypad_onoff 1 , 1.

<6>[ 599.472961] bln_wakelock_release: Releasing BLN wakelock

<6>[ 599.982452] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 600.019592] touch_keypad_onoff 1 , 1.

<6>[ 600.483337] bln_wakelock_release: Releasing BLN wakelock

<6>[ 600.993225] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 601.029602] touch_keypad_onoff 1 , 1.

<6>[ 601.465667] bln_wakelock_release: Releasing BLN wakelock

<6>[ 601.981170] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 602.019592] touch_keypad_onoff 1 , 1.

<6>[ 602.470214] bln_wakelock_release: Releasing BLN wakelock

<6>[ 602.982818] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 603.019561] touch_keypad_onoff 1 , 1.

<6>[ 603.466552] bln_wakelock_release: Releasing BLN wakelock

<6>[ 603.980957] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 604.019592] touch_keypad_onoff 1 , 1.

<6>[ 604.480468] bln_wakelock_release: Releasing BLN wakelock

<6>[ 604.998229] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 605.029571] touch_keypad_onoff 1 , 1.

<6>[ 605.470886] bln_wakelock_release: Releasing BLN wakelock

<6>[ 605.981201] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 606.019653] touch_keypad_onoff 1 , 1.

<6>[ 606.465393] bln_wakelock_release: Releasing BLN wakelock

<6>[ 606.982330] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 607.019561] touch_keypad_onoff 1 , 1.

<6>[ 607.466186] bln_wakelock_release: Releasing BLN wakelock

<6>[ 607.982482] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 608.019561] touch_keypad_onoff 1 , 1.

<6>[ 608.465759] bln_wakelock_release: Releasing BLN wakelock

<4>[ 608.643096] [MAX17043] FGPureSOC = 9750 (97.50)	FGAdjustSOC = 10020	FGSOC = 100

<6>[ 608.644836] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=819, chg_current=226, wc_adc=0

<6>[ 608.645599] [BATT] msm_batt_update_psy_status: power_supply_changed !

<6>[ 608.981994] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 609.019561] touch_keypad_onoff 1 , 1.

<6>[ 609.471893] bln_wakelock_release: Releasing BLN wakelock

<6>[ 609.982757] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 610.019592] touch_keypad_onoff 1 , 1.

<6>[ 610.472869] bln_wakelock_release: Releasing BLN wakelock

<6>[ 610.993011] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 611.030120] touch_keypad_onoff 1 , 1.

<6>[ 611.467590] bln_wakelock_release: Releasing BLN wakelock

<6>[ 611.984069] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 612.019592] touch_keypad_onoff 1 , 1.

<6>[ 612.465698] bln_wakelock_release: Releasing BLN wakelock

<6>[ 612.984375] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 613.019592] touch_keypad_onoff 1 , 1.

<6>[ 613.465576] bln_wakelock_release: Releasing BLN wakelock

<6>[ 613.984619] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 614.019561] touch_keypad_onoff 1 , 1.

<6>[ 614.471832] bln_wakelock_release: Releasing BLN wakelock

<6>[ 614.982513] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 615.019592] touch_keypad_onoff 1 , 1.

<6>[ 615.474029] bln_wakelock_release: Releasing BLN wakelock

<6>[ 615.989013] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 616.019592] touch_keypad_onoff 1 , 1.

<6>[ 616.466827] bln_wakelock_release: Releasing BLN wakelock

<6>[ 616.981597] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 617.019592] touch_keypad_onoff 1 , 1.

<6>[ 617.463806] bln_wakelock_release: Releasing BLN wakelock

<6>[ 617.979431] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 618.019561] touch_keypad_onoff 1 , 1.

<6>[ 618.467773] bln_wakelock_release: Releasing BLN wakelock

<6>[ 618.976928] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[ 619.009552] touch_keypad_onoff 1 , 1.

<6>[ 619.476135] bln_wakelock_release: Releasing BLN wakelock

<4>[ 623.682647] [MAX17043] FGPureSOC = 9750 (97.50)	FGAdjustSOC = 10020	FGSOC = 100

<6>[ 623.684326] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=817, chg_current=223, wc_adc=0

<6>[ 623.684692] [BATT] msm_batt_update_psy_status: power_supply_changed !

<4>[ 638.723144] [MAX17043] FGPureSOC = 9750 (97.50)	FGAdjustSOC = 10020	FGSOC = 100

<6>[ 638.725097] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=815, chg_current=222, wc_adc=0

<6>[ 638.725646] [BATT] msm_batt_update_psy_status: power_supply_changed !

<4>[ 653.764251] [MAX17043] FGPureSOC = 9766 (97.66)	FGAdjustSOC = 10036	FGSOC = 100

<6>[ 653.765991] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=818, chg_current=222, wc_adc=0

<6>[ 653.766754] [BATT] msm_batt_update_psy_status: power_supply_changed !

<4>[ 668.804290] [MAX17043] FGPureSOC = 9766 (97.66)	FGAdjustSOC = 10036	FGSOC = 100

<6>[ 668.806243] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=820, chg_current=220, wc_adc=0

<6>[ 668.806793] [BATT] msm_batt_update_psy_status: power_supply_changed !

However, after the phone is up for sometime, (example : Overnight) now the BLN wakelocks acquisition only happens for 1 time and it never release the wakelock thus it results in the backlight turned on permanently until we wake the device.

[B][COLOR="red"]<6>[40658.669433] bln_wakelock_acquire: Acquiring BLN wakelock

<4>[40658.706146] touch_keypad_onoff 1 , 1.

<6>[40658.706542] enable_led_notification: notification led enabled[/COLOR][/B]

<6>[40658.952117] [msm7x30.c:msm_device_put] device speaker_rx set 1

<3>[40658.952178] [msm7x30.c:msm_device_put] device freq =48000

<6>[40658.956970] [adsp.c:msm_adsp_get] module AFETASK has been registered

<6>[40658.957061] [adsp.c:msm_adsp_enable] enable 'AFETASK'state[0] id[17227119]

<6>[40658.962402] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227119, image=0

<6>[40658.962524] [adsp.c:adsp_rtos_mtoa_cb] module AFETASK: READY

<6>[40659.016906] yda165:speaker on

<6>[40659.020355] msm_snddev_poweramp_on_speaker: power on amplifier

<6>[40659.020507] [adsp.c:msm_adsp_get] module AUDPPTASK has been registered

<6>[40659.020629] [adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]

<6>[40659.022308] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227122, image=0

<6>[40659.022430] [adsp.c:adsp_rtos_mtoa_cb] module AUDPPTASK: READY

<6>[40659.026489] [audpp.c:audpp_dsp_event] ENABLE

<6>[40659.030670] [adsp.c:msm_adsp_write] AUDPPTASK command took 75 attempts: rc 0

<6>[40661.626983] lowmemorykiller: Killing 'droid.gsf.login' (6993), adj 1000,

<6>[40661.626983] to free 22348kB on behalf of 'kswapd0' (37) because

<6>[40661.626983] cache 77140kB is below limit 77824kB for oom_score_adj 500

<6>[40661.626983] Free memory is 5716kB above reserved

<6>[40663.280334] [msm7x30.c:msm_device_put] device speaker_rx set 0

<6>[40663.282226] yda165:speaker off

<6>[40663.316131] msm_snddev_poweramp_off_speaker: power off amplifier

<6>[40663.321502] [adsp.c:msm_adsp_put] closing module AFETASK

<6>[40663.322296] [msm7x30.c:msm_device_put] device speaker_tx set 0

<6>[40663.322937] [audpp.c:audpp_dsp_event] DISABLE

<6>[40663.323272] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP

<6>[40663.323791] [adsp.c:msm_adsp_disable] disable interrupt

<6>[40663.324157] [adsp.c:msm_adsp_put] closing module AUDPPTASK

<4>[40663.408599] [diony] yas_acc_set_enable = 1.

<4>[40663.968536] [MAX17043] FGPureSOC = 9892 (98.92)	FGAdjustSOC = 10166	FGSOC = 100

<6>[40663.969787] [BATT] msm_batt_update_psy_status: charger_status=3, charger_type=0, battery_status=0, battery_temp_adc=771, chg_current=0, wc_adc=0

<6>[40663.969909] [BATT] msm_batt_update_psy_status: power_supply_changed !

<4>[40664.194183] [diony] yas_acc_set_enable = 0.

<4>[40679.009460] [MAX17043] FGPureSOC = 9876 (98.76)	FGAdjustSOC = 10150	FGSOC = 100

<6>[40679.010711] [BATT] msm_batt_update_psy_status: charger_status=3, charger_type=0, battery_status=0, battery_temp_adc=789, chg_current=0, wc_adc=0

<6>[40679.010833] [BATT] msm_batt_update_psy_status: power_supply_changed !

Attached some dmesg log with not working condition and a dmesg_ok.txt log for BLN working fine condition

Hope this time the log will help. Thanks in advance~