Re: Hang coming out of suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 12, 2008 at 05:35:46PM -0500, Matthew Saltzman wrote:

> I believe this is a different bug (and I think it's in Bugzilla as such
> against the xorg driver package, but I don't have the number handy).
> The nvidia binary drivers work with my T61 (Quadro NVS 140M) modulo this
> thread's intermittent freeze on resume (and worked fine before the
> latest kernel).  It works except for an annoying check on the second CPU
> on resume on a T61p.
> 
> The nv drivers do not resume properly on either machine, and have not
> (in F8 and F9) since F8 was released.  I don't really understand why
> they can't get it to work, as the plain vesa drivers suspends and
> resumes just fine, but the backlight never goes off when the screen is
> idle.

One of the bugs had a link to a suspend/resume debugging guide, this page:

	http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-advanced.html

I turned on pm_trace and did a suspend/resume and the resume worked.  The
time was way off (the pm_trace uses the RTC area). I turned *off*
pm_trace, and resume still worked, weird!

It's now worked everytime, resume had *never* worked on this laptop before.
I didn't try using the nv (non-nvidia binary) driver.

For my T61 product 6460DUU (I'm not sure what the last three digits mean)
I patched:

	/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi 

Similar to that mentioned in a fedoraforum post, and pm-suspend with no
arguments and kpowersave suspend-to-ram worked.

Patch is:

--- orig-20-video-quirk-pm-lenovo.fdi	2008-06-07 15:08:43.000000000 -0700
+++ /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi	2008-11-12 22:59:37.000000000 -0800
@@ -41,12 +41,16 @@
       <match key="system.hardware.product" prefix="7663">
         <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
       </match>
-      <!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE 
-	   T61p (6460), does not work with the NVidia driver-->
-      <match key="system.hardware.product" prefix_outof="6457;6460;6465">
+      <!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE  -->
+      <match key="system.hardware.product" prefix_outof="6457;6465">
 	<merge key="power_management.quirk.s3_bios" type="bool">true</merge>
 	<merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
       </match>
+      <!--T61 (6460) works with the NVidia driver-->
+      <match key="system.hardware.product" prefix_outof="6460">
+        <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
+        <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
+      </match>
 
       <!-- These Thinkpads don't need a quirk: 6459 (T61p), 7664 (T60) see s2ram -->
       <match key="system.hardware.product" prefix_outof="6459;7664;8918">

-- Patrick Mansfield

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux