Suspend works with Feisty kernel, not Gutsy
Derek Broughton
news at pointerstop.ca
Thu Oct 25 18:47:32 UTC 2007
Bill Moseley wrote:
> 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.
OK, even easier - X _is_ usually involved, but doesn't have to be for this
to be the problem, so you just use two terminal sessions, one to be ready
for you to run vbetool, and one to run pmi
>> 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).
Excellent! I think you should be fine with X, then.
--
derek
More information about the ubuntu-users
mailing list