Comment 36 for bug 133677

Revision history for this message
Oleksij Rempel (olerem) wrote :

This issue is not fixed for me with hardy.

I have this bug for long time with ubuntu, and i newer had a time to look what can i do, but now:

it worked for me with s2ram ... so what s2ram do and ubuntu-suspend not...

according to:
http://en.opensuse.org/S2ram
"Machines with Intel graphics chipsets often work with "s2ram -f -a3", even when using vesafb framebuffer."

    -f, --force: force suspending, even on unknown machines. -- not important
    -a, --acpi_sleep: set the acpi_sleep parameter before suspend <--- !!! important
                      1=s3_bios, 2=s3_mode, 3=both

"Since kernel 2.6.16, the acpi_sleep parameter can be set during runtime (no reboot needed) in /proc/sys/kernel/acpi_video_flags, with "1" for s3_bios, "2" for s3_mode and "3" for both. More information about those hacks can be found in the kernel-source (usually installed in /usr/src/linux) in the file Documentation/power/video.txt."

So ubuntu-suspend do not set acpi_video_flags !!! It should be implemented before it hardy geting stable.

=============!!! try this !!! ================

echo 3 > /proc/sys/kernel/acpi_video_flags
/etc/acpi/sleep.sh force

===========!!! it working for me !!! ============

my hardware:
dmidecode
        Manufacturer: ASUSTeK Computer INC.
        Product Name: P5LD2-VM

video 945g
lspci -nvvs 00:02.0
00:02.0 0300: 8086:2772 (rev 02) (prog-if 00 [VGA controller])
 Subsystem: 1043:817a
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at cfe00000 (32-bit, non-prefetchable) [size=512K]
 Region 1: I/O ports at 8800 [size=8]
 Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
 Region 3: Memory at cfe80000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000
 Capabilities: [d0] Power Management version 2
  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-