Sekhar,

On 02/09/2011 01:58 PM, Nori, Sekhar wrote:
> Hi Mike,
> 
> On Sat, Feb 05, 2011 at 02:32:55, Michael Williamson wrote:
>> On 2/4/2011 12:15 PM, Steve Chen wrote:
>>
>>> On Fri, Feb 4, 2011 at 10:52 AM, Nori, Sekhar <[email protected]> wrote:
>>>> Hi Steve,
>>>>
>>>> On Fri, Feb 04, 2011 at 21:42:41, Steve Chen wrote:
>>>>
>>>>>> rtcwake  -s 40 rtc0
>>>>> rtcwake: /dev/rtc not enabled for wakeup events
>>>>
>>>> I have a feeling rtcwake is looking at the wrong device
>>>> node. Can you try:
>>>>
>>>> $ rtcwake -d /dev/rtc0 -s 20 -m mem
>>>>
>>>
>>> Doh!!.   Sekhar, you are right.  I did not include the "-d" flag.
>>> After passing the correct parameter to rtcwake, I'm able to wake up
>>> from sleep with NFS rootfs.  I'm running the kernel/filesystem from
>>> PSP 03.20.00.14.
>>>
>>
>>
>> I was wondering if you (or anyone) have numbers for how much power the
>> AM1808 you have is drawing while sleeping?  I was able to run the same 
>> command as above with an AM1808 module here today, and the power draw 
>> I am seeing by the module was still pretty high.  About 1/2 normal
>> operation, but still pretty high.
> 
> Were you able to wake-up successfully back from suspend during
> this test? I want to make sure you actually hit DeepSleep and did
> not crash somewhere on the way to it.
> 

Well, turns out when I ran that test I was running a branch off of the 
arago l138 kernel PSP.  I didn't realize it until this morning.  Sorry
for the confusion.  I bounce between the two too many times in the span
of a day.  On the mainline, my 1808 unit hangs entering sleep.  So I think 
there may indeed be something different / problematic there.  I haven't
had a chance to get back to it yet to make sure I didn't have a bad config
or something, but I don't think I did.

While running off of the PSP branch, it does appear to enter sleep (console
messages look sane, no oops, etc.) and it does appear to wake up on
the timer I configure.  I was able to cycle through this multiple times without
rebooting and run other apps / code in between cycles, etc.  Is there a log 
level or debug level that I can turn on to confirm actually making it to 
deepsleep?

-Mike

> Thanks,
> Sekhar
> 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to