Created attachment 314490 [details]
pm-hibernate works fine, but pm-suspends fails.
I don't know how to debug this, so here is the log.
I notice it seems to suspend okay, but pushing a key does nothing (probably by design).
Pushing the power button seems to do something (the hard disk light flickers a bit), but the display does nothing.
The box remains unpingable throughout.
Please post the output of:
lshal | egrep "(system.hardware.(product|vendor|version)|system.firmware.version|power_management.quirk)"
Here you can find some hints about what you can do to debug this, but I am not sure, that this may fix the problem, it could also be a kernel problem:
system.firmware.version = '4.6.3' (string)
system.hardware.product = 'U-100' (string)
system.hardware.vendor = 'MICRO-STAR INTERNATIONAL CO., LTD' (string)
system.hardware.version = 'Ver.001' (string)
Hm, the box is actually resumed, but the screen is still asleep, even with --quirk-dpms-on
--quirk-dpms-suspend too. I have no more quirks to try.
Aha! pm-suspend --quirk-vbe-post works!
Only downside is the screen goes white on resume :)
How can I make this permanent?
You need to edit an xml file, probably:
And you need to send a patch upstream like it is described here:
Okay. For info, two quirks are needed:
pm-suspend --quirk-vbe-post --quirk-dpms-on
The white screen problem goes away.
I can't install gcc on this box at the moment, so can't send upstream.
I sent a patch upstream. I hope it appears in the archives soon:
Setting to ASSIGNED because triaging is done.
Thanks. btw will the "MSI" prefix expand to the whole string?
(In reply to comment #11)
> Thanks. btw will the "MSI" prefix expand to the whole string?
No, it will not. But it is not used. system.hardware.vendor is matched with the case insensitive prefix "micro-star".
There is a second part to this bug (but I will open a new bug if you want):
pm-suspend only works once. On the second _resume_, I just get a blank screen.
This is also noted here:
(In reply to comment #13)
> There is a second part to this bug (but I will open a new bug if you want):
> pm-suspend only works once. On the second _resume_, I just get a blank screen.
If you cannot fix it with any of the know quirks, it is probably a bug in the kernel and therefore you should create a new bug with the component "kernel" to make sure the kernel guys notice this bug.
If you are running a 2.6.27 kernel and the i915, it should probably work without any quirks. You can test it then with:
echo mem > /sys/power/state
Please report back once you have tested this, please report back.
No it doesn't work. It seems to come back, but the screen stays dark.
I suspect it comes back because ctrl+alt+delete works and the disk does something.
22.214.171.124-58.fc10.i686 doesn't boot at all (switchroot failed: no such file or directory, booting has failed). So can't test that.
Bug 469267 entered for the second issue.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
(In reply to comment #15)
> If you are running a 2.6.27 kernel and the i915, it should probably work
> without any quirks. You can test it then with:
> echo mem > /sys/power/state
> Please report back once you have tested this, please report back.
Works perfectly in F10.
Closing per comment #19