OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: scrapheap on August 10, 2006, 10:10:55 am

Title: Suspend Or Shutdown
Post by: scrapheap 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.
Title: Suspend Or Shutdown
Post by: InSearchOf on August 10, 2006, 10:26:54 am
Suspend...

Late
Title: Suspend Or Shutdown
Post by: karlto 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...?
Title: Suspend Or Shutdown
Post by: daniel3000 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