You are not logged in.

#1 2008-04-22 00:44:47

kett
Member
Registered: 2008-04-21
Posts: 104

Dell laptop suspend doesn't work right

I've installed pm-utils, and hibernate works great, but suspend doesn't quite work.  It appears to suspend properly.  But on wake up it comes back to a black screen. I have to Ctrl-Alt-Backspace to be able to use it again.  I checked the logs and it says everything is working fine.  Does anyone have any ideas?

Its a Dell 640M/e1405, running kdemod.

Offline

#2 2008-04-22 02:42:24

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Dell laptop suspend doesn't work right

Maybe have pm-utils run "vbetool dpms on" when the system wakes up.

Offline

#3 2008-04-22 03:01:20

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Dell laptop suspend doesn't work right

Likely an issue with your graphics card... post your specs and Xorg driver and someone may be able to help.


thayer williams ~ cinderwick.ca

Offline

#4 2008-04-22 14:59:09

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Dell laptop suspend doesn't work right

elliott:  that doesn't do it

My graphics card is an Intel integrated graphics card.  I believe its an Intel 945. 
As far as xorg, I ran Xorg -version and got X.Org X Server 1.4.0.90

Offline

#5 2008-04-22 20:44:48

biio
Member
From: Sweden
Registered: 2005-07-19
Posts: 39

Re: Dell laptop suspend doesn't work right

I have a similar problem on my D520 with an Intel 945 card. I have found that going to the normal console by pressing ctrl-alt-f1 (or any of the other ones for that mater) and then back to X solves it without having to restart X for you.
I am not sure this will solve you problem but it is worth a try, and if you find a real solution please post it. smile

Offline

#6 2008-04-22 22:10:02

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Dell laptop suspend doesn't work right

I found that on my dell (similar to yours) sometimes if it came up with a black screen then i closed the ld and opened it again, the screen would start up properly

Offline

#7 2008-04-22 23:18:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Dell laptop suspend doesn't work right

Check whether changing virtual terminals helps?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2008-04-23 02:47:55

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Dell laptop suspend doesn't work right

Well, I've everyone's ideas.  The only thing I got to work was biio's idea.  I just press Ctrl-Alt-F1 and then Ctrl-Alt-F7.  Does anyone know of a way to put these keypress's into a script.

Offline

#9 2008-04-23 09:15:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Dell laptop suspend doesn't work right

That's changing virtual terminals roll Then again I didn't see he suggested the same thing as me tongue

Put it in a hacks file like this:

[stijn@hermes ~]$ cat /etc/pm/sleep.d/00hacks 
#!/bin/bash
case $1 in
    suspend)
        chvt 1
        ;;
    resume)
        chvt 7
        ;;
esac

I presume you're running the intel driver, the i810 driver does not have this problem resuming afaik.

Last edited by B (2008-04-23 09:16:14)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#10 2008-04-23 14:08:14

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Dell laptop suspend doesn't work right

@B

To be honest I didn't know what you meant by virtual terminals.  (I don't know a whole lot about linux.)  Thanks for the script, though.  It didn't work the way you gave me.  I got it to work by moving the "chvt 1" line to right before the "chvt 7" line.

Offline

#11 2008-04-23 14:29:28

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Dell laptop suspend doesn't work right

Strange... It works that way here. Anyway, if it works for you, that's what counts tongue.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2008-04-27 04:50:58

bioe007
Member
Registered: 2007-11-12
Posts: 56

Re: Dell laptop suspend doesn't work right

i too had the dim screen after suspend, I solved it by rebuilding the intel driver from git, afaik anything after 20080331 should fix it without having to chvt.

Offline

#13 2008-05-01 18:08:16

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Dell laptop suspend doesn't work right

I found another way to solve this problem.  Just thought I'd let people know.  What I'm doing now is running pm-suspend with the following flags

--quirk-vga-mode3
--quirk-vbestate-restore
--quirk-vbe-post

so the call is

pm-suspend --quirk-vga-mode3 --quirk-vbestate-restore --quirk-vbe-post

Offline

#14 2008-05-03 22:06:43

axelgenus
Member
From: Italy
Registered: 2007-04-15
Posts: 100
Website

Re: Dell laptop suspend doesn't work right

kett wrote:

I found another way to solve this problem.  Just thought I'd let people know.  What I'm doing now is running pm-suspend with the following flags

--quirk-vga-mode3
--quirk-vbestate-restore
--quirk-vbe-post

so the call is

pm-suspend --quirk-vga-mode3 --quirk-vbestate-restore --quirk-vbe-post

Thank you so much! This method does work for me: I had the same problem with the same video adapter on a HP nx7400. Now pm-suspend works but GNOME doesn't suspend my laptop (it tells me there are some problems with the quirks).

Offline

#15 2008-05-04 00:14:29

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Dell laptop suspend doesn't work right

I'm not sure about the GNOME thing.  I use kde, so I'm not going to be much help.  You might want to try only using --quirk-vbestate-restore and only one of the other two, instead of all three.

Offline

#16 2008-05-04 07:44:54

axelgenus
Member
From: Italy
Registered: 2007-04-15
Posts: 100
Website

Re: Dell laptop suspend doesn't work right

Hurray! I made it work! I only needed to add my user to the "power" group. The quirks were already configured in /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-hp.fdi. My laptop only needed "VBE State Restore" and "VBE Post". Finally I can use suspend and hibernate... wink

Offline

Board footer

Powered by FluxBB