[PATCH] IBM t23 suspend quirk

dan.weber at fuse.net dan.weber at fuse.net
Wed Jan 28 09:52:29 PST 2009


Patch for ibm t23 laptop. currently has s3-mode and s3-bios set. 
This causes corruption of the virtual terminals after resume. Using 
vbe_post only removes this issue. Here is the patch.

---

diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
index 07ae676..9e29a7e 100644
--- a/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
+++ b/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
@@ -61,8 +61,12 @@
           <merge key="power_management.quirk.dpms_suspend" type="bool">true</merge>
         </match>
       </match>
-      <!-- R50p, R52, X41t, X40, T30, T41p, T41p, T42, X40, Z60t, X41, Z60m, T32 (2647) -->
-      <match key="system.hardware.product" prefix_outof="1832;1860;1869;2371;2373;2374;2376;2382;2386;2511;2513;2525;2526;2529;2530;2647">
+      <!-- T23(2647) -->
+      <match key="system.hardware.product" prefix_outof="2647">
+        <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
+      </match>
+      <!-- R50p, R52, X41t, X40, T30, T41p, T41p, T42, X40, Z60t, X41, Z60m-->
+      <match key="system.hardware.product" prefix_outof="1832;1860;1869;2371;2373;2374;2376;2382;2386;2511;2513;2525;2526;2529;2530">
         <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
         <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
       </match>


More information about the hal mailing list