[Pkg-utopia-maintainers] Bug#499556: hal-info: quirks for Dell X200

Karl Chen quarl+keyword+debbugs.533ecf at nospam.quarl.org
Fri Sep 19 18:52:04 UTC 2008


Package: hal-info
Version: 20080508+git20080601-1
Severity: normal
Tags: patch


After suspending on a Dell (Latitude) X200 laptop with
kernel 2.6.26, the display is not properly restored on
resume.

quirk-vbe-post and quirk-vbemode-restore are needed.

The FDI file isn't matching the rules for X200 for my
laptop.  There is a rule that would match
system.hardware.product "Latitude X200", but my
system.hardware.product is just "X200".

lshal output:

      system.hardware.primary_video.product = 13687  (0x3577)  (int)
      system.hardware.primary_video.vendor = 32902  (0x8086)  (int)
      system.hardware.product = 'X200'  (string)
      system.hardware.vendor = 'Dell Computer Corporation'  (string)
      system.hardware.version = 'A07'  (string)

This patch (plus a workaround to an issue with pm-utils, see
bug #499442) works for me, though you may want to refactor
the existing rule(s).


--- 20-video-quirk-pm-dell.fdi.orig	2008-09-18 11:43:24.000000000 -0700
+++ 20-video-quirk-pm-dell.fdi	2008-09-18 11:45:51.000000000 -0700
@@ -40,6 +40,11 @@
           <merge key="power_management.quirk.none" type="bool">true</merge>
         </match>
       </match>
+      <!-- Dell Latitude X200 -->
+      <match key="system.hardware.product" prefix="X200">
+        <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
+        <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
+      </match>
 
       <!-- Dell Inspiron -->
       <match key="system.hardware.product" prefix="Inspiron">





More information about the Pkg-utopia-maintainers mailing list