Hi Stefan,
thank you for the information!
On Monday, 8. November 2004 11:27, Stefan Seyfried wrote:
Guten Morgen,
On Fri, Nov 05, 2004 at 07:42:06PM +0100, Michael Karbach wrote:
Hi!
With SuSE-9.2 I have some trouble with resuming my DELL-C840 from suspend-to-RAM within ACPI. The problem is that the display backlight does not switch on after resume. I can login from remote and shutdown and reboot the system. Everything else seems to work after resume.
lucky you... :-)
Not really ;-)
Does anybody know how to switch on the backlight?
no, not generic. If you find out how to do it, please tell it the guys on the acpi-devel mailinglist :-) There are some hardware-specific hacks floating around, they all include patching the kernel and some other of them need some userspace tools to reactivate the graphics card. Search the acpi-devel archives, there are many threads about these problems. There is also documentation about things to try in /usr/src/linux/Documentation/power/video.txt (needs kernel-source package installed).
OK, I will check the documentation.
But why is suspend to disk so slow for you?
Yes, in my point of view with a formerly working APM-suspend-resume, it is really slow. Now with SuSE-9.2-2.6.8 compared to 9.1-2.6.5 it is much better. For suspending roughly: 1:30min and for resuming (with a real working machine;-) 2:00min. But in some occasions it needs up to 3-5min for suspending. In this cases the last step (with the measuring percentage number) is the worst one.
May be this is related to 768MB RAM? I have altogether 3GB SWAP, may be this is too much? I have tried before 1GB and also 2GB, but I have not yet done comparisons between different scenarios.
There are some things you can do to speed it up:
- remove the useless screenlock at suspend: remove "screen_saver" from POWERSAVE_EVENT_GLOBAL_SUSPEND2DISK in /etc/sysconfig/powersave/events
This I have done before and was included in my statement about suspend/resume-speed.
- unload less module before suspend. The USB and firewire modules are only unloaded to prevent users from doing stupid things and complaining about it later (if you do not unload them, you should of course not do stupid things like suspending with an external USB/firewire drive attached). So just remove 'usb_storage sbp2 ohci_hcd uhci_hcd ehci_hcd ohci1394' from POWERSAVE_UNLOAD_MODULES_BEFORE_SUSPEND2DISK in /etc/sysconfig/powersave/sleep.
OK, I will try this.
With those two changes, i get reasonably fast suspend to disk (less than half a minute from "powersave -U" until poweroff and ~40 seconds from pressing enter at the GRUB prompt until i can work again).
This will be more than twice as fast as my enviroment. I will inform you.
Thanks,
Michael