[Pm-utils] pm-suspend working only after resuming from pm-hiberante

Leonardo Canducci leonardocanducci at yahoo.it
Mon Oct 6 14:04:56 PDT 2008


I've been struggling with suspend to ram for two weeks trying to get it to work and I found out a very strange behaviour:
- 2disk or pm-hibernate work fine out of the box
- s2ram and pm-suspend from X work *only* when resuming from hibernate

Invoking s2disk or pm-suspend on a normal boot seem to suspend the laptop correctly but on resume, no matter what quirks I try, laptop is freezed with blank screen and no keyboard control. On resume hd led flashes for a while, so hd should be ok, but caps lock led doesn't (magic sysrq doesn't help).

My laptop is a 2004 acer travelmate 290 with ipw2200 and 855gm intel graphics. The problem is somewhat related to the graphic card since s2ram works properly in console (when no X is started) and even in X when using vesa instead of intel driver in xorg.conf.
I've read some documentation on s2ram and pm-utils pages and googled around. I tried passing "-f -a3" or "-f -p -m" options as suggested for intel driver. also lshal|grep quirk returns nothing.
I've also tried creating a file in /etc/pm/sleep.d with:    SLEEP_MODULE=”uswsusp”
SUSPEND_MODULES=”psmouse”
S2RAM_OPTS=”-f -a3″
with no luck.

My conclusion is: there must be some magic in the way s2disk/pm-suspend handles the video card... but what's that? Do you have some hints?

Thanks,
leonardo

PS is posting allowed for suscribers only?


      Scopri il blog di Yahoo! Mail:
Trucchi, novità e la tua opinione.
http://www.ymailblogit.com/blog


More information about the Pm-utils mailing list