hal: fix suspend to ram on ThinkPad X31

The Anarcat anarcat at mumia.anarcat.ath.cx
Wed Mar 19 18:15:32 PDT 2008

Package: hal
Version: 0.5.10-5
Severity: important

Since I upgraded from sarge to lenny, the screen backlight doesn't turn
off when suspending to ram from Gnome. Here's my original post about


I have since then developped a small patch that fixes the issue for me.
I apply it on


--- 20-video-quirk-pm-ibm.fdi.orig      2008-01-21 02:03:20.000000000 -0500
+++ 20-video-quirk-pm-ibm.fdi   2008-01-21 02:14:17.000000000 -0500
@@ -36,11 +36,8 @@
       <match key="system.hardware.product" prefix="2672">
         <match key="system.hardware.version" contains="X31">
           <merge key="power_management.quirk.dpms_suspend" type="bool">true</merge>
-          <!-- already added above
-            <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
-            <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
-            <merge key="power_management.quirk.radeon_off" type="bool">true</merge>
-         -->
+            <merge key="power_management.quirk.s3_bios" type="bool">false</merge>
+            <merge key="power_management.quirk.s3_mode" type="bool">false</merge>
       <!-- R52, X41t, X40, T30, T41p, T41p, T42, X40, Z60t, X41, Z60m -->

I copy-pasted this patch around here and there so whitespace might be
bad, apologies for that. :(

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

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser                    3.106         add and remove users and groups
ii  dbus                       1.1.2-1       simple interprocess messaging syst
ii  hal-info                   20080215-1    Hardware Abstraction Layer - fdi f
ii  libc6                      2.7-6         GNU C Library: Shared libraries
ii  libdbus-1-3                1.1.2-1       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.74-1        simple interprocess messaging syst
ii  libexpat1                  1.95.8-4      XML parsing C library - runtime li
ii  libgcc1                    1:4.3.0~rc2-1 GCC support library
ii  libglib2.0-0               2.14.6-1      The GLib library of C routines
ii  libhal-storage1            0.5.10-5      Hardware Abstraction Layer - share
ii  libhal1                    0.5.10-5      Hardware Abstraction Layer - share
ii  libsmbios1                 0.13.10-1     Provide access to (SM)BIOS informa
ii  libstdc++6                 4.3.0~rc2-1   The GNU Standard C++ Library v3
ii  libusb-0.1-4               2:0.1.12-9    userspace USB programming library
ii  libvolume-id0              0.114-2       libvolume_id shared library
ii  lsb-base                   3.1-24        Linux Standard Base 3.1 init scrip
ii  mount                      2.13.1-1      Tools for mounting and manipulatin
ii  pciutils                   1:2.2.10-1    Linux PCI Utilities
ii  pm-utils                   0.99.2-3      utilities and scripts for power ma
ii  udev                       0.114-2       /dev/ and hotplug management daemo
ii  usbutils                   0.73-5        Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-6    ejects CDs and operates CD-Changer
pn  libsmbios-bin                 <none>     (no description available)

-- no debconf information

More information about the hal mailing list