Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old June 22nd, 2006   #1
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
suspend to memory does not work after upgrade

Hey all
so i finally upgraded from breezy to dapper. wee.
have one problem that i have so far not been able to resolve. suspend to memory stopped working!

i have edited my /etc/default/acpi-support to uncomment ACPI_SLEEP=true (since it reverted during upgrade), rebooted, but the suspend option still does not show up in the new "quit" dialog.

also, in breezy, it was possible to set a shortcut for suspend in the keyboard shortcuts panel, but that line item is no longer present there.

also, i tried running
"sudo /etc/acpi/sleep.sh force"
and it suspended properly, but failed to wake up.

there is one other thing - i have switched from using the oss "ati" video driver to using fglrx (in the hopes that it gives better performance - and it does), that may have something to do with it, possibly? but it should not affect whether suspend option even shows up in the first place, though..

so, i would appreciate any help and suggestions in this regard.

using dell inspiron 5150, if it makes any difference.

please share your ideas with me.
nanotube is offline   Reply With Quote
Old June 22nd, 2006   #2
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

update:
well, i enabled the suspend to memory to actually show up by going through the system>preferences>power management panel (on the last tab, i chose "suspend" as action for when sleep button is pressed, and it asked me if i am sure i want to enable suspend, and i said yes, and now it shows up )

but: it still does not resume properly (screen remains blank). i tried this now with both the stock "ati" driver as well as with the "fglrx" driver, and both produce the same result, resume from suspend "does stuff" but the screen remains totally blank. ctl-alt-f2 does not help, ctl-alt-backspace does not help, and ctl-alt-delete does restart the computer

so, anyone have any clues, things to try, etc? i will note that suspend worked perfectly under breezy, so it's not the hardware's fault, it's gotta be something new in one of them acpi scripts that screwing it up...
nanotube is offline   Reply With Quote
Old June 22nd, 2006   #3
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

ok, so i looked around, and played around with my /etc/default/acpi-support file, and have some encouraging results.

here are the changes i made:

Code:
20c20
< MODULES_WHITELIST=""
---
> MODULES_WHITELIST="fglrx"
32c32
< # SAVE_VIDEO_PCI_STATE=true
---
> SAVE_VIDEO_PCI_STATE=true
so, after i did this, and suspended, and resumed - it resumed properly, but then froze like 30 seconds after it came up. but at least this is encouraging, because i was able to start using the system, etc.

next thing i tried (since i started suspecting network-manager as the culprit, since it failed to connect to the net between resume and the freeze, even though usually it connects pretty quick). so i disabled the wireless device (there is a kb shortcut for wifi to turn it on/off), and /then/ suspended, and then resumed, and then turned on the wireless device. and it worked, and so far no crashing.

i will have to test it some more i guess, but looks like i am making progress.

but don't let that stop you, please, if you have some ideas/suggestions, i'd appreciate them. i am kinda poking around in the dark here.
nanotube is offline   Reply With Quote
Old June 22nd, 2006   #4
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

and so, i am replying to my own thread yet again.

it appears that the resume from suspend issue is still not solved. after some time i started seeing graphical artifacts on the screen (like pieces of screen becoming wrong color, or not updating, etc), and then after some more time, the comp froze, just the mouse moving, and not responding to any clicks or any keyboard commands. so i had to hard boot it.

so i am back where i started - suspend is still inoperable.

can anyone help me out here please?
nanotube is offline   Reply With Quote
Old June 23rd, 2006   #5
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

ok, yet another self-reply, but this time i think with good news. i made the following changes to /etc/default/acpi-support:

Code:
23c25
< SAVE_VBE_STATE=true
---
> SAVE_VBE_STATE=false
29c32
< POST_VIDEO=true
---
> POST_VIDEO=false
35c40
< USE_DPMS=true
---
> USE_DPMS=false
42c48
< # DOUBLE_CONSOLE_SWITCH=true
---
> DOUBLE_CONSOLE_SWITCH=true
(and of course, ACPI_SLEEP=true is uncommented)

