Skip to contentSkip to conversation

s2ram fails to restore graphics

swsusp Christian Axelsson 3 participants 4 messages Feb 6, 2007 – Feb 7, 2007

lore
Share & tools
lore
#0 lore raw

Hello!

I'm having problems with s2ram being unable to restore my Intel 945GM (a Dell D420 laptop) when resuming. I think everything else is restored properly (I have input so I can reboot or suspend again). Full hibernation is working flawless on this machine including restoring framebuffer and X (kudos to the suspend team :).

I've tried both with and without framebuffer on 2.6.20.
Using the vbetool-trick brings the backlight on (it's otherwise off after resume).

.config, lspci and dmesg (prior to suspend) is attached.
Is there any other info I can provide to assist futher debugging just shout and I will do anything to assist - I would be really happy to get s2ram working :)

--
Christian Axelsson
[email protected]

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
02:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02) 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

#1 lore raw

Ups, forgot suspend-devel CC :)

Quoted 38 lines · Christian Axelsson

Hello!

I'm having problems with s2ram being unable to restore my Intel 945GM (a Dell D420 laptop) when resuming. I think everything else is restored properly (I have input so I can reboot or suspend again). Full hibernation is working flawless on this machine including restoring framebuffer and X (kudos to the suspend team :).

I've tried both with and without framebuffer on 2.6.20.
Using the vbetool-trick brings the backlight on (it's otherwise off after resume).

.config, lspci and dmesg (prior to suspend) is attached.
Is there any other info I can provide to assist futher debugging just shout and I will do anything to assist - I would be really happy to get s2ram working :)

Signature · 27 lines
Christian Axelsson
[email protected]


------------------------------------------------------------------------

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
02:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
#2 lore raw
Quoted 14 lines · Christian Axelsson

Ups, forgot suspend-devel CC :)

Quoted 11 lines · Christian Axelsson

Hello!

I'm having problems with s2ram being unable to restore my Intel 945GM (a Dell D420 laptop) when resuming. I think everything else is restored properly (I have input so I can reboot or suspend again). Full hibernation is working flawless on this machine including restoring framebuffer and X (kudos to the suspend team :).

I've tried both with and without framebuffer on 2.6.20. Using the vbetool-trick brings the backlight on (it's otherwise off after resume).

Which of the three vbetool tricks?

The machine is in the whitelist and i have personally seen a D420 resume with the workarounds from the whitelist entry.

I strongly suggest that this is not a kernel problem but a user(space) problem :-)

Signature · 3 lines
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 
#3 lore raw
In reply to Christian Axelsson

Hi!

Quoted 10 lines

I'm having problems with s2ram being unable to restore my Intel 945GM (a Dell D420 laptop) when resuming. I think everything else is restored properly (I have input so I can reboot or suspend again). Full hibernation is working flawless on this machine including restoring framebuffer and X (kudos to the suspend team :).

I've tried both with and without framebuffer on 2.6.20. Using the vbetool-trick brings the backlight on (it's otherwise off after resume).

Use latest s2ram from suspend.sf.net...
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html