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 is there a wake up
line. which needs to be configured ?

we had similar problems when we saved and restored the contexts of the uart,
certain uart registers were left out and hence uart would stop working after
suspend/resume.
there might also be the problem of the gpio glitch which would reset the
chip.

so have a look at all the h/w interfaces your chip has with the apps
processor.

On Tue, Oct 5, 2010 at 8:20 AM, Robin Gujjar <robin.guj...@gmail.com> wrote:

> 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 AM, Pavan Savoy <pavan.sa...@gmail.com>wrote:
>
>> 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.com>wrote:
>>
>>> 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
>>>> 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> wrote:
>>>>
>>>>> 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 value.But things keep
>>>>> still.
>>>>>
>>>>> Pavan Savoy <pavan.sa...@gmail.com> wrote:
>>>>> 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 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 about BT is out of work. From serial debug console, I
>>>>>        get
>>>>>        debug info "Unknown HCI packet type 00". Attempt everything I
>>>>>        know, but
>>>>>        problem is still there. Who can give me a suggestion about bt
>>>>>        sleep on
>>>>>        Android system.
>>>>>        Thanks very much!
>>>>>        --
>>>>>        Best regards.
>>>>>        Yours sincerely,
>>>>>        wikijone
>>>>>
>>>>>        --
>>>>>        unsubscribe: 
>>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>>>        website: http://groups.google.com/group/android-porting
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --Pavan Savoy
>>>>>
>>>>>
>>>>> --
>>>>> unsubscribe: 
>>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>>> website: http://groups.google.com/group/android-porting
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>> Bheemsen
>>>>
>>>> --
>>>> unsubscribe: 
>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>> website: http://groups.google.com/group/android-porting
>>>>
>>>
>>>
>>
>>
>> --
>> --Pavan Savoy
>>
>>
>


-- 
--Pavan Savoy

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to