NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › ubuntu suspend issues.
New Posts  All Forums:Forum Nav:

ubuntu suspend issues.

post #1 of 9
Thread Starter 
i remember back in the days of Hoary i modded my kernel to include suspend2 following a very nice howto on the ubuntu forums. Hell, it actually successfully suspended and unsuspended a system if i used the open source ati drivers.

Since fglrx is all a pile of crap and i didn't feel like installing xgl to get beryl, i "downgraded" to the open radeon drivers and am using the aiglx. all the eye candy works great, and i was excited because now that i am not on fglrx i can afford to suspend/hibernate again. well...maybe not so. in the default configuration, neither suspend (to ram) nor hibernate (to disk) work.... for suspend the system suspsends fine, but it doesnt unsuspend. to hibernate it fails to even successfully go into hibernation.

so.... are there any ideas on how i can get either one of those things to work on my setup.

hardware info: http://uniwill.com/products/other/25...8ka0_print.php

software... edgy with all the latest upgrades, open radeon drivers...thats pretty much it.
post #2 of 9
Thread Starter 
ehh sorry posted in wrong forum, my bad! can a mod move this to the linux section
post #3 of 9
that I can do
post #4 of 9
If it's any consolation my nvidia machine won't un-suspend either.
post #5 of 9
Hey Abf, im having the same problem too. But I have a couple more questions for you. I have an Ati too and just installed ubuntu 6.06 then upgraded to 6.10 via the Synaptic, and everything seems to work. Ive installed automatrix2 (I saw you tell that to someone, who just instlled ubuntu, in a diff post) and wine. Although I still dont know what Automatrix does. Looks no different than Synaptic. Should I change drivers? If so what ones? I have 386 kernel, should I get 686? I really want to try beryl, but doesnt sound like you thinks its worth doing. I hope yo figure out how to unsuspend, cause its annoying =(

**edit**
I think this may help http://moonbase.rydia.net/mental/blo...spend-problems

I know its ibook but if you read the code you may understand what its doing.
post #6 of 9
Thread Starter 
synaptic is just a skin for APT pretty much, Automatix is kinda the same, but it comes with its own set of repos to install files that Ubuntu can't legaly provide for you in their repos, its a useful tool to get all the media codecs, java, and some other junk installed.

if you insist on using FGLRX then your only option to try bertyl is through XGL, however if you don't think you need FGLRX, then dump it, use the open Radeon drivers and use AIGLX which is already built into Xorg 7.1 that comes with Edgy, you just need to enable it.
post #7 of 9
If you can get beryl working then it's most definitely worth it. I have it running on a craptastic geforce3 and it runs perfectly. There's tons of settings if you want to tone things down (which is exactly what I did). I'm not sure about the ATI cards, but I also had direct_rendering working perfectly- I had issues with the standard xgl/compiz install.
post #8 of 9
Alright, the same thing happens to my Thinkpad, except hibernation works fine out of the box. This might help you as standby worked after I did this, but I haven't installed it since I've moved to 6.10. I prefer hibernation.

This is for the R50e however, I'm sure you and all your Linux wisdom will make this work for your laptop.

Open a terminal and enter this command:

Code:
sudo gedit /etc/default/acpi-support

And uncomment "ACPI_SLEEP=true" (by removing the # character in front of it)

Dapper Notes:
* Also uncomment "SAVE_VIDEO_PCI_STATE=true" in /etc/default/acpi-suuport.
* Edit your xorg.conf (sudo gedit /etc/X11/xorg.conf) so that the device section looks like this:
Code:
 Section "Device"
        Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
        Driver "i810"
        BusID "PCI:0:2:0"
        Option "VBERestore" "true"
      EndSectionp

Then

enter those commands in terminal:
Code:
  sudo cp /etc/acpi/sleep.sh /etc/acpi/sleep.sh_backup
  sudo gedit /etc/acpi/sleep.sh


Replace the line "echo -n $ACPI_SLEEP_MODE >/sys/power/state" with
(take from Problem with display remaining black after resume):
Code:
  
  # change to console 1
  FGCONSOLE=`fgconsole`
  chvt 6

  # safe video state
  cat /proc/bus/pci/00/02.0 > /tmp/video_state

  # sync filesystem
  sync

  # sync hardware clock with system time
  hwclock --systohc

  # go to sleep
  echo -n 3 > /proc/acpi/sleep

  # waking up
  # restore system clock
  hwclock --hctosys

  # restore video state
  cat /tmp/video_state > /proc/bus/pci/00/02.0

  # change back to X
  chvt $FGCONSOLE

  # clean up behind us
  rm /tmp/video_state
post #9 of 9
Quote:
Originally Posted by abf
synaptic is just a skin for APT pretty much, Automatix is kinda the same, but it comes with its own set of repos to install files that Ubuntu can't legaly provide for you in their repos, its a useful tool to get all the media codecs, java, and some other junk installed.

if you insist on using FGLRX then your only option to try bertyl is through XGL, however if you don't think you need FGLRX, then dump it, use the open Radeon drivers and use AIGLX which is already built into Xorg 7.1 that comes with Edgy, you just need to enable it.

Oh I see. Since I upgraded to 6.10 right after I installed 6.06, is it using aiglx? Also why does it say my slot is pci instead of agp? Sorry for so many questions, but im lost.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › ubuntu suspend issues.