Suspend works with Feisty kernel, not Gutsy

Bill Moseley moseley at hank.org
Thu Oct 25 16:18:54 UTC 2007


On Thu, Oct 25, 2007 at 11:36:04AM -0300, Derek Broughton wrote:
> >     $ sudo /usr/sbin/pmi action suspend
> > or
> >     $ sudo /usr/sbin/pmi action hibernate
> > 
> > both work, but in both case the display doesn't come back.  
> 
> When I've seen this, it's because the video POST doesn't run on resume.
> 
> You can test it by going to ctrl-alt-f1, log in, "sudo -i" (to get to a root
> shell), and typing "vbetool post" - DON'T hit return.
> 
> Go back to your X session, suspend or hibernate, resume.

This example was *without* running X -- to test if indeed it's the
graphics driver used by Xorg that was making it fail to suspend.

> Now, how you specifically fix it, I can't be sure - I'm not familiar wth the
> use of "pmi" for suspend/hibernate.

pmi is a warpper for "/etc/acpi/sleep.sh force" and
"/etc/acpi/hibernate.sh force" (and shutdown (-r|-h).


> When I needed it, it was a matter of playing with these lines
> in /etc/defaults/acpi-support:
> 
> # Should we attempt to warm-boot the video hardware on resume?
> POST_VIDEO=true
> 
> # Save and restore video state?
> # SAVE_VIDEO_PCI_STATE=true

Bingo -- I had set both of those to false to try and resolve this
before knowing it was related to the ATI fglrx driver.

Setting them back to true makes suspend and hibernate fully work (when
not running X).

-- 
Bill Moseley
moseley at hank.org





More information about the ubuntu-users mailing list