[PATCH] quirk info for Asus eeepc suspending

Sam Morris sam at robots.org.uk
Sun Mar 9 03:36:02 PDT 2008


The following quirks make suspend-to-ram work on the 4 GB eeepc:
        
        diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi
        index 4d0f2de..c51bacf 100644
        --- a/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi
        +++ b/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi
        @@ -23,6 +23,10 @@
                 <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
                 <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
               </match>
        +      <match key="system.hardware.product" prefix="701">
        +        <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
        +       <merge key="power_management.quirk.dpms_on" type="bool">true</merge>
        +      </match>
               <!-- these need no quirks, whitelist them -->
               <match key="system.hardware.product" prefix_outof="A2H/L ;A6Km ;A6T">
                 <merge key="power_management.quirk.none" type="bool">true</merge>
        
I have not tried hibernation as I don't want to devote 1/4 of the disk
over to swap. :)

Please note, system.hardware.product actually has the exact value '701',
but I used prefix because I don't know how to do an exact match.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20080309/164b3f00/attachment.pgp 


More information about the hal mailing list