You are not logged in.
Pages: 1
Lately I've been finding it useful to use the suspend feature, I had in the past but this has never really bothered me. I installed acpid and pm-utils but every time I resume from suspending, the screen is very dark. This goes away once I restart X. Did I miss something?
Offline
Try adding --quirk-reset-brightness to your pm-suspend command; or try playing with other quirks (EDIT: pm-suspend --help).
Last edited by fwojciec (2008-01-16 22:22:17)
Offline
I tried that and looked through the possible commands, none of them worked.
Offline
Are you suspending to ram or to disk? If to disk, install uswsusp from the AUR and try all the possible combinations of options fro s2ram. If this fails or if you are suspending to disk, then try all the further options offered by the hibernate-script (such as dummyxserver, switchtotext, vbetol to a specific state, and so on); the hibernate-script can be used for suspension to ram and to disk, I suggest to try s2ram before fo suspension to ram just because it is going to include a whitelist of laptops with the routine needed to resume properly.
Mortuus in anima, curam gero cutis
Offline
I tried but got:
Machine is unknown.
This machine can be identified by:
sys_vendor = "Sony Corporation"
sys_product = "VGN-FZ145E"
sys_version = "C3LP38B7"
bios_version = "R0040J7"
Offline
Yes, but this means only that your machine is not yet in the whitelist. You have to try ANY combination of the other command line options prepended by -f, which tells s2ram to try even if your machine is not yet known.
s2ram -h describes all the possibilities.
Last edited by patroclo7 (2008-01-17 02:25:06)
Mortuus in anima, curam gero cutis
Offline
I just tried to force it with s2ram --force which got it to suspend, but the screen remained dark. But as I could still see a bit, I tried to change it with xbacklight. While it would say it was changing, it didn't work. Not to sound stupid, but is there a way to see how it was done in Ubuntu as it worked fine back when I used that.
Last edited by Reasons (2008-01-17 02:45:04)
Offline
--force simply forces: the other options jointed with --force apply the different tricks (those used by ubuntu are likely to be among them).
Mortuus in anima, curam gero cutis
Offline
Well I'll get to tinkering with that later. Until then, I noticed that if I'm on battery power, suspend, resume, restart X(to fix the brightness), I resume at max brightness where it should be at 30 (I use laptop-tools). It remembers the scaling of the cpu though (laptop tools controls that too). This might because I use gnome-power-manager so I can see how long I have left on the battery, I'll get you know.
Offline
I had similar problem, you can try to restart laptop-tools at any suspend cycle.
Mortuus in anima, curam gero cutis
Offline
May I ask what you use for s2ram? I've tried all the options and even combined a few to no avail.
Offline
I need --vbe_save, but this is not very relevant unless we happen to own the same laptop .
In another laptop none of them helped and I had to use the VbeRestore option in the hibernate-script, using vbetool to restore a state saved immediately after booting, before launching X.
Mortuus in anima, curam gero cutis
Offline
Is there a wiki for that by any chance? Sounds like exactly what I want because the screen looks more yellow when I resume but hey, that might just be me.
Offline
Do you mean a wiki for suspend to ram? Here it is:
http://wiki.archlinux.org/index.php/Suspend_to_RAM
However the case of a more YELLOW screen seems hard to me!
Mortuus in anima, curam gero cutis
Offline
i had absolutely perfect suspension to ram until something went wrong somewhere and SOMETIMES yes i have this problem. but i think that's because of my l33t undervolting to least voltage possible for max freq
I need real, proper pen and paper for this.
Offline
Okay, with a new install (I broke the kernel) and I got it to work with
pm-suspend --quirk-s3-bios --quirk-s3-mode
. Is there a way to go about having that happen when I close the lid using acpid or gnome-power-manager? Possibly have it ask for a password on resume.
Offline
Run the acpi service and define an event in /etc/acpi for the lid.
For the password, I do not know if this is possible with pm-suspend, but with the hibernate-script you can lock X.
Mortuus in anima, curam gero cutis
Offline
i use... "acpi_sleep=s3_bios" in kernel line in grub :-)
Offline
Offline
i use... "acpi_sleep=s3_bios" in kernel line in grub :-)
Sorry to bring back this thread. How would I do that for my variables?
Offline
Pages: 1