then i also made a change to /etc/acpi/wireless.sh (because i have ipw2200 wifi - not needed if you don't have it, i guess)
Code:
9c9
<           echo -n 2 > $DEVICE/device/power/state;
---
>           echo -n 3 > $DEVICE/device/power/state;
and now everything appears to work right for going into and out of suspend.

now, i am not sure which one of these did the trick, but the trick was done, and i'm happy enough for now not to go mucking around with this anymore.
nanotube is offline   Reply With Quote
Old June 23rd, 2006   #6
caldevil
A Carafe of Ubuntu
 
Join Date: Apr 2006
Beans: 105
Re: suspend to memory does not work after upgrade

See
https://launchpad.net/distros/ubuntu...ort/+bug/46181

I guess changing vbe_state to flase did the trick. That worked for me when I was using fglrx. But with fglrx breaking down with every other ubdate I switched back to open source Radeon. On my system the difference is just marginal and I can live with that.
caldevil is offline   Reply With Quote
Old June 23rd, 2006   #7
francisco_athens
Just Give Me the Beans!
 
francisco_athens's Avatar
 
Join Date: Feb 2006
Location: Chicago
Beans: 69
Gutsy Gibbon Testing
Send a message via Yahoo to francisco_athens
Re: suspend to memory does not work after upgrade

Quote:
Originally Posted by nanotube
ok, yet another self-reply, but this time i think with good news. i made the following changes to /etc/default/acpi-support:

Code:
23c25
< SAVE_VBE_STATE=true
---
> SAVE_VBE_STATE=false
29c32
< POST_VIDEO=true
---
> POST_VIDEO=false
35c40
< USE_DPMS=true
---
> USE_DPMS=false
42c48
< # DOUBLE_CONSOLE_SWITCH=true
---
> DOUBLE_CONSOLE_SWITCH=true
(and of course, ACPI_SLEEP=true is uncommented)

then i also made a change to /etc/acpi/wireless.sh (because i have ipw2200 wifi - not needed if you don't have it, i guess)
Code:
9c9
<           echo -n 2 > $DEVICE/device/power/state;
---
>           echo -n 3 > $DEVICE/device/power/state;
and now everything appears to work right for going into and out of suspend.

now, i am not sure which one of these did the trick, but the trick was done, and i'm happy enough for now not to go mucking around with this anymore.
These changes seem to work well with my notebook too! Thank you!
Medion Akoya EX, Centrino - Intel 855 video, ipw2200 wifi
francisco_athens is offline   Reply With Quote
Old June 23rd, 2006   #8
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

Quote:
Originally Posted by caldevil
See
https://launchpad.net/distros/ubuntu...ort/+bug/46181

I guess changing vbe_state to flase did the trick. That worked for me when I was using fglrx. But with fglrx breaking down with every other ubdate I switched back to open source Radeon. On my system the difference is just marginal and I can live with that.
yea, i considered that, but my system really does feel snappier with fglrx. also, with oss radeon, i get
6722 frames in 5.0 seconds = 1344.386 FPS
and with fglrx i get
9137 frames in 5.0 seconds = 1827.332 FPS
a 50% difference.

but anyway, thanks for liking that launchpad page, i suppose maybe it was the vbestate thing. but i am not gonna be playing with it anymore, since it works so well for me now.
nanotube is offline   Reply With Quote
Old June 23rd, 2006   #9
nanotube
I Ubuntu, Therefore, I Am
 
nanotube's Avatar
 
Join Date: Jan 2006
Location: Philadelphia
Beans: 3,377
Ubuntu 8.10 Intrepid Ibex
Re: suspend to memory does not work after upgrade

Quote:
Originally Posted by francisco_athens
These changes seem to work well with my notebook too! Thank you!
Medion Akoya EX, Centrino - Intel 855 video, ipw2200 wifi
excellent.
nanotube is offline   Reply With Quote
Old June 24th, 2006   #10
dread
First Cup of Ubuntu
 
Join Date: Dec 2004
Location: Austin, TX
Beans: 4
Re: suspend to memory does not work after upgrade

Thanks this fixed my suspend to memory issues on my dell d600.
dread is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:33 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry