Author Topic: Suspend Or Shutdown  (Read 2238 times)

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Suspend Or Shutdown
« on: August 10, 2006, 10:10:55 am »
Do people here tend to suspend their zaurus or shutdown?  So far I have been suspending but I have noticed that I get problems when I remove devices (usb and compact flash) when it is suspended and then try to wake it up without them.

I have to take some of the devices out as I am moving and I can't have them all hanging off it as I will just break something.

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Suspend Or Shutdown
« Reply #1 on: August 10, 2006, 10:26:54 am »
Suspend...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Suspend Or Shutdown
« Reply #2 on: August 10, 2006, 03:41:18 pm »
Take a look at the scripts in /etc/apm and see if you can add something to turn them on/off at suspend time (I did this with the internal wifi on my SL6000 - if on, it turns off prior to suspending and sets a flag to turn it on again when resuming, otherwise it dies).

Or maybe get used to removing things before suspending so that they are recognised as removed...?
SL6000-L, RC12

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Suspend Or Shutdown
« Reply #3 on: August 10, 2006, 03:48:54 pm »
Quote
Do people here tend to suspend their zaurus or shutdown?  So far I have been suspending but I have noticed that I get problems when I remove devices (usb and compact flash) when it is suspended and then try to wake it up without them.

I have to take some of the devices out as I am moving and I can't have them all hanging off it as I will just break something.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138100\"][{POST_SNAPBACK}][/a][/div]

You could just software-eject the card / USB stuff before suspend.
YOu can leave it connected (e.g. a CF card), and either you take it out while the Z is off, then it will not do any harm on next turnon.
Or you leave it in, then it will be recognized and re-mounted on next poweron.

The more elegant solution would fo course be to add the respective eject commands to the apm scripts, as suggested by karlto.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0