[PATH] Dell Latitude X300 quirk

Jim Radford radford at blackbean.org
Fri Jul 6 16:42:18 PDT 2007


On Fri, Jul 06, 2007 at 04:14:14PM -0700, Jim Radford wrote:
> With this quirk, suspend works for me on my Dell Latitude X300 in f7
> if I also remove these usb modules first.
> 
>    SUSPEND_MODULES="ehci_hcd ohci_hcd uhci_hcd"
> 
> I didn't used to have to remove these in fc6.  I assume this is a
> transient problem in kernel 2.6.21-1.3228.fc7.
> 
> On a higher level, is there some reason why this quirk information was
> not extracted from more comprehensive whitelist.c in the "suspend" CVS
> repo?  I've been using s2ram from there without problems for a while
> now.  It seems wasteful for this project to try and re-create the the
> same list from scratch without even using Pavel's list a starting
> point.

Actually attached this time.

-Jim
-------------- next part --------------
diff --git a/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi b/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
index f9cc6c3..2a70adc 100644
--- a/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
+++ b/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
@@ -58,6 +58,9 @@
         <match key="system.hardware.product" suffix="X1">
           <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
         </match>
+        <match key="system.hardware.product" contains="X300">
+          <merge key="power_management.quirk.vmestate_restore" type="bool">true</merge>
+        </match>
       </match>
       <match key="system.hardware.product" prefix="Inspiron">
         <match key="system.hardware.product" contains="5150">


More information about the hal mailing list