Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 11-20-2006, 09:39 PM   #1
Registered: Mar 2004
Location: Las Vegas, NV
Distribution: Arch Linux
Posts: 103

Rep: Reputation: 15
laptop does not resume after suspend

I'm trying to figure out how to make it so that when I close my laptop, it will suspend, but when I open it up again, the screen remains black, as though it's not able to access xorg.conf. here's my /var/log/suspend2ram.log file:

 suspend2ram initiated: 2006-11-20 06:59:36 PM
Debug info follows here, please include in your bug reports. Thanks.
Loaded modules:
Module                  Size  Used by
cpufreq_ondemand        5644  1 
cpufreq_userspace       3664  0 
cpufreq_powersave       1920  0 
p4_clockmod             4900  0 
speedstep_lib           4100  1 p4_clockmod
freq_table              4240  1 p4_clockmod
radeon                112800  2 
drm                    60436  3 radeon
ipv6                  237600  8 
xt_tcpudp               3328  4 
ipt_REJECT              4736  2 
xt_state                2176  1 
ip_conntrack           45024  1 xt_state
nfnetlink               5400  1 ip_conntrack
ohci_hcd               18436  0 
iptable_filter          2688  1 
ip_tables              11988  1 iptable_filter
x_tables               11268  4 xt_tcpudp,ipt_REJECT,xt_state,ip_tables
ndiswrapper           177364  0 
ext2                   57608  1 
usbhid                 47904  0 
ppdev                   7556  0 
tsdev                   6336  0 
joydev                  8256  0 
lp                      9604  0 
snd_seq_oss            29440  0 
snd_seq_midi_event      6528  1 snd_seq_oss
pcmcia                 30636  0 
psmouse                35720  0 
snd_seq                47184  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6924  2 snd_seq_oss,snd_seq
ati_agp                 7180  1 
agpgart                25944  2 drm,ati_agp
serio_raw               5636  0 
snd_pcm_oss            38944  0 
uhci_hcd               21004  0 
snd_mixer_oss          14592  1 snd_pcm_oss
parport_pc             35684  1 
parport                31432  3 ppdev,lp,parport_pc
rtc                    10292  0 
i2c_ali1535             6276  0 
pcspkr                  2816  0 
shpchp                 33444  0 
pci_hotplug            28616  1 shpchp
yenta_socket           23436  1 
rsrc_nonstatic         11264  1 yenta_socket
natsemi                24928  0 
ehci_hcd               29576  0 
i2c_ali15x3             6788  0 
pcmcia_core            33432  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_ali5451            18956  1 
snd_ac97_codec         87456  1 snd_ali5451
snd_ac97_bus            2432  1 snd_ac97_codec
snd_pcm                67972  3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd_timer              19204  2 snd_seq,snd_pcm
snd                    42724  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7776  1 snd
snd_page_alloc          7816  1 snd_pcm
i2c_core               17280  2 i2c_ali1535,i2c_ali15x3
evdev                   7936  1 
usbcore               110852  6 ohci_hcd,ndiswrapper,usbhid,uhci_hcd,ehci_hcd
ide_cd                 35616  0 
cdrom                  34464  1 ide_cd
ide_disk               13440  4 
alim15x3               10636  0 [permanent]
generic                 4996  0 [permanent]
ide_core              109256  4 ide_cd,ide_disk,alim15x3,generic
ext3                  122376  1 
jbd                    55592  1 ext3
mbcache                 6916  2 ext2,ext3

Memory info:
             total       used       free     shared    buffers     cached
Mem:        450964     391084      59880          0      31212     207748
-/+ buffers/cache:     152124     298840
Swap:       262576          0     262576

/proc/cmdline: root=/dev/hda3 ro resume2=swap:/dev/hda2 acpi_sleep=s3_bios
========we are going to sleep, preparing.========
== checking runlevel ==
  no shutdown/reboot in progress, good.
== Unmounting FAT/NTFS filesystems: ==
  none found in /etc/mtab
== FAT/NTFS filesystems unmounted ==
Stopping services: ('netfs network cups alsa' configured)
stopping netfs:
##  stty: standard input: Inappropriate ioctl for device
##  :: Unmounting Network Filesystems [-9G   [BUSY] [-9G   [DONE] 
stopping network:
##  stty: standard input: Inappropriate ioctl for device
##  stty: standard input: Inappropriate ioctl for device
##  :: Stopping Network [-9G   [BUSY] [-9G   [DONE] 
stopping cups:
##  stty: standard input: Inappropriate ioctl for device
##  :: Stopping CUPS Daemon [-9G   [BUSY] [-9G   [DONE] 
stopping alsa:
##  stty: standard input: Inappropriate ioctl for device
##  :: Saving ALSA Levels [-9G   [BUSY] [-9G   [DONE] 
ejecting PCMCIA cards...

Unloading modules: ('prism54 ' configured)
checking prism54
prepare_sleep finished for suspend2ram
/usr/sbin/s2ram not found, falling back to echo.
It seems to me that there should be something else that comes after this. Currently, I'm experiencing problems using "powersave -u", but everything else I've tried gives me the same problem. I'm using kernel26suspend2 on Arch Linux. I'm using a Compaq Presario 2500 with an ATI Radeon Mobile video card. The hibernate script works fine.
Old 11-20-2006, 10:38 PM   #2
LQ Newbie
Registered: Nov 2005
Location: BC, Canada
Posts: 26

Rep: Reputation: 15
suspend problem : no video on wake

I don't yet have a fix for this, but I do have similar problems waking my HP nx6310 from suspended-to-RAM. Suspend (I think it is acpi mode S3) did work *perfectly* under Mandrivs 2006 with a patched kernel 2.6.18-mm3. Under 2007, all kernels I've tried so far wake up ok but does not turn the backlight on. So I do not think it is the kernel but some other part of xorg or suspend scripts etc. Perhaps someone else can tell us what changed between 2006 and 2007 that might be relevant to this.

Searching the web for hints I found mention of "video post" (Power-on self test?) that seems to be related to our problem. Try googling "vbetool" and see if there's anything that works for you.

Old 11-21-2006, 12:25 AM   #3
Registered: Mar 2004
Location: Las Vegas, NV
Distribution: Arch Linux
Posts: 103

Original Poster
Rep: Reputation: 15
Yeah, I've done everything I can find on vbetool. Either I'm not doing it right, or it just doesn't work on my computer.
Old 11-22-2006, 06:56 PM   #4
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
does this link help at all?
Old 11-25-2006, 09:26 AM   #5
Registered: Mar 2004
Location: Las Vegas, NV
Distribution: Arch Linux
Posts: 103

Original Poster
Rep: Reputation: 15
@nadroj: I did everything that that site says to do, but I still get the same result. I have a feeling that it has something to do with my video card, but I have no idea what's wrong with it.
Old 01-05-2007, 07:51 PM   #6
LQ Newbie
Registered: Nov 2005
Location: BC, Canada
Posts: 26

Rep: Reputation: 15
Some progress - I have suspend-to-RAM working again on my HP nx6310 !
centrino duo core T2400 (1.83GHz)
Intel GMA950 SXGA+ 1400x1050
Mandriva 2007, kernel 2.6.17-6mdv (re-compiled, but no patches)

Key to getting this working seems to have been the VBERestore option in /etc/X11/xorg.conf :
Section "Device"
Identifier "device1"
BoardName "Intel 945"
Driver "i810"

# Option "DPMS"
Option "BackingStore" "true"

Option "VBERestore" "true"

Now, suspend from the KDE battery applet works. Power button blinks while suspended. On pressing the power button, there is a little disk activity, but no video. Then press ctl-alt-F8, followed by ctl-alt-F7. X comes right back up in 1400x1050 mode. Intel ipw3945 wireless re-establishes a connection. Only problem is the touchpad is non-responsive after resume. Anyone know how to fix that?
Old 01-07-2007, 04:28 PM   #7
LQ Newbie
Registered: Nov 2005
Location: BC, Canada
Posts: 26

Rep: Reputation: 15
Ok, after resuming from S3 suspend, if I manually remove and re-load module psmouse the touchpad works. BUT, when I add the line:


to /etc/sysconfig/suspend which should make the script /etc/sysconfig/suspend-scripts/suspend.d/modules do that for me, it doesn't work. What's going on here??!!


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
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 08:58 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM
laptop suspend/resume zchoyt Fedora 0 10-24-2005 10:21 PM
Can't resume from ACPI S3 suspend cdhgee Fedora 3 08-18-2005 02:39 AM
ssh ->suspend and resume... alaios Linux - Networking 4 01-10-2005 11:57 PM

All times are GMT -5. The time now is 06:59 PM.

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