laptop standby

Daniel McLean daniel.mclean at optusnet.com.au
Sun Oct 10 01:38:13 UTC 2004


On Sat, 2004-10-09 at 20:24 +0100, Jan Kokoska wrote:

> Make a script for sleep event, unload all problematic modules prior to
> "echo mem > /sys/power/state" and reload the back afterwards in the same
> script. This can be used in your acpid configuration and with proper
> laptop-specific driver support bound to your special function buttons.

Using this script:

modprobe -r ohci_hcd
echo standby > /sys/power/state
modprobe ohci_hcd

It seems to suspend (suspend LED on my laptop comes on) but my LCD stays
on (ie. I can still see a console type view)?? 

Below is the corresponding dmesg output:

ohci_hcd 0000:00:14.0: remove, state 1
usb usb1: USB disconnect, address 1
ohci_hcd 0000:00:14.0: USB bus 1 deregistered
PM: Preparing system for suspend
Stopping tasks: ==================================================================================================|
orinoco_lock() called with hw_unavailable (dev=d0b26800)
ali_stimer_read: stimer is not ready.
ali_stimer_read: stimer is not ready.
ali_stimer_read: stimer is not ready.
ali_stimer_read: stimer is not ready.PM: Entering state.
Back to C!
PM: Finishing up.
ACPI: PCI interrupt 0000:00:10.0[A]: no GSI - using IRQ 15
ACPI: PCI interrupt 0000:00:14.0[A] -> GSI 10 (level, low) -> IRQ 10
eth0: New link status: Connected (0001)
Restarting tasks... done





More information about the ubuntu-users mailing list