Author Topic: Help: Z will NOT suspend!  (Read 2676 times)

woodbri

  • Newbie
  • *
  • Posts: 15
    • View Profile
Help: Z will NOT suspend!
« 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!
SL-5500, ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-zarus v2.3-2.4.18d

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Help: Z will NOT suspend!
« Reply #1 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

woodbri

  • Newbie
  • *
  • Posts: 15
    • View Profile
Help: Z will NOT suspend!
« Reply #2 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.
SL-5500, ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-zarus v2.3-2.4.18d

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Help: Z will NOT suspend!
« Reply #3 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.
« Last Edit: July 28, 2004, 10:08:09 am by tumnus »
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

woodbri

  • Newbie
  • *
  • Posts: 15
    • View Profile
Help: Z will NOT suspend!
« Reply #4 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
SL-5500, ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-zarus v2.3-2.4.18d

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Help: Z will NOT suspend!
« Reply #5 on: July 28, 2004, 11:31:37 am »
probably

/usr.rom/local/apm

or something along those lines.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Optogeek

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://optogeek.homelinux.net
Help: Z will NOT suspend!
« Reply #6 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.
« Last Edit: July 28, 2004, 11:33:20 am by Optogeek »
SL-C860 running Cacko 1.23
SL-5500UK with 3.13 Sharp ROM + Cacko Kernel
Origo WLAN and BlueMonkey BT CFs
1GB Crucial SD
1GB Crucial CF

woodbri

  • Newbie
  • *
  • Posts: 15
    • View Profile
Help: Z will NOT suspend!
« Reply #7 on: July 28, 2004, 11:50:01 am »
Thanks - You guys are awsome!
replaced the symlink and all is good again!
SL-5500, ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-zarus v2.3-2.4.18d