Re: [android-porting] Android BT subsystem sleep

2010-10-05 Thread Robin Gujjar
try to check motorola open source release ( on there web site or u may try to chek qualcomm code also bluesleep.c (BT4020) i do not remeberr exact name now ) for there linux based code . i do not remember the link now . May be in android git for MSM or Motorola git On Tue, Oct 5, 2010 at 12:39

Re: [android-porting] Android BT subsystem sleep

2010-10-05 Thread Pavan Savoy
bluesleep.c does seem really out-dated.. since then the linux PM has changed and android also has this suspend/resume .. which I don't think bluesleep will help out in. one more thing to note is ... what are the interfaces that your bluetooth chip has to the apps processor ? is it just uart? or

Re: [android-porting] Android BT subsystem sleep

2010-10-05 Thread Robin Gujjar
On Tue, Oct 5, 2010 at 9:25 PM, Pavan Savoy pavan.sa...@gmail.com wrote: bluesleep.c does seem really out-dated.. since then the linux PM has changed and android also has this suspend/resume .. which I don't think bluesleep will help out in. i worked on this chip 2 year back when android

Re: [android-porting] Android BT subsystem sleep

2010-10-04 Thread wikijone
hi pavan, Thanks a lot for your reply! Well, I know on system wide suspend, all hardware about BT system will go down, like UART, GPIO, BT chip(we use BCM4329). As you say, I have checked every CPU's GPIO for their state, every UART properties state, after board waking up, all state resume their

Re: [android-porting] Android BT subsystem sleep

2010-10-04 Thread bheemsen
When system goes to suspend GPIO should be put in to safe mode, can you check BT gpio is in safemode when system goes to suspend. If possible try probing BT gpio during suspend, if BT gpio is toggled during suspend ? Regards, Bheemsen On Mon, Oct 4, 2010 at 2:16 PM, wikijone wikij...@gmail.com

Re: [android-porting] Android BT subsystem sleep

2010-10-04 Thread Robin Gujjar
you can also check the motorola bluetooth sleep mode driver or Qualcomm bluethood sleep mode driver , that will help u , u can brouse there code on there On Mon, Oct 4, 2010 at 10:17 PM, bheemsen bheems...@gmail.com wrote: When system goes to suspend GPIO should be put in to safe mode, can you

Re: [android-porting] Android BT subsystem sleep

2010-10-04 Thread Pavan Savoy
hnm, interesting.. where can i find source code for those ? what does a bluetooth sleep mode driver do? On Mon, Oct 4, 2010 at 11:31 AM, Robin Gujjar robin.guj...@gmail.comwrote: you can also check the motorola bluetooth sleep mode driver or Qualcomm bluethood sleep mode driver , that will

[android-porting] Android BT subsystem sleep

2010-10-03 Thread wikijone
hi guys, At my develop platform smdk6410, with Android eclair sytem run on it, BT subsystem run well. But a significant bug is that when i push power button to turn on sleep system, the system will deep sleep, next push power button with wakeup, but now BT subsystem is not running, everything

Re: [android-porting] Android BT subsystem sleep

2010-10-03 Thread Pavan Savoy
you might want to check up on the any chip enable GPIO connected to your BT chip or the UART connected to BT, might have gotten reset because of the system wide suspend... On Sun, Oct 3, 2010 at 11:55 PM, wikijone wikij...@gmail.com wrote: hi guys, At my develop platform smdk6410, with Android