Bug 14067

Summary: suspend to ram will not restore on Dell MM061
Product: hal Reporter: Colin Guthrie <colin>
Component: hal-infoAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium CC: danny.kukawka, gcasey
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to implement minimal quirks for MM061

Description Colin Guthrie 2008-01-14 02:10:18 UTC
Thanks to this commit: http://gitweb.freedesktop.org/?p=hal-info.git;a=commitdiff;h=b7e3b98992f0054d40e1f73c722d4710d650955b

I am no longer able to resume from a suspend.

I use a Dell Inspiron 6400 Core 2 Duo on Mandriva Cooker x86_64. With the latest hal-info I am no longer able to resume from a suspend.

In the past I had to apply a patch as noted in this Mandriva bug: http://qa.mandriva.com/show_bug.cgi?id=29448. That patch no longer applies due to this change but it is a simple matter of removing the vbe_state_restore quirk for this model (or combining it with the Dell Inspiron 640m, XPS M1210 definition). I have not done extensive tests of what the dpms_on quirk does - in my original patch I only applied the vbe_post quirk.

My system is using a framebuffer console and is running X with Compiz (although that last point shouldn't really matter). When I restore, the display shows text mode for a while before switching to X. With vbestate_restore, my screen stays completely blank.

Please let me know if you need any more testing. I will mail Casey Goodlett as he originally submitted the patch used in the above commit and I've CC'ed Danny Kukawka in this bug as he committed it :) (Casey's mail was not found in bugzilla, hence why I'll have to do that outside of bz).
Comment 1 Casey Goodlett 2008-01-14 08:48:57 UTC
After an upgrade to X, I also changed vbestate_restore to vbemode_restore.  Does this help?
Comment 2 Colin Guthrie 2008-01-14 18:53:08 UTC
(In reply to comment #1)
> After an upgrade to X, I also changed vbestate_restore to vbemode_restore. 
> Does this help?

Yes changing s/vbestate/vbemode/ makes things work OK for me.

Can you test your system with only the vbe_post quirk defined (remember to restart haldeamon - kept forgetting). For me this is the only quirk needed, but if your system likes the dpms and vbemode ones then I guess that's the ones to go for.
Comment 3 Casey Goodlett 2008-01-22 09:06:17 UTC
(In reply to comment #2)

Using only vbe_post works for me too.
Comment 4 Colin Guthrie 2008-01-22 09:10:50 UTC
Created attachment 13862 [details] [review]
Patch to implement minimal quirks for MM061

Great. Thanks for confirming.

Can this be applied to hal-info before next release please?
Comment 5 Colin Guthrie 2008-02-24 07:13:40 UTC
Just a friendly reminder to David that this still needs to be committed :)
Comment 6 Danny Kukawka 2008-03-14 05:50:07 UTC
I've commited something, that covers the machine to work only with vbe_post.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.