ubutnu - laptop - suspend mode howto

Santiago Erquicia santiago_erquicia at yahoo.com.ar
Wed Oct 27 23:25:36 UTC 2004


On Wed, 2004-10-27 at 18:16 -0500, Robert Brimhall wrote:

> I have a script that suspends to RAM (I think)... called sleep.sh in /etc/acpi
> #####begin#####
> #!/bin/sh
> 
> rmmod ipw2200
> rmmod uhci_hcd
> rmmod ehci_hcd
> 
> echo mem > /sys/power/state
> 
> modprobe uhci_hcd
> modprobe ehci_hcd
> modprobe ipw2200
> #####end#####
> 

Why do you have those modules there?  What makes you do it?

I'm asking because I would like to know which ones should I use.

> make sure there is also a file called sleep in /etc/acpi/events that contains:
> 
> #####start#####
> # /etc/acpid/events/sleep
> 
> event=button[/]sleep
> action=/etc/acpi/sleep.sh %e
> #####end#####
> 
> I have to switch virtual terminals when coming back from suspend to
> get my display back on... this is on an Inspiron 8500.
> 
> 
> -- 
> Robert
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2141 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041027/7a84dfe9/attachment.bin>


More information about the ubuntu-users mailing list