LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices


Reply
  Search this Thread
Old 04-24-2006, 03:45 PM   #16
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62

Sorry for bringing up a long dead post, but I'm having a similar problem to that of the original poster. I've gotten suspend to RAM working fine while running X, but when I'm in the framebuffer console, I get the exact same results that they do. I'm still looking for a reason for this, and I haven't managed to find anything. Can anyone give some insight into the problem, or whether it's something that the folks working on the kernel know about?
 
Old 08-14-2006, 09:57 PM   #17
avheretic
Member
 
Registered: Oct 2005
Distribution: Slackware 11
Posts: 45

Rep: Reputation: 15
I had the same problem but after compiling the kernel with most USB options under 'Device Drivers -> USB Support' being compiled as modules and unloading thenm while suspending resulted in suspend working perfectly with the following script : (Note - vbetool is used to get the LCD to turn back on)

Code:
#!/bin/sh

# switch to virtual terminal 1 to avoid graphics
# corruption in X
chvt 1

#remove modules
rmmod uhci_hcd 
rmmod ehci_hcd

# write all unwritten data (just in case)
sync

# suspend display
vbetool vbestate save > /tmp/db
vbetool dpms suspend

# suspend
echo -n mem > /sys/power/state

# resume display
vbetool vbestate restore < /tmp/db
vbetool dpms on

modprobe ehci_hcd
modprobe uhci_hcd

rm /tmp/db
# switch back to virtual terminal 7 (running X)
chvt 7
I hope this works for you guys. I had to bust my ass to try and get this working and will be very glad to know that it helped others.
 
  


Reply



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 to RAM/HD question Lake-end Linux - Laptop and Netbook 6 07-05-2005 01:10 AM
Suspend to Ram - Debian Sarge pjpeter Linux - Newbie 3 06-26-2005 06:27 PM
suspend to ram works at last!!!! jwn7 Linux - Laptop and Netbook 4 03-31-2005 06:42 AM
FC2: suspend-to-ram changes clock? anandj Linux - Laptop and Netbook 7 03-02-2005 09:51 AM
Suspend to RAM in LInuX enigma82 Linux - Hardware 7 09-29-2004 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration