I eventually made suspend work with 2.6.19.1
my config is ubuntu edgy
vanilla kernel from kernel.org, with all mactel patches.
The problem is still with the piix chip which seems to be suspended 2 times
(or maybe too early?).
I have enabled the CONFIG_PM_DEBUG, which writes the hash of the last module
suspended (see driver/power/trace.c for more info how it works)

My (temporary) solution is too disable the suspend for the ata hosts:
---
--- linux-2.6.19.1/drivers/ata/libata-core.c    2006-12-11 20:32:
53.000000000 +0100
+++ linux-2.6.19.1.patched/drivers/ata/libata-core.c    2006-12-27 21:50:
48.000000000 +0100
@@ -5127,7 +5127,7 @@
int ata_host_suspend(struct ata_host *host, pm_message_t mesg)
{
       int i, j, rc;
-
+if(0){
       rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1);
       if (rc)
               goto fail;
@@ -5151,7 +5151,7 @@
                       }
               }
       }
-
+}
       host->dev->power.power_state = mesg;
       return 0;

---
I cant imagine there is no better way to do that..
Any Idea?



--
Pierre
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to