hal-info: Branch 'master'
Matthew Garrett
mjg59 at kemper.freedesktop.org
Tue Jun 24 13:11:01 PDT 2008
fdi/information/10freedesktop/99-video-quirk-default.fdi | 40 +++++++++++++++
1 file changed, 40 insertions(+)
New commits:
commit 70d184a1bb9dfac90e982f207e8b5fc7c24c2a6b
Author: Matthew Garrett <mjg59 at srcf.ucam.org>
Date: Tue Jun 24 21:10:18 2008 +0100
Add some default video quirks for machines that have not been explicitly quirked
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..f0e5c93
--- /dev/null
+++ b/fdi/information/10freedesktop/99-video-quirk-default.fdi
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
+<deviceinfo version="0.2">
+ <!-- The aim of this file is to handle systems without any default video
+ quirks. The vast majority of hardware will not function without either
+ quirks or kernel support. pm-utils checks for kernel support before
+ utilising quirks, so these become a no-op if it's available. On the
+ assumption that quirks will, by and large, do more help than harm we can
+ provide some defaults. If any machine-specific quirks have been provided
+ then this code won't add any further ones -->
+ <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-commit
mailing list