You are not logged in.

#1 2010-03-05 12:05:21

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Thinkpad T500 unable to resume from suspend

I've been unsuccessful in getting a Thinkpad T500 (Radeon HD3560) in resuming following suspend.

Everything seems fine when suspending and /var/log/pm-suspend.log doesn't indicate any problems.  When resuming, the moon symbol flashes momentarily then disappears and the HDD, optical drive, etc. can be heard, however the display remains completely blank (no backlight) and the system seems to hang (magic sysrq keys are also no use).  At this point I'm forced to power-cycle the machine.

I've tried enabling [testing] and using kernel26-2.6.33; using uswsusp instead of pm-utils; with and without KMS enabled; disabling the HD3560 and using integrated (intel) video; booting with acpi_sleep=s3_bios,s3_mode; switching to a VT prior to suspend and unloading the rtl8192se module prior to suspend (no bluetooth on this notebook).  All of which make no difference to the result.

Perhaps related is the system will also hang when hibernating -- it will beep twice and the moon will begin flashing, but there is then no HDD activity and the system will hang with the cursor blinking in the upper left-hand corner.  This also results in a forced power-cycle.

'resume' has been added to HOOKS in mkinitcpio.conf and the initrd image rebuilt.

So, I'm essentially out of ideas.  Any help would be greatly appreciated.

Offline

#2 2010-03-05 13:12:29

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Thinkpad T500 unable to resume from suspend

I have the same problem. T500 too.
In my case with integrated graphic (intel), some time resume ok, sometimes fail. When the resume fail, i got a black screen (backlight) and blinking cursor, but the system is useless...
Some times my system resume ok.

This irritates me a bit, because sometimes when I'm in university, I doubt whether to suspend, as the procedure is not reliable.

Offline

#3 2010-04-26 12:04:07

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Thinkpad T500 unable to resume from suspend

Well, I've made some progress on this, but now I am once again stuck.

To resolve my issues above, I currently have all USB devices disconnected (still need to work on resolving this) and have:
/etc/pm/config.d/40-fixblankdisplay

SUSPEND_MODULES="cdrom sr_mod firewire_ohci firewire_core usbhid usb_storage uhci_hcd ehci_hcd"
SLEEP_MODULE="uswsusp kernel"

I am now able to perform a suspend / resume cycle approximately 2 in 3 times, with the third successive attempt resulting in a (seemingly) idle system at a tty with a blinking cursor and the suspend is never completed.  The kernel seems to be in an operational state; numlock can still be toggled.  At this stage there is no network connectivity, so I'm unable to access the system via ssh and I'm forced to power-cycle.

Any thoughts on what might prevent suspend only after the third attempt?

kernel26 2.6.33.2-1

Offline

#4 2010-04-26 13:51:41

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

I have exactly the same problem. I use the Intel card and a very basic arch setup. No special configuration or packages. Hints are very welcome, since it sucks without s2ram..

Offline

#5 2010-04-26 15:05:41

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Thinkpad T500 unable to resume from suspend

Changelog from one of the BIOS upgrades for T500 says they "fixed a problem where machine would sometimes not wakeup from suspend". Investigate it further.


You need to install an RTFM interface.

Offline

#6 2010-04-29 23:03:58

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

I've never updated the BIOS, but it worked with Debian 5.0.

Offline

#7 2010-05-01 01:08:09

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

Calling 's2ram -f -m' appears to suspend my machine perfectly everytime.  When I've setup pm-utils to call uswsusp and then try to suspend via gnome, the blank-screen-on-resume problem reappears.  Any ideas what gnome power manager is doing behind the scenes to cause this?

By the way, I'm only using the ATI card in my T500, have not tried the intel one, don't really care about it.


Arch x86_64

Offline

#8 2010-05-01 06:36:12

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Thinkpad T500 unable to resume from suspend

I've updated the BIOS from 2.16, which seems to have reduced (though not eliminated) the problems the display never coming back up.  However, it will still consistently hang on the third attempt to suspend.

To give a more detail about exactly what happens on each attempt:

1) The first suspend occurs as expected.

2) The second suspend is several seconds slower overall and the VT used has a light-gray background (as opposed to the usual black).  Switching between VTs reveals that this is the only one to experience this.  The position of the cursor also changes position from initially being well in from the top LH corner before returning back to it's usual position after a second or so.

3) The third suspend switches to the now light-gray VT, and also readjusts the position of the cursor after a second or so.  The moon then (sometimes) beings to blink.  At this point nothing else happens (have waited 20mins or so) and I'm forced to power-cycle the system.

The lightgray background of the VT can be resolved by restoring the VBE state via pm-suspend, though the hang still occurs.  Identical symptoms occur suspending with various options available in s2ram.

Last edited by chpln (2010-05-01 06:37:32)

Offline

#9 2010-05-01 15:19:39

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

I don't think this is an issue with gnome power manager; I don't use gnome. Any hints still very welcome..

Offline

#10 2010-05-01 23:39:31

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

Please try :

s2ram -f -m

If it works for you, then chances are it works for everyone.  My main issue now is integrating this command with the DE such that the computer locks etc. when I want to suspend/hibernate.


Arch x86_64

Offline

#11 2010-05-01 23:55:32

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Thinkpad T500 unable to resume from suspend

Unfortunately 's2ram -f -m' has no effect on the outcome for me.

Offline

#12 2010-05-02 00:38:52

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

Ok, this is my configuration:

/etc/pm/config.d/config
DISPLAY_QUIRK_DPMS_ON="true"

/etc/pm/config.d/module
SLEEP_MODULE=uswsusp

/etc/hibernate/ram.conf
TryMethod ususpend-ram.conf
TryMethod sysfs-ram.conf

/etc/hibernate/ususpend-ram.conf
USuspendRamForce yes
USuspendRamVbeMode yes
Include common.conf

/etc/hibernate/common.conf
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution arch
SaveClock restore-only
UnloadBlacklistedModules yes
LoadModules auto
EnableNMReconnect yes

Like I said, calling s2ram -f -m works fine on my machine.  I was getting your grey screen after 1 resume from previous tinkering, but I do not see that any more.  And from my configuration above, I cannot work out why gnome-power-manager suspend doesn't work either!

edit: code mode doesn't like bold.

Last edited by o1911 (2010-05-02 01:48:56)


Arch x86_64

Offline

#13 2010-06-24 16:48:29

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

Problem still exists. Maybe there is any BIOS option which could trigger the bug.?

Update: It hangs instantly after pressing the power button to resume.

Last edited by foobarch (2010-06-24 18:43:46)

Offline

#14 2010-06-24 16:53:31

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Thinkpad T500 unable to resume from suspend

here too...
before xorg 1.8, when i resume from suspend the display go on but all black.
after xorg 1.8, when i resume from suspend the display still off.

Offline

#15 2010-06-25 00:04:15

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

Guys,

I'm running all the latest updates and now my T500 suspends and hibernates without a problem every time.  I'm using the same configuration outlined earlier.  It even works through gnome now.   If any part of my config is obscure, please ask and I'll try to let you know what I've done.

Also, I only run the ATI card in my laptop.

Cheers


Arch x86_64

Offline

#16 2010-06-25 00:45:15

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Thinkpad T500 unable to resume from suspend

Today a wrote in "the lenovo files" blog as kaki, please help us to reverse these situations and have official support from lenovo:
http://lenovoblogs.com/lenovofiles/2010 … f-suspend/

I found a unique opportunity to do it big_smile

Offline

#17 2010-06-26 06:49:54

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Thinkpad T500 unable to resume from suspend

takedown wrote:

before xorg 1.8, when i resume from suspend the display go on but all black.
after xorg 1.8, when i resume from suspend the display still off.

Same here.

foobarch wrote:

Problem still exists. Maybe there is any BIOS option which could trigger the bug.?

I've been thinking along these lines, though I'm yet to find a combination which makes any difference.

@o1911: can you confirm whether this problem exists on your model with the pm/uswsusp configuration disabled?  I've tried your configuration, unfortunately, without success.

Offline

#18 2010-06-26 11:46:21

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

Hi chpln,

After checking my BIOS settings, I can confirm that there is nothing note-worthy setup in there.  "Automatic" power settings for CPU, PCI etc.

I commented out "SLEEP_MODULE=uswusp" and suspending appeared to work fine for me also.  Quickly looking at what I've posted previously, I don't think I mentioned that I have radeontool installed from the aur.  I haven't explicitly employed it somewhere however, so I'm not sure if this helps.

I only like using uswsusp because I can encrypt the hibernation data.

I'm very sorry to hear that you're all still having problems.  If you would like more about my system, please ask and I'll do my best.

Good luck, cheers.


Arch x86_64

Offline

#19 2010-08-14 13:50:08

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

I found a solution. Check: http://en.gentoo-wiki.com/wiki/Lenovo_T … management

"Warning: I had to enable the security chip in the T400 BIOS and disable the security reporting options to make suspend and resume work (Security > Security Chip [Active] and Intel(R) TXT Feature [Disabled]). Otherwise the moon led stays on and the display remains dark after resuming."

Now both s2ram and s2disk works...

Offline

#20 2010-08-31 18:17:33

Toke
Member
From: Stockholm/Sweden
Registered: 2009-02-14
Posts: 12

Re: Thinkpad T500 unable to resume from suspend

I think I have the very same error as you guys have, the symptoms are the same at least.

I've got a ThinkPad Edge 13.3", using the AMD Radeon Mobility 3200 card.
I use the catalyst driver, the open driver is always making the blank screen. (Sometimes even when I start X)

I still got the problem. sad

Offline

#21 2010-09-01 00:13:18

o1911
Member
From: Hobart, Australia
Registered: 2009-04-28
Posts: 106

Re: Thinkpad T500 unable to resume from suspend

foobarch wrote:

I found a solution. Check: http://en.gentoo-wiki.com/wiki/Lenovo_T … management

"Warning: I had to enable the security chip in the T400 BIOS and disable the security reporting options to make suspend and resume work (Security > Security Chip [Active] and Intel(R) TXT Feature [Disabled]). Otherwise the moon led stays on and the display remains dark after resuming."

Now both s2ram and s2disk works...

I can confirm that this option is turned off in my BIOS and my laptop suspends/hibernates.


Arch x86_64

Offline

#22 2010-10-31 21:10:16

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: Thinkpad T500 unable to resume from suspend

Now both s2ram and s2disk works...

Now, after some moths, I can say: usually works. Sometimes (<10%) s2ram fails (hangs with blinking cursor) and I don't know why. Of course I enabled logging in /etc/supsend.conf (suspend loglevel = 10) but I can't find any log messages. I would guess it's some issue with a kernel module..

Any ideas on that?

Offline

Board footer

Powered by FluxBB