View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 57 posts ] 
Go to page Previous  1, 2, 3, 4

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Apr 18, 2006 2:37 am 
Offline
Joined: Wed Apr 20, 2005 7:50 pm
Posts: 35
Location: Germany
Finally I managed to hibernate my system. It's not as fast as I hoped, but my system is very slow and it has to restart X and knoppmythfrontend. So the speedup is just factor 2. (approx. 90s)
For all people which graphicscard doesn't support standby here is a short introduction.
At first I changed the debian runlevel 3 in such a manner, that it shutdown the graphical system and lircd.
After the wakeup the system returns to the default runlevel 2.

Code:
rm /etc/rc3.d/S20lirc /etc/rc3.d/S99gdm
cp /etc/rc0.d/K20lirc /etc/rc3.d
cp /etc/rc0.d/K99gdm /etc/rc3.d
echo "#Shutdown system
init 3
sleep 5
rmmod lirc_i2c
rmmod lirc_dev
hibernate
# start system
modprobe lirc_dev
modprobe lirc_i2c
init 2" > /usr/bin/down.sh
chmod +x down.sh


That's it. Just run down.sh if you want to hibernate the system.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 28, 2006 11:49 am 
Offline
Joined: Sun Apr 23, 2006 4:45 pm
Posts: 14
Xsecrets wrote:
seems like the very latest driver added support for suspend to ram or sleep or hibernate or something like this that might be relevant here. There is a thread on how to install it. The standard scripts no longer work since nvidia deprecated our install method.

Can you point me/us to the thread? Can't find it :(


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 28, 2006 12:18 pm 
Offline
Joined: Wed Apr 20, 2005 7:50 pm
Posts: 35
Location: Germany
hansaplast wrote:
Can you point me/us to the thread? Can't find it :(


Then you did not search serious enough.
It's a sticky in the Linux forum.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 28, 2006 1:25 pm 
Offline
Joined: Sun Apr 23, 2006 4:45 pm
Posts: 14
bube wrote:
Then you did not search serious enough.
It's a sticky in the Linux forum.

:oops: Oops its the top one
Thats what you get if you just use the search without the right keywords (nvidia hibernate).
Thanks though :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 20, 2006 7:56 am 
Offline
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location: UK
I am running R5B7, and following cesman's instructions my PC gets as far as

Saving Atomics (or somthing like that) and then just sits there.

Is that a good thing :?

Assuming not any handy hints ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 20, 2006 8:12 am 
Offline
Joined: Sun Apr 23, 2006 4:45 pm
Posts: 14
red321 wrote:
Saving Atomics (or somthing like that) and then just sits there.

Is that a good thing :?

Nope it's not. Are you using an nVidea card? If you do edit /etc/X11/XF86Config-4
Browse to the Section "Device" and add the option:
Code:
Option      "NvAGP"     "1"

If that still doesn't work, try blacklisting the nvidia modules in /etc/hotplug/blacklist
There's a topic on blacklisting in the ubuntu forum. You can check it out here:
http://ubuntuforums.org/showpost.php?p= ... stcount=21

Let us know how it went.
Regards.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 21, 2006 1:58 pm 
Offline
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location: UK
Thanks for the reply.

No, I have a matrox g400 in that machine. Any way to find what it "sticks" on log file or somthing ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 4:03 am 
Offline
Joined: Sun Apr 23, 2006 4:45 pm
Posts: 14
Usualy you can see whats wrong on the terminal or via dmesg and /var/log/syslog.
But since your system hangs its a little difficult to figure out whats wrong.
Perhaps you should subscribe to the Suspend2-users mailinglist. Also try searching the archive http://lists.suspend2.net/lurker/list/s ... users.html
There are lots of mails in it regarding this topic


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 15, 2006 10:59 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I have managed to get suspend to ram working on my Toshiba Satellite notebook. If I type [code]echo -n mem > /sys/power/state[/code] as root (either in text mode or in an X-terminal), the system goes right to sleep and comes back up with a push of the power button. :D

My next goal is to get this to work from the remote. Question one is can I change the shut down and power off option (after hitting esc) so that it sleeps instead of powering off? I tried changing the halt command in the setup but I think I dont have permission to do this from there as I am not root. I think I can do this from a script that is called by lirc but it would be nice to do it from within Myth is possible. Any thoughts?

Also (harder question) is there a way to make the system wake up from my USB remote? It is a Microsoft MCE remote with USB interface?

Thanks for any help anyone can give.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 2:25 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Well I have tried making a script that I call gotosleep.sh. In it I put the echo mem command followed by two other echos to switch the notebook's LCD off and the TV Out on.

This work well when I run it as root. When I try to run it as user mythtv from X, the script executes but I get permission errors for each of the echo commands. I have the script with owner as root and made it executable by others.

I am a slow moving noobie with Linux so I can somone give me some help on how to run a script with root privledges.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 8:07 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
I tried to use suspend to ram on my r5.5 system. When I "echo mem > /sys/power/state", the system suspends and then immediately comes back to life. When I "echo standby > /sys/power/state", the system suspends to ram and powers down. It then wakes back up at the time I set the ACPI wakeup timer to, but the system is in a funky state:

1. Can't get any kind of out on the display.
2. Things will sometimes freeze up for 10-20 seconds in my putty sessions.
3. "top -d" sometimes shows 432% cpu going to various processes.

So it looks like the resume isn't "clean".

Are others seeing similar issues?

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 12:55 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
Some modules/drivers don't suspend/resume well on their own. I don't have a handy list, because resume problems seem to be due to all kinds of causes, each with their own solution specific to the hardware. In any case, maybe these resources will help you work around some of the strangeness, or at least get a better idea of where to look next:

http://www.linuxquestions.org/questions ... or-474871/

http://www.thinkwiki.org/wiki/Problems_ ... end-to-ram

http://bbs.archlinux.org/viewtopic.php?pid=391896

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ] 
Go to page Previous  1, 2, 3, 4



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu