Author Topic: 5600 won\'t suspend!?!?  (Read 4933 times)

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
5600 won\'t suspend!?!?
« on: March 03, 2004, 11:17:09 am »
OK, was messing around trying to get kismet installed on my SL-5600, and have noticed that the device won\'t go into suspend, either via a long press on the Cancel key, or by selecting \"Suspend\" from the QT menu in the lower left corner of the GUI.  

I\'ve uninstalled the kismet .ipk, I\'ve restored a backup (using the Sharp PC-based Backup-Restore) from a couple of days ago--when I know the On-Off button was working (hard to miss a thing like that), but the problem persists.

Next on the to-try list is a complete reflash of the stock ROM, but I was hoping someone here might have a suggestion to spare such drastic measures...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
5600 won\'t suspend!?!?
« Reply #1 on: March 03, 2004, 01:00:55 pm »
Quote
OK, was messing around trying to get kismet installed on my SL-5600, and have noticed that the device won\'t go into suspend, either via a long press on the Cancel key, or by selecting \"Suspend\" from the QT menu in the lower left corner of the GUI.  

I\'ve uninstalled the kismet .ipk, I\'ve restored a backup (using the Sharp PC-based Backup-Restore) from a couple of days ago--when I know the On-Off button was working (hard to miss a thing like that), but the problem persists.

Next on the to-try list is a complete reflash of the stock ROM, but I was hoping someone here might have a suggestion to spare such drastic measures...

Did you try ejecting or removing the network card?

I\'ve noticed that the card\'s status seems to be persistent even through a reboot cycle.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
5600 won\'t suspend!?!?
« Reply #2 on: March 03, 2004, 01:40:23 pm »
Yes, I removed all cards, first CF and then SD.  Nothing helps.  I have actually gone ahead and re-flashed back to stock ROM, which still didn\'t fix the problem.  I went back into the update menu and formatted the Zaurus, which finally remedied the problem.

Then I restored from a 2-day-old backup--and the problem is back!

I am absolutely sure that suspend worked when I made this backup--kinda hard to overlook a device that can\'t be turned off!

I am now wondering if there is something about the PC-based restore program itself that breaks something QTopia is trying to do to go into suspend.  (I used the restore program earlier today to fix some wierdness that a misguided .ipk had caused.)

The actual suspend function appears intact: any read access to /proc/sys/pm/suspend will put the device into suspend, and the power (Cancel) button brings it out appropriately.

So, can anyone offer advice as to where QTopia hides its config file defining what it does to go into suspend, and how it might be fixed?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
5600 won\'t suspend!?!?
« Reply #3 on: March 03, 2004, 02:41:05 pm »
Update: I\'ve slogged blindly through the inner working of the Z\'s suspend and resume scripts, and it appears that /usr/local/bin/apm.rom is missing.  

I made a calculated guess that this was supposed to be a symlink to /usr/local.rom/apm

...drumroll, please...

The suspend button works!

I\'m not opening the champagne yet, but the problem seems to be fixed, which leaves me wondering: how did this happen in the first place?  How did this one lonely item (please, please, please let it be just this one) get excluded from the backup?  Perusing the \"All Data\" tab of the backup, I see no symlinks whatsoever listed, although it appears all others were restored normally...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Anonymous

  • Guest
5600 won\'t suspend!?!?
« Reply #4 on: March 03, 2004, 02:45:37 pm »
Ive noticed many files ( i had searched for certain file types) that are present when you do a find.  

cd /
find . -name *.png  lets say

and then search the backups synching to desktop and I see some missing.

Interestingly after changing roms, from sharp to oz to zynergy, and then reinstalling gaim, i still have my profiles from round 1. Which leads me to believe that the format does not format the entire rom, that the backups do not backup everything, so ...

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
5600 won\'t suspend!?!?
« Reply #5 on: March 03, 2004, 02:57:31 pm »
This is a guess (based on observed results), but I believe:

Upgrade (Flash) ROM--erases/rewrites the read-only portions of the zaurus filesystem

Format--erases (and rewrites to some default state?) the read-write portions of the zaurus filesystem.
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Optogeek

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://optogeek.homelinux.net
5600 won\'t suspend!?!?
« Reply #6 on: March 09, 2004, 07:43:09 pm »
I have just had the same problem with my SL-5500 (UK with 3.13 rom).    Same situation, after recovering from a back-up suspend stopped working.  After I fixed the link it now works.
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

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
5600 won\'t suspend!?!?
« Reply #7 on: March 09, 2004, 09:25:02 pm »
Is this some sort of pervasive bug (since we\'re not even using the same SL devices) in the Shap backup-restore program?  Anyone else out there experienced this?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
5600 won\'t suspend!?!?
« Reply #8 on: March 10, 2004, 03:19:06 am »
The apm.rom file is created by installing the Suspend/Resume ipks. It gets moved from \'apm\' to make way for a script that is necessary for the suspend/resume stuff. Once it\'s installed ok with sudo it should work and stay working. If files like these move or sym links start pointing at the wrong place, then something wierd is going on. I\'ve never seen it though.

Anyway, your summary of the Update and Format processes are correct, Ethereal.
# 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