PDA

View Full Version : Getting Keep Awake to work... Help please!



danward79
August 18th, 2004, 02:02 PM
Hi

I am trying get the keep awake function of Avid's to work, but so far no joy.

My PPC is IPAQ 2210, it is set to:-

On battery Turn off backlight after 30secs
Turn off device if not used for 1min.

My button is setup:-

Name :- Keep Awake
IR Action Name :- NR.ClockTime
IR Action Code :- 5001 0000 0000 0002 fc0a 0001 0001 0000

Now if I get the doc's right. The screen will still go off but the ppc will not turn off.

I get the ppc turning off after 1 min.

Am I being stupid or is there a problem.

Many Thanks

Dan

Cocophone
August 18th, 2004, 02:24 PM
I set my keep awake button to use the track position. Then I put a track position button on the same panel. If you don't want the track position to be visible just use "no font" and it will be invisible.

Maybe you need to a button or frame that has the time on the same panel as the keep awake button

danward79
August 18th, 2004, 02:32 PM
Yeah, got time on the same panel, I can't use track posn, I don't use it.

I use time all over, thou.

Cocophone
August 18th, 2004, 02:37 PM
I used track position because I wanted Netremote to stay on while JRMC was playing music. But if I fall asleep on the couch, I wanted PPC to turn off when JRMC was done playing music.

danward79
August 18th, 2004, 02:46 PM
Good Call... I just want some kinda way of keeping the wifi live, while say TT is playing, etc.

I think I will use your idea for JRMC page thou.

Could you detail how to do it please.

Dan

Cocophone
August 18th, 2004, 02:57 PM
The button is named Keep Awake
On the "actions" tab in tonto I have
[Delay] 100ms
[IR] MP.TrackPosition

The code for the [IR] is
5001 0000 0000 0002 fc0a 0001 0001 0000

Then on the same panel I have a frame with the name
{MP.PlaylistPosition} of {MP.PlaylistLength} {MP.TrackPosition} / {MP.TrackLength}

My ccf is based on JLee's Opus ccf.

danward79
August 18th, 2004, 11:52 PM
Cool, I will have a play again.

Thanks
Dan

danward79
August 19th, 2004, 12:21 AM
I made two changes to my original, added the 100ms Delay, and set the time to show seconds as well and it now works.

Thanks for the help

Dan

avid
August 19th, 2004, 01:32 AM
I guess the problem is that if you set your PPC to suspend with a 1-minute timeout, and use a clock variable that is changing only every minute to keep it awake, then it may or may not work as expected. I didn't spot it as my PPC suspends after 3 minutes.

BTW, I have seen comments on this thread that it is necessary to actually *display* on the panel the counter variable used for KeepAwake. That surprises me - I would not have thought it necessary. Can anyone confirm that this is definitely the case? If so, I will document it (and also try to work out why!).

Brian

danward79
August 19th, 2004, 08:47 AM
Hi Avid,

I don't know if it is necessary, but when I read the doc's with your plugin. It made me think I needed to display the variable.

Dan

Cocophone
August 19th, 2004, 08:49 AM
Brian,

That was my thoughts too. I thought your docs implied that you needed the variable on the ccf panel.