Re: sleeping the system vs hibernate or suspend

2011-02-15 Thread briand
On Thu, 6 Jan 2011 17:40:53 -0800 wrote: > On Thu, 06 Jan 2011 10:10:03 -0600 > Hugo Vanwoerkom wrote: > > > > >>> I'll be darned... 'acpitool -s' *works from a VT* (not from X). > > >>> Except I get this from alsa when KUSC is playing with mplayer: > > >>> > > > > > > works from X for me. I

Re: sleeping the system vs hibernate or suspend

2011-01-06 Thread briand
On Thu, 06 Jan 2011 10:10:03 -0600 Hugo Vanwoerkom wrote: > >>> I'll be darned... 'acpitool -s' *works from a VT* (not from X). > >>> Except I get this from alsa when KUSC is playing with mplayer: > >>> > > > > works from X for me. I was *shocked* when I tried it the first time > > and it work

Re: sleeping the system vs hibernate or suspend

2011-01-06 Thread Hugo Vanwoerkom
bri...@aracnet.com wrote: On Wed, 05 Jan 2011 12:08:27 -0600 Hugo Vanwoerkom wrote: Hugo Vanwoerkom wrote: Hugo Vanwoerkom wrote: bri...@aracnet.com wrote: On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: On Sun, Jan 2, 2011 at 1:18 PM, wrote: ... Someone posted (to this list)

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread briand
On Wed, 05 Jan 2011 12:08:27 -0600 Hugo Vanwoerkom wrote: > Hugo Vanwoerkom wrote: > > Hugo Vanwoerkom wrote: > >> bri...@aracnet.com wrote: > >>> On Mon, 3 Jan 2011 08:44:22 -0600 > >>> Javier Vasquez wrote: > >>> > On Sun, Jan 2, 2011 at 1:18 PM, wrote: > > ... > > Someone poste

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Chris Jones
On Wed, Jan 05, 2011 at 01:08:27PM EST, Hugo Vanwoerkom wrote: > Hugo Vanwoerkom wrote: >> Hugo Vanwoerkom wrote: [..] >> When I issue 'acpitool -s' from konsole on X, the system does not shut >> down right and does not resume but boots with the 4 disks messed up. >> > > But sad to say it only

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Hugo Vanwoerkom
Hugo Vanwoerkom wrote: Hugo Vanwoerkom wrote: bri...@aracnet.com wrote: On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: On Sun, Jan 2, 2011 at 1:18 PM, wrote: ... Someone posted (to this list) a simple command line for sleeping the system. ... acpitool -S => suspend to disk (h

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Camaleón
On Wed, 05 Jan 2011 11:12:26 -0500, Toan Pham wrote: > Here is the ref. Please read paragraph at section "how much swap do i > need?". This article is pretty good for those who want to understand > swap space. > > > https://help.ubuntu.com/community/SwapFaq Uh? :-? Ah, now I realize what you

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Hugo Vanwoerkom
Hugo Vanwoerkom wrote: bri...@aracnet.com wrote: On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: On Sun, Jan 2, 2011 at 1:18 PM, wrote: ... Someone posted (to this list) a simple command line for sleeping the system. ... acpitool -S => suspend to disk (hibernate) => Puts mach

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Toan Pham
Here is the ref. Please read paragraph at section "how much swap do i need?". This article is pretty good for those who want to understand swap space. https://help.ubuntu.com/community/SwapFaq Sorry that i reference a Ubuntu source on this Debian mailing list. -toan -- To UNSUBSCRIBE,

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Camaleón
On Wed, 05 Jan 2011 10:01:47 -0500, Toan Pham wrote: > camaleon, > > > FYI, that is a recommended setting. What are your sources? :-) Last time I checked, in order to hibernate the computer you needed at least the same amount of ram your computer had but I know nothing about that x2 rule s

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Toan Pham
camaleon, FYI, that is a recommended setting. Optimal values depends on multiple factors such as: 1. total amount of physical ram, 2. percentage of actual utilized ram, 3. average cached size to swap partition etc. -toan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org wit

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Camaleón
On Tue, 04 Jan 2011 15:11:38 -0500, Toan Pham wrote: >> Twice? Why? I thought it should be at least the same size :-) >> >> I think nowadays you can even hibernate with no swap partition at all >> but using a swap file. > > The state of a running system is not just RAM. It is what is in the > cu

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread briand
On Tue, 04 Jan 2011 11:15:12 -0600 Hugo Vanwoerkom wrote: > bri...@aracnet.com wrote: > > On Mon, 3 Jan 2011 08:44:22 -0600 > > Javier Vasquez wrote: > > > >> On Sun, Jan 2, 2011 at 1:18 PM, wrote: > >>> ... > >>> Someone posted (to this list) a simple command line for sleeping > >>> the syst

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Mark
On Tue, Jan 4, 2011 at 1:44 PM, Toan Pham wrote: > > On my system running kernel 2.6.32-21, both S3 and S4 work perfectly. > > However, on my other system running kernel 2.6.36-x, both S3 and S4 > failed, giving results similar to your log. > FWIW, I've had good luck using the uswsusp package, s

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
> "Suspend to memory (S3) works on my system under both 2.6.32-5-686 and 2.6.36-2.dmz.5-liquorix-686 kernels. Hibernate to drive (S4) doesn't even try under 2.6.36-2.dmz.5-liquorix-686, as expected. However, Hibernate executes under 2.6.32-5-686, only to abort and return to a running system. The

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Freeman
On Mon, Jan 03, 2011 at 08:44:22AM -0600, Javier Vasquez wrote: > On Sun, Jan 2, 2011 at 1:18 PM, wrote: > > ... > > Someone posted (to this list) a simple command line for sleeping the > > system. > > > > ... > > acpitool -S => suspend to disk (hibernate) => Puts machine into S4. > acpitool

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
> Twice? Why? I thought it should be at least the same size :-) > > I think nowadays you can even hibernate with no swap partition at all but > using a swap file. The state of a running system is not just RAM. It is what is in the current swapped filesystem + ram content + video ram. yes you can

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Camaleón
On Tue, 04 Jan 2011 13:28:11 -0500, Toan Pham wrote: > Just a side note. > > if you want to do S4, make sure that you have swap enabled. And that > your swap partition is recommended to be twice the size of your physical > ram. Twice? Why? I thought it should be at least the same size :-) I th

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
Just a side note. if you want to do S4, make sure that you have swap enabled. And that your swap partition is recommended to be twice the size of your physical ram. On some systems with nvidia or ATI video cards wont allow system to go to suspend/hibernation. You can try to unload xorg server

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Hugo Vanwoerkom
bri...@aracnet.com wrote: On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: On Sun, Jan 2, 2011 at 1:18 PM, wrote: ... Someone posted (to this list) a simple command line for sleeping the system. ... acpitool -S => suspend to disk (hibernate) => Puts machine into S4. acpitool -s

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread Camaleón
On Mon, 03 Jan 2011 22:23:20 +0800, MASOKIS wrote: > On Mon, Jan 3, 2011 at 8:24 PM, Camaleón wrote: >> On Sun, 02 Jan 2011 11:18:40 -0800, briand wrote: >> >>> Someone posted (to this list) a simple command line for sleeping the >>> system. >>> >>> Sleeping, to me, is separate from hibernate or s

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread briand
On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: > On Sun, Jan 2, 2011 at 1:18 PM, wrote: > > ... > > Someone posted (to this list) a simple command line for sleeping the > > system. > > > > ... > > acpitool -S => suspend to disk (hibernate) => Puts machine into > S4. acpitool -s =

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread briand
On Mon, 3 Jan 2011 08:44:22 -0600 Javier Vasquez wrote: > On Sun, Jan 2, 2011 at 1:18 PM, wrote: > > ... > > Someone posted (to this list) a simple command line for sleeping the > > system. > > > > ... > > acpitool -S => suspend to disk (hibernate) => Puts machine into > S4. acpitool -s =

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread Javier Vasquez
On Sun, Jan 2, 2011 at 1:18 PM, wrote: > ... > Someone posted (to this list) a simple command line for sleeping the > system. > > ... acpitool -S => suspend to disk (hibernate) => Puts machine into S4. acpitool -s => suspend to ram (sleep) => Puts machine into S3. man acpitool P

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread MASOKIS
how about using "halt"... On Mon, Jan 3, 2011 at 8:24 PM, Camaleón wrote: > On Sun, 02 Jan 2011 11:18:40 -0800, briand wrote: > >> Someone posted (to this list) a simple command line for sleeping the >> system. >> >> Sleeping, to me, is separate from hibernate or suspend which tries and >> save t

Re: sleeping the system vs hibernate or suspend

2011-01-03 Thread Camaleón
On Sun, 02 Jan 2011 11:18:40 -0800, briand wrote: > Someone posted (to this list) a simple command line for sleeping the > system. > > Sleeping, to me, is separate from hibernate or suspend which tries and > save the state of the machine to disk or ram. This was simply setting > the machine to l

Re: sleeping the system vs hibernate or suspend

2011-01-02 Thread Chris Jones
On Sun, Jan 02, 2011 at 02:18:40PM EST, bri...@aracnet.com wrote: > Hi, > > Someone posted (to this list) a simple command line for sleeping the > system. [..] $ xset dpms force suspend # ..? cj -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscr

Re: sleeping the system vs hibernate or suspend

2011-01-02 Thread Boyd Stephen Smith Jr.
In <20110102111840.3f39f...@bamboo.deldotd.com>, bri...@aracnet.com wrote: >Someone posted (to this list) a simple command line for sleeping the >system. > >Sleeping, to me, is separate from hibernate or suspend which tries and >save the state of the machine to disk or ram. This was simply setting

sleeping the system vs hibernate or suspend

2011-01-02 Thread briand
Hi, Someone posted (to this list) a simple command line for sleeping the system. Sleeping, to me, is separate from hibernate or suspend which tries and save the state of the machine to disk or ram. This was simply setting the machine to low power state. I've been going through the list archives