Re: [Suspend-devel] [PATCH] Cleanup terminal if abort was selected

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 11 August 2007 21:08, Alon Bar-Lev wrote: > > Hello, > > Current implementation does not cleanup console settings if abort was > selected by user. > This should fix it. I prefer the appended patch. Greetings, Rafael --- suspend.c |1 + 1 file changed, 1 insertion(+) Index:

Re: [Suspend-devel] [PATCH] Speedup image writing

2007-08-15 Thread Rafael J. Wysocki
Hi, On Saturday, 11 August 2007 00:32, Couriousous wrote: > Hello > > Here is an easy way to speed up the image writing. It simply tell the kernel > to > immediatly start writing the data to disk asynchronously and not to do the > traditional > buffering. > > Mesurement: > System: pentium D8

Re: [Suspend-devel] vt switch during image write

2007-08-15 Thread Rafael J. Wysocki
On Wednesday, 8 August 2007 21:30, Tim Dijkstra wrote: > On Tue, 7 Aug 2007 01:50:12 +0300 > "Alon Bar-Lev" <[EMAIL PROTECTED]> wrote: > > > > The question is: Why cannot I switch from one vt to another during image > > write? > > I guess some lock out somewhere at freeze something... > > I will

[Suspend-devel] s2ram -i for HP NX 7010

2007-08-15 Thread Philippe Marzouk
Hello, I have this laptop: # s2ram -i This machine can be identified by: sys_vendor = "Hewlett-Packard " sys_product = "Compaq nx7010 (DU394T#ABZ) " sys_version = "F.55" bios_version = "68BAL Ver. F.55" It works correctly on Debian SID with: booting to /bin/bash no fram

Re: [Suspend-devel] [PATCH] Speedup image writing

2007-08-15 Thread Couriousous
Hello Le mercredi 15 août 2007, Rafael J. Wysocki a écrit : > Hi, > > On Saturday, 11 August 2007 00:32, Couriousous wrote: > > Hello > > > > Here is an easy way to speed up the image writing. It simply tell the > > kernel to immediatly start writing the data to disk asynchronously and > > not to

Re: [Suspend-devel] [PATCH] Speedup image writing

2007-08-15 Thread Rafael J. Wysocki
On Wednesday, 15 August 2007 17:20, Couriousous wrote: > Hello > > Le mercredi 15 août 2007, Rafael J. Wysocki a écrit : > > Hi, > > > > On Saturday, 11 August 2007 00:32, Couriousous wrote: > > > Hello > > > > > > Here is an easy way to speed up the image writing. It simply tell the > > > kernel

Re: [Suspend-devel] [PATCH] print_checksum fixup

2007-08-15 Thread Rafael J. Wysocki
On Monday, 6 August 2007 13:35, Rafael J. Wysocki wrote: > On Monday, 6 August 2007 13:00, Alon Bar-Lev wrote: > > On 8/6/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > Yes, in this context you're right, but this was not clear from the > > > original > > > post. > > > > > > Moreover, the p

Re: [Suspend-devel] [PATCH 2/6] - autoconf/automake glue - scripts

2007-08-15 Thread Rafael J. Wysocki
On Monday, 6 August 2007 11:23, Alon Bar-Lev wrote: > On Monday 06 August 2007, Pavel Machek wrote: > > > @@ -1,4 +1,4 @@ > > > -#!/bin/bash > > > +#!/bin/sh -x > > > > > > > What is "sh -x"? > > > > Good catch! > I had some issues with this script... -x allows debugging... > Here is an update

Re: [Suspend-devel] [PATCH 1/6] - autoconf/automake glue - license

2007-08-15 Thread Rafael J. Wysocki
On Monday, 6 August 2007 13:42, Alon Bar-Lev wrote: > On Monday 06 August 2007, Alon Bar-Lev wrote: > > On 8/6/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > Second, what I didn't like is not the whole idea, but the context in > > > which you > > > used the word "License". I think you jus

Re: [Suspend-devel] [PATCH 4/6] - autoconf/automake glue - encrypt conflict

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 00:14, Rafael J. Wysocki wrote: > On Friday, 3 August 2007 23:14, Alon Bar-Lev wrote: > > On Friday 03 August 2007, Rafael J. Wysocki wrote: > > > On Friday, 3 August 2007 01:15, Alon Bar-Lev wrote: > > > > > > > > encrypt variable conflict with glibc::encrypt() > > > >

Re: [Suspend-devel] [PATCH 6/6] - autoconf/automake glue - s2ram

2007-08-15 Thread Rafael J. Wysocki
On Sunday, 5 August 2007 19:48, Pavel Machek wrote: > Hi! > > > > 1. Move main() out of s2ram.c into s2ram-main.c, this will enable s2ram.o > > > to be included > > > in both s2ram and s2both without recompilation. > > > > > > 2. Split whitelist.c into whitelist.h/whitelist.c as including .c is

Re: [Suspend-devel] [PATCH] Speedup image writing

2007-08-15 Thread Luca
On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Wednesday, 15 August 2007 17:20, Couriousous wrote: > > Hello > > > > Le mercredi 15 août 2007, Rafael J. Wysocki a écrit: > > > Hi, > > > > > > On Saturday, 11 August 2007 00:32, Couriousous wrote: > > > > Hello > > > > > > > > Here is

Re: [Suspend-devel] [PATCH 5/6] - autoconf/automake glue - config.* rename

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 00:13, Rafael J. Wysocki wrote: > On Friday, 3 August 2007 18:36, Alon Bar-Lev wrote: > > On Friday 03 August 2007, Rafael J. Wysocki wrote: > > > On Friday, 3 August 2007 01:16, Alon Bar-Lev wrote: > > > > > > > > config.* conflicts with autoconf files. > > > > Rename t

Re: [Suspend-devel] [rft] Kill junk from s2ram resume paths

2007-08-15 Thread Rafael J. Wysocki
On Tuesday, 31 July 2007 16:01, Pavel Machek wrote: > Hi! > > > > > > # Running in *copy* of this code, somewhere in low 1MB. > > > > > > > > > > - movb$0xa1, %al ; outb %al, $0x80 > > > > > > > > Well, what was this for? > > > > > > Debugging leds on port 80. I still have that

Re: [Suspend-devel] [PATCH] Do not manually calculate config elements

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 14:51, Alon Bar-Lev wrote: > > This allows you to specify an array of config_par, ending it with NULL > name, so that you don't have to calculate the number of entries manually. I have applied the patch. Greetings, Rafael --

Re: [Suspend-devel] [PATCH] Speedup image writing

2007-08-15 Thread Rafael J. Wysocki
On Wednesday, 15 August 2007 18:43, Luca wrote: > On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > On Wednesday, 15 August 2007 17:20, Couriousous wrote: > > > Hello > > > > > > Le mercredi 15 août 2007, Rafael J. Wysocki a écrit: > > > > Hi, > > > > > > > > On Saturday, 11 August 2007

Re: [Suspend-devel] [PATCH] Enable splash setting via command-line

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 23:17, Alon Bar-Lev wrote: > > Hello, > > This patch adds --splash argument to s2both, s2disk, resume. > It is required especially for resume when you want to disable splash in > initramfs > as result of kernel parameter, even if it usually turned on on suspend.conf >

[Suspend-devel] Use the same naming conventions as in our documentation (contact gregro or ralphw for a summary of those conventions).

2007-08-15 Thread qsz Homich
T'h i+s g'e m is re.ally movab-l,e!! T'h'i's o-n+e is real ly profi_ta'ble!!! H-a*v.e y,o.u b-e e_n watc h_ing t.h+i's f-o r t'h.e l_a+s't w+e_e.k ? T,a-k+e a l*o*o.k at it: rec*ent n-e.w,s rel ease s s-e-n*t gen_erati'ng gr,owing i.nte,rest in C,Y-T-V C-ompa+ny: C_HINA YOU_TV C.O*R,P ( O+T_

Re: [Suspend-devel] [PATCH] Enable splash setting via command-line

2007-08-15 Thread Tim Dijkstra
On Wed, 15 Aug 2007 19:30:27 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Saturday, 4 August 2007 23:17, Alon Bar-Lev wrote: > > > > Hello, > > > > This patch adds --splash argument to s2both, s2disk, resume. > > It is required especially for resume when you want to disable splash i

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 14:35, Alon Bar-Lev wrote: > On Saturday 04 August 2007, Alon Bar-Lev wrote: > > > > Hello Rafael, > > > > This is *UNTESTED* suggestion for switching into lzo without the memcpy. > > Please see if I missed something as I the code combination of global > > variables, >

[Suspend-devel] s2ram - Asus W3A

2007-08-15 Thread Brent Walker
Hi, The default s2ram configuration works on Ubuntu 7.0.4 (Fesity) out of the box on my laptop, that is, just s2ram -f Also, all three of the following work: s2ram -f -a 1 s2ram -f -a 2 s2ram -f -a 3 s2ram -i This machine can be identified by: sys_vendor = "ASUSTeK Computer INC." sys

Re: [Suspend-devel] [PATCH] Cleanup terminal if abort was selected

2007-08-15 Thread Alon Bar-Lev
On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Saturday, 11 August 2007 21:08, Alon Bar-Lev wrote: > > > > Hello, > > > > Current implementation does not cleanup console settings if abort was > > selected by user. > > This should fix it. > > I prefer the appended patch. One of the k

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-15 Thread Alon Bar-Lev
On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > You can malloc as much as you wish at initialization directly into > > the pointers... I just don't understand what may go wrong if you do this... > > Nothing, really. I prefer to have two global pointers and one contiguous > memory area