Package: pm-utils
Version: 1.1.2.3-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 (even if
running in terminal mode).

There are two issues:
1) /usr/lib/pm-utils/sleep.d/98smart-kernel-video silently
   disables all quirk settings (even explicit command-line
   arguments!) if i915 is present on kernel >= 2.6.26.

   My workaround was to create
   /etc/pm/sleep.d/98smart-kernel-video to override it.

2) 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)


--- 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">




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages pm-utils depends on:
ii  console-tools            1:0.2.3dbs-65.1 Linux console and font utilities
ii  powermgmt-base           1.30            Common utils and configs for power

Versions of packages pm-utils recommends:
ii  hal                           0.5.11-3   Hardware Abstraction Layer
pn  radeontool                    <none>     (no description available)
pn  uswsusp                       <none>     (no description available)
ii  vbetool                       1.0-3      run real-mode video BIOS code to a

Versions of packages pm-utils suggests:
pn  cpufrequtils                  <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to