ubutnu - laptop - suspend mode howto

Robert Brimhall rbrimhall at gmail.com
Wed Oct 27 23:16:19 UTC 2004


On Wed, 27 Oct 2004 23:37:28 +0200, Zebic Adi <adi at beeznest.net> wrote:
> Hi,
> 
> Is there any issue to make working suspend to ram or suspend to disk
> with my Dell Inspiron 5150 with 3.06Ghz Hyper threading processor?
> I've allready tryd to install mandrake, FC2, SuSe, Debian, Ubuntu and in
> all distros suspend mode was'nt present.
> 
> Any idea?

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#####

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




More information about the ubuntu-users mailing list