Quirk patch with fix for Acer Aspire 3000

Ricardo Garcia sarbalap+freshmeat at gmail.com
Tue Dec 2 13:22:47 PST 2008


Hello,

Just recently Slackware added support for pm-utils to the -current
branch and I had time to test pm-suspend. With the current hal-info, I
have a minor problem when suspending to RAM. When coming back to X, the
video is slightly broken in a way that reminds me of what happens when
you plan an interlaced movie without a deinterlace filter, only more
severe.

It's easily fixed by changing back to a VT and back to X, but I have
tested that changing the quirks file for my model makes it always work
without doing additional work. Patch attached.

-- 
Ricardo Garcia
-------------- next part --------------
diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi
index 1d6c514..708ea09 100644
--- a/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi
+++ b/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi
@@ -79,11 +79,11 @@
         <match key="system.hardware.product" contains="1640">
           <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge>
         </match>
-        <match key="system.hardware.product" contains="1500">
+        <match key="system.hardware.product" contains_outof="1500;3000">
           <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
           <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge>
         </match>
-	<match key="system.hardware.product" contains_outof="1520;1650;3000;5100;5110;5570;5920">
+	<match key="system.hardware.product" contains_outof="1520;1650;5100;5110;5570;5920">
           <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
           <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
         </match>


More information about the hal mailing list