[hal-info patch] Add default video quirks
Matthew Garrett
mjg59 at srcf.ucam.org
Thu May 29 04:32:34 PDT 2008
The vast majority of machines will not resume without any quirks. As a
result, it makes sense to try a reasonably safe set of defaults if there
are none defined. Machines that explicitly require that no quirks be run
can still define quirks.none.
--
Matthew Garrett | mjg59 at srcf.ucam.org
-------------- next part --------------
diff --git a/fdi/information/10freedesktop/99-video-quirk-default.fdi b/fdi/information/10freedesktop/99-video-quirk-default.fdi
new file mode 100644
index 0000000..873600e
--- /dev/null
+++ b/fdi/information/10freedesktop/99-video-quirk-default.fdi
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
+ <match key="power_management.quirk.vbestate_restore" exists="false">
+ <match key="power_management.quirk.vbemode_restore" exists="false">
+ <match key="power_management.quirk.dpms_suspend" exists="false">
+ <match key="power_management.quirk.vga_mode_3" exists="false">
+ <match key="power_management.quirk.dpms_on" exists="false">
+ <match key="power_management.quirk.radeon_off" exists="false">
+ <match key="power_management.quirk.vbe_post" exists="false">
+ <match key="power_management.quirk.s3_bios" exists="false">
+ <match key="power_management.quirk.s3_mode" exists="false">
+ <match key="power_management.quirk.none" exists="false">
+ <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
+ <merge key="power_management.quirk.dpms_on" type="bool">true</merge>
+ <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge>
+ <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
+ <merge key="power_management.quirk.dpms_suspend" type="bool">true</merge>
+ <merge key="power_management.quirk.vga_mode_3" type="bool">true</merge>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </match>
+ </device>
+</deviceinfo>
More information about the hal
mailing list