Bug 42883 - Unable to use suspension and hibernation on ASUS N53JQ-SZ197X
Summary: Unable to use suspension and hibernation on ASUS N53JQ-SZ197X
Status: CLOSED CODE_FIX
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Aaron Lu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 13:30 UTC by Luigi Caiffa
Modified: 2013-02-08 18:24 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
System information and various logs (74.60 KB, application/x-bzip)
2012-03-07 13:30 UTC, Luigi Caiffa
Details

Description Luigi Caiffa 2012-03-07 13:30:12 UTC
Created attachment 72550 [details]
System information and various logs

Hi,
I've got an Asus N53J and suspension and hibernation don't work.
The system freezes before shutting down, and the only solution is to power off it in hardware. On reboot, I'm able to resume my session if I used hibernation, but obviously a new one starts if I shut down after using suspension.

Systems logs are in attachment. Let me know if you need more informations.
Comment 1 Zhang Rui 2012-03-19 08:51:09 UTC
would you please check if the hibernation problem still exists if you run "echo shutdown > /sys/power/disk" before hibernating?
Comment 2 Luigi Caiffa 2012-03-19 14:21:01 UTC
Thank you so much!
I tried that command many times and it seemed to work.
I'm waiting for news about the "suspend problem".
Comment 3 Len Brown 2012-03-27 02:10:00 UTC
So do I understand from comment #2 that with
"echo shutdown > /sys/power/disk"
hibernate now works?
I assume it used to be "platform", which means that
there may be an ACPI issue there...

And suspend is still broken, yes?
Can you follow the debug steps noted in the kernel source tree?

Documentation/power/basic-pm-debugging.txt 

Also, has this worked previously with any tested version of Linux,
or has this been broken forever as far as you know?
Comment 4 Luigi Caiffa 2012-03-27 20:11:40 UTC
(In reply to comment #3)
> So do I understand from comment #2 that with
> "echo shutdown > /sys/power/disk"
> hibernate now works?

Yes it does.

> And suspend is still broken, yes?

Yes it is.

> Can you follow the debug steps noted in the kernel source tree?
> Documentation/power/basic-pm-debugging.txt 

Unfortunately my kernel is not compiled with CONFIG_PM_DEBUG, and I cannot recompile it (this is a production system). I'm currently on 3.2.0-sabayon x86_64.

> Also, has this worked previously with any tested version of Linux,
> or has this been broken forever as far as you know?

It's not a regression, both hibernation and suspend never worked. FYI, I am on latest available BIOS.
Comment 5 Luigi Caiffa 2012-04-04 10:06:35 UTC
The same problem exists with kernel 3.3
Comment 6 Danilo Pianini 2012-11-28 18:45:05 UTC
Solved in 3.6. Luigi, can you confirm?
Comment 7 Luigi Caiffa 2012-11-28 18:50:07 UTC
Yes, the bug is solved!
Thank you very much to all!
Luigi
Comment 8 Aaron Lu 2012-11-29 02:29:34 UTC
Glad to see this bug gets fixed the first day it was assigned to me :-)

Hi Danilo,
May I know what is the problem and how it is solved, maybe you can point me to the relevant git commit? Thanks.
Comment 9 Danilo Pianini 2012-11-29 09:25:42 UTC
It's hard for me to point you the right commit, the ASUS notebook is a production system and therefore cannot be used for code bisection to dectect where the problem is.
It is running Sabayon, which I guess do not use vanilla. I can test if suspension/hibernate works in 3.5 and 3.4 kernels as they are provided within the distribution, if it is meaningful. I can also provide all the system logs you think might be useful.
Comment 10 Aaron Lu 2012-11-29 14:16:29 UTC
Don't bother.
I saw you are not involved at first but told Luigi the bug is solved so I thought you fixed the bug or know the reason why. And since this is not the case, no need to attach those logs, thanks.

Note You need to log in before you can comment on or make changes to this bug.