![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
First Cup of Ubuntu
![]() Join Date: May 2008
Beans: 1
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
I can confirm the above entries. Lenovo T400 under Ubuntu 8.10 Intrepid hibernates, but doesn't wake up under Gnome. Waking up to a console works.
|
|
|
|
|
|
#12 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2008
Beans: 3
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
Hi!
This problem affects not just the Lenovo T400 but also for example the new Dell Latitude E4200, HP EliteBook 2530p, Sony Vaio VGN-TT1, Toshiba R600, or anything else with the "Mobile Intel® GM45 Express Chipset" or X4500. I have exactly the same symptoms on my E4200 running intrepid. The bug most certainly resides in the xserver-xorg-video-intel code. The fact that is manifests itself only with gnome desktop and not with KDE or text mode gives some clue. It is not compiz related as disabling compiz has no effect. I would say that this is a classical multiprocessor concurrency control problem! Disabling all but one core makes the bug disappear. Here is my suggestion for a workaround. Save in /etc/pm/sleep.d/00CPU with 755 permissions. Note that it has to be called 00CPU so that it gets executed before and after anything else. Code:
#!/bin/sh
# Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.
# Save this as /etc/pm/sleep.d/00CPU
. "${PM_FUNCTIONS}"
case "$1" in
hibernate|suspend)
for i in /sys/devices/system/cpu/cpu*/online ; do
echo 0 >$i
done
;;
thaw|resume)
sleep 10 # run with one core for 10 secs
for i in /sys/devices/system/cpu/cpu*/online ; do
echo 1 >$i
done
;;
*)
;;
esac
Petri K |
|
|
|
|
|
#13 |
|
Spilled the Beans
![]() Join Date: Mar 2008
Location: Vienna - Austira
Beans: 13
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
Hi!
Thank you for your workaround script.... tested it as you told, but unfortunately it does not work for me. Same problem, screen freezes! Should i change sleeping period? jango |
|
|
|
|
|
#14 |
|
Spilled the Beans
![]() Join Date: Mar 2008
Location: Vienna - Austira
Beans: 13
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
Changed sleeping period to 20 seconds, but without any effect.
I want Suspend working without troubles! |
|
|
|
|
|
#15 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2008
Beans: 3
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
You could try that. I tried first with 5 seconds but that wasn't enough.
Or just as a test you could forget the script and try running with just one core temporarily. Of course it's possible that the T400 problem is something else, this works for Dell E4200. Petri K |
|
|
|
|
|
#16 |
|
Spilled the Beans
![]() Join Date: Mar 2008
Location: Vienna - Austira
Beans: 13
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
-
Last edited by jango4; November 4th, 2008 at 05:50 PM.. |
|
|
|
|
|
#17 |
|
Spilled the Beans
![]() Join Date: Mar 2008
Location: Vienna - Austira
Beans: 13
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
You really got it! It works perfectly with only one CPU enabled in BIOS settings.
but why is your script not working for me? typed: sudo gedit pasted your code, saved in /etc/pm/sleep.d/00CPU typed sudo chown 755 /etc/pm/sleep.d/00CPU should work, or? jango |
|
|
|
|
|
#18 |
|
Spilled the Beans
![]() Join Date: Mar 2008
Location: Vienna - Austira
Beans: 13
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
I am such a noob... chmod... not chown!
It works perfekt! Thanks a lot for your help! lg Jango |
|
|
|
|
|
#19 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2008
Beans: 3
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
I got resume/suspend working by simply disabling Bluetooth in BIOS...
|
|
|
|
|
|
#20 | ||
|
First Cup of Ubuntu
![]() Join Date: Oct 2008
Beans: 7
|
Re: Lenovo T400 Suspend / Hibernate / Resume Problems
Quote:
I found this suggestion over at Notebook Review: Quote:
|
||
|
|
|
| Bookmarks |
| Tags |
| gnome, hibernate, intel 4500 video card, lenovo, suspend |
| Thread Tools | |
| Display Modes | |
|
|