X31 (2672CBG) backlight quirk

Pekka Pietikainen pp at ee.oulu.fi
Mon Aug 6 16:09:26 PDT 2007


Well, the attached patch makes the backlight on my X31 really go off when
suspending (it doesn't, and the battery runs out in a few hours).

There's something funny about the current quirk though, mine is 
matched by a entry that is commented as "X40",
     <!-- X40 -->
     <match key="system.hardware.product" prefix="2672">

  system.chassis.manufacturer = 'IBM'  (string)
  system.chassis.type = 'Notebook'  (string)
  system.firmware.release_date = '09/22/2005'  (string)
  system.firmware.vendor = 'IBM'  (string)
  system.firmware.version = '1QET97WW (3.02 )'  (string)
  system.formfactor = 'laptop'  (string)
  system.hardware.primary_video.product = 19545  (0x4c59)  (int)
  system.hardware.primary_video.vendor = 4098  (0x1002)  (int)
  system.hardware.product = '2672CBG'  (string)
  system.hardware.serial = '99CDPCY'  (string)
  system.hardware.uuid = 'DCA94A01-4757-11CB-B939-E5EBFBD084DE'  (string)
  system.hardware.vendor = 'IBM'  (string)
  system.hardware.version = 'ThinkPad X31'  (string)
  system.kernel.machine = 'i686'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.23-0.71.rc2.fc8'  (string)
  system.product = '2672CBG ThinkPad X31'  (string)

In fact, dpms_suspend is the only quirk I need, radeon_off/s3_bios&mode 
seem to do neither help nor hinder (maybe make suspend/resume slower)...

On another X31 I definately remember suspend working ok in the F7/hal
quirk era (different submodel, would have to check the product code, that
one had a 1.6GHz vs. 1.4GHz cpu and airo not ipw2100). That was with 
a somewhat older kernel, tho. radeontool light off
does turn the light off, but something in the suspend process probably turns
it back on and dpms_suspend is the cure.  *shrug*

-------------- next part --------------
diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
index 8b7b7c9..4f0710d 100644
--- a/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
+++ b/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
@@ -18,6 +18,7 @@
       </match>
       <!-- X40 -->
       <match key="system.hardware.product" prefix="2672">
+	<merge key="power_management.quirk.dpms_suspend" type="bool">true</merge>
         <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>


More information about the hal mailing list