[PATCH] Add s3_bios quirk for Airis machine

Pascal Terjan pterjan at mandriva.com
Mon May 19 09:41:59 PDT 2008


Hello !

On a mini laptop by Airis (VIA hardware inside) I need s3_bios quirk to resume from s3.

It works both from gnome-power-manager and from tty1

[user at localhost ~]$ lshal | grep system.hard
  system.hardware.primary_video.product = 4386  (0x1122)  (int)
  system.hardware.primary_video.vendor = 4358  (0x1106)  (int)
  system.hardware.product = 'KIRA Series'  (string)
  system.hardware.serial = '000009'  (string)
  system.hardware.uuid = ''  (string)
  system.hardware.vendor = 'AIRIS'  (string)
  system.hardware.version = 'VT6413A'  (string)

Signed-off-by: Pascal Terjan <pterjan at mandriva.com>
---
 .../10freedesktop/20-video-quirk-pm-misc.fdi       |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-misc.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-misc.fdi
index 905aa4b..56e3d15 100644
--- a/fdi/information/10freedesktop/20-video-quirk-pm-misc.fdi
+++ b/fdi/information/10freedesktop/20-video-quirk-pm-misc.fdi
@@ -1,6 +1,13 @@
 <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 
 <deviceinfo version="0.2">
   <device>
+    <match key="system.hardware.vendor" string="AIRIS">
+      <match key="system.hardware.version" string="VT6413A">
+        <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
+      </match>
+    </match>
+  </device>
+  <device>
     <match key="system.hardware.vendor" prefix="COMPAL">
       <match key="system.hardware.product" contains_outof="HEL80C;HEL80I;HEL81I">
         <merge key="power_management.quirk.none" type="bool">true</merge>
-- 
1.5.4.3



More information about the hal mailing list