On Thu, Jun 17, 2004 at 02:50:11PM +0200, Arne Caspari wrote: > 1. I would shutdown/restart networking in this script > 2. I would issue a "rmmod -w modulename" for each module since this would cause the script to block if some module could not be unloaded. Eg. if you have a firewire device in use while suspending, your script would not unload the ieee1394 module and crash the system on resume > 3. Eventually I would restore the settings on the trackpad ( ie. "trackpad notap" ) because the trackpad config is not stored among a suspend/resume cycle > 4. I would re-sync the clock with "/sbin/clock -s" Most of this is already being done in: http://honk.physik.uni-konstanz.de/~agx/linux-ppc/pwrctl-local for pmud. It also dumps out a list of loaded modules on suspend, so it's easier to chase problems. Cheers, -- Guido
Attachment:
signature.asc
Description: Digital signature