OESF Portables Forum
General Forums => General Discussion => Topic started 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!
-
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
-
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.
-
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.
-
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
-
probably
/usr.rom/local/apm
or something along those lines.
Si
-
/usr/local/bin/apm.rom should be sym linked to /usr/local.rom/bin/apm if you have the susp-resume ipk installed.
-
Thanks - You guys are awsome!
replaced the symlink and all is good again!