LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-31-2007, 12:18 PM   #1
phiberoptikk
LQ Newbie
 
Registered: Aug 2003
Location: Media, PA
Distribution: Fedora
Posts: 18

Rep: Reputation: 0
blank screen on dell x300 after resume


Hey,

I can't get the display on a Dell Latitude x300 to come back on after a resume from suspend to ram.

I've googled a lot and none of the solutions seem to work.

I noticed:
/proc/acpi/video/GFX0/LCD/state
is 0x1f when it's on,

when I resume...
/proc/acpi/video/GFX0/LCD/state
is 0x1d and I can't get it to switch.

Any suggestions? The machine is still on and able to be ssh'd into when the screen is blank.
 
Old 11-01-2007, 12:01 PM   #2
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Suspend to ram on Linux is still very buggy. Have you tried alternate consoles? ALT+F1 or ALT+F2 or ALT.......+F6
 
Old 11-01-2007, 03:45 PM   #3
phiberoptikk
LQ Newbie
 
Registered: Aug 2003
Location: Media, PA
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
Yeah, tried pretty much everything. Switching to consoles, running i810switch, echo'ing stuff to /dev entries...

I guess the essential suspending features work, as far as bringing everything back up (devices, network, etc) but I can't find a way to reset the intel 855 video.

I found this webpage which has some other steps...I'll try it
 
Old 11-02-2007, 01:45 PM   #4
phiberoptikk
LQ Newbie
 
Registered: Aug 2003
Location: Media, PA
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

For anyone else reading this...I did get suspend to ram working almost 100% with this script (it was a comment on website in my last post, modified for Fedora, no more /proc/acpi/sleep)

/etc/acpi/events/lid.sh:
Code:
STATEFILE=$(echo /proc/acpi/button/lid/*/state | head -1)
[ -f $STATEFILE ] || die "Unable to determine state of lid."
STATE=$(awk '{ print $2 }' < $STATEFILE)

case "$STATE" in
    "open")
        #wake up
        vbetool post
        vbetool vbestate restore < /tmp/savedscreen
        chvt 7
        rm /tmp/savedscreen
        ;;
    "closed")
        #put to sleep
        chvt 1
        vbetool vbestate save > /tmp/savedscreen
        sync
        echo "mem" > /sys/power/state
        ;;
esac
/etc/acpi/events/lid.conf:
Code:
event=button[ /]lid
action=/etc/acpi/actions/lid.sh
Thanks to the original author...

I haven't tested any external devices like USB etc, the only rare problem I had is the video corrupting itself after coming back from resume, then having to restart X or sometimes the laptop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 6000 BIOS problems - blank screen on Ubuntu boot nick127 Linux - Laptop and Netbook 3 03-17-2006 12:18 PM
blank/black screen old dell laptop doublebus1 Linux - Software 2 03-03-2006 09:51 PM
Mplayer window blank when using TV Out with ATI Radeon X300 card, and DVI montior PirateFSM Linux - Software 2 01-19-2006 09:54 AM
FC4 post-install blank screen on dell 600m nutmeg2371 Linux - Laptop and Netbook 4 10-23-2005 06:55 PM
Dell Inspiron 8200 Blank screen on lid open Huski1 Linux - Laptop and Netbook 3 04-15-2004 05:39 PM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration