patch for pm-utils quirks for Asus P4B266
Olivier Berger
oberger at ouvaton.org
Sat Mar 28 11:38:48 PDT 2009
Hi.
Please receive this patch which adds proper suspend quirks for P4B266
mainboards.
Unfortnately this is what gets reported :
# lshal | grep hardware
system.hardware.primary_video.product = 18790 (0x4966) (int)
system.hardware.primary_video.vendor = 4098 (0x1002) (int)
system.hardware.product = 'System Name' (string)
system.hardware.serial = 'SYS-1234567890' (string)
system.hardware.uuid = '' (string)
system.hardware.vendor = 'System Manufacturer' (string)
system.hardware.version = 'System Version' (string)
info.product = 'C-Media CMI8738 (model 55) ALSA hardware specific Device' (string)
But hopefully, there's also these on my mainboard :
# lshal | grep firmware
system.firmware.release_date = '08/06/2002' (string)
system.firmware.vendor = 'Award Software, Inc.' (string)
system.firmware.version = 'ASUS P4B266 ACPI BIOS Revision 1010' (string)
storage.firmware_version = '1.21' (string)
storage.firmware_version = '3.19' (string)
storage.firmware_version = '3.04' (string)
--- /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi.orig 2009-03-28 19:29:39.000000000 +0100
+++ /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi 2009-03-28 19:29:44.000000000 +0100
@@ -108,5 +108,12 @@
<merge key="power_management.quirk.none" type="bool">true</merge>
</match>
+ <match key="system.firmware.version" prefix="ASUS P4B266 ACPI BIOS Revision">
+ <match key="system.firmware.version" contains=" 1010">
+ <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
+ <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
+ </match>
+ </match>
+
</device>
</deviceinfo>
Hope this helps.
Best regards,
--
Olivier BERGER
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/
More information about the hal
mailing list