OESF Portables Forum

General Forums => General Discussion => Topic started by: woodbri on July 28, 2004, 09:24:02 am

Title: Help: Z will NOT suspend!
Post by: woodbri on July 28, 2004, 09:24:02 am
Ack! I can NOT get my Z to suspend!

My Z was sitting in the docking station overnight, when I picked it up it was on but mostly frozen, ie: I could change tabs but applications would not start, it would not reboot, etc.

I set the switch to replace battery and hit the reset button.
Restored my last backup which was working fine.

In installed qpe-suspendapplet_1.5.0-3_arm.ipk to be able to suppress suspending in an attempt to prevent the screen saver from running and cause problems with long running apps under power.

I tried to put it to sleep and it would not!
I uninstalled qpe-suspendapplet_1.5.0-3_arm.ipk
Still no sleep
restored last backup ( without doing a cold boot to wipe the system )
Still no sleep

when I press the [Cancel] quickly I get a audible click, but holding it down does not make it sleep, the [start]->suspend doesn't do anything

Any ideas! Now I'm loosing sleep over this!
Title: Help: Z will NOT suspend!
Post by: lardman on July 28, 2004, 09:29:27 am
Don't know. You should probably pull the ipk apart and see what's in it (script-wise) and what it might have changed.

In the meantime you could always use 'apm --suspend'


Si
Title: Help: Z will NOT suspend!
Post by: woodbri on July 28, 2004, 09:41:59 am
Quote
In the meantime you could always use 'apm --suspend'

hrmmm

sudo arm --suspend
sudo: arm: command not found

where is this command supposed to reside? this could be a problem.
if it was a symlink to the command in rom and the ipk removed the symlink that might account for this.

How do I pull the ipk apart? I have been wondering about that.
Title: Help: Z will NOT suspend!
Post by: tumnus on July 28, 2004, 10:06:50 am
apm is under /usr/local/bin

The susp-resume ipk moves the apm symlink (that points to the real apm in the ROM) to apm.rom and installs a script called apm in its place. That's how the suspend/resume is able to do things on suspend and resume. Something might have gone wrong there.

A Sharp ROM ipk is a gzipped tar file, so 'tar xvf my.ipk' should open it.
Title: Help: Z will NOT suspend!
Post by: woodbri on July 28, 2004, 11:11:40 am
I did a cold reset of the system and suspend run ok
I restored my last backup that I thought was good, but no suspend

looked at /usr/local/bin and there is no apm.rom file or symlink there.
what should this link to so I can restore the symlink
Title: Help: Z will NOT suspend!
Post by: lardman on July 28, 2004, 11:31:37 am
probably

/usr.rom/local/apm

or something along those lines.

Si
Title: Help: Z will NOT suspend!
Post by: Optogeek on July 28, 2004, 11:32:43 am
/usr/local/bin/apm.rom should be sym linked to /usr/local.rom/bin/apm if you have the susp-resume ipk installed.
Title: Help: Z will NOT suspend!
Post by: woodbri on July 28, 2004, 11:50:01 am
Thanks - You guys are awsome!
replaced the symlink and all is good again!