LinuxQuestions.org
Visit Jeremy's Blog.
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 11-02-2007, 10:03 AM   #1
zimz
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Suspend/hibernate prob. HP 6420


Hello there folks!
I'm pretty new to Linux, and I love it! But unfortunately I'm having a problem with suspend/hibernate, both in LinuxMint and Zenwalk... Tried a lot of things, but haven't got to far. Soo, I'm just wondering if you guys have any suggestions?
Maybe someone has the same laptop or something...?

-zimz-
 
Old 11-02-2007, 03:43 PM   #2
vatten
Member
 
Registered: Apr 2005
Posts: 30

Rep: Reputation: 15
If you are using the closed driver fglrx for your ati card you might have do unload fglrx before suspending
Code:
sudo rmmod fglrx
This worked for me when having the same problem.
you can also check what states your computer supports
Code:
cat /sys/power/state
And if you have support for mem or and disk it should work
You can also try suspending manually
Code:
sudo echo mem > /sys/power/state
to suspend to memory or
Code:
sudo echo disk > /sys/power/state
to hibernate to disk


I hope this will work for you, and as i said i think it is the fglrx driver. I tried the latest driver for ati and didn't have that problem.
 
Old 11-03-2007, 06:14 AM   #3
zimz
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hi, again! Thank's, but it's still not working. The graphics card is a Nvidia tough. When I typed in
Code:
cat /sys/power/state
it said mem disk. Tried to suspend manually, but then I just got "Permission denied".

-zimz-
 
Old 11-03-2007, 09:50 AM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I hibernate my notebooks (various types, various graphic-chips) with a little script (I know there are hibernate scripts too, but I do not need these scripts):

Code:
#!/bin/sh
# switch to virtual terminal 1 to avoid graphics
# corruption in X
chvt 1
/sbin/hwclock --systohc

# write all unwritten data (just in case)
sync

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

/sbin/hwclock --hctosys

# switch back to tty7
chvt 7
Make it executable and run it as root or as user with "sudo" and the correct line in /etc/sudoers.

If you have a NVIDIA graphic card/chip, please add to your device section the line:

Code:
Option "nvAGP" "1"
So the notebook will come back to tty7.

In your bootloader configuration have to be the append "resume=/dev/your_swap_partition" or if you use suspend2 "resume=swap:/dev/your_swap_partition".

Fluxx.
 
  


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
how to configure gnome suspend and hibernate? xaos5 Debian 6 02-19-2010 10:36 AM
Possible Suspend/HIbernate fix angryfirelord Linux - Hardware 0 07-20-2007 06:46 PM
Suspend and HIbernate mode in Linux. saurabh777 Linux - General 1 04-18-2006 09:13 PM
Suspend/Hibernate in Fedora/Suse Anmol Linux - Laptop and Netbook 0 03-24-2004 04:23 AM
suspend a.k.a hibernate on kernel 2.6, how to use it? demmylls Linux - General 1 03-06-2004 12:06 PM

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

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

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