Re: [Suspend-devel] [PATCH 6/6] - autoconf/automake glue - s2ram
On Fri, Aug 03, 2007 at 01:45:20PM +0200, Rafael J. Wysocki wrote: On Friday, 3 August 2007 01:18, Alon Bar-Lev wrote: 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 none standard/unsupported. These changes have to be looked at by Pavel and Stefan. I don't care too much, although i think this is much too much actually changed code for just automake conversion. I mean - this is configuration stuff, why do we need to reorder whitelist.[hc]? I guess i know the answer - and now you know why everybody hates auto$foo ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Asus A2D
On Thu, Aug 02, 2007 at 10:14:42AM +0200, Jean-Baptiste BUTET wrote: Hi all :) I'm trying suspend my laptop and have time to do this. I've try some tricks but can't manage having a good suspend to ram. ### [EMAIL PROTECTED] jb]# s2ram -i This machine can be identified by: sys_vendor = ASUSTeK Computer Inc. sys_product = A2D sys_version = 1.0 bios_version = 0204 ### 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] ### [EMAIL PROTECTED] jb]# uname -r 2.6.22.1-tmb-laptop-2mdv ### So, by reading pm-suspend and s2ram page, I've tried vga=0 on boot. It's my default yet : with this, I can s2ram on console without any pb. I got a report from Julien Puydt which i commited on 2007-02-13 to CVS, and he got it working with -a 3, and probably without vga=0. http://thread.gmane.org/gmane.linux.kernel.suspend.devel/1553 He seems to have a different BIOS version, so upgrading your BIOS might also be worth a try. But, I have some pb with graphical. Symptoms : display corruption, with sometimes 99% of screen but dirty colour and sometimes just 40 % ;) what can I try (order please) with s2ram in order to suspend well ;) See the s2ram page (http://en.opensuse.org/S2ram, there is also a page on suspend.sf.net). -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [rft] Kill junk from s2ram resume paths
On Tue, Jul 31, 2007 at 04:43:34PM +0200, Stefan Seyfried wrote: On Tue, Jul 31, 2007 at 04:01:40PM +0200, 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 card somewhere :-). Interesting parties can reinsert it. Ah, I see. Hmm, can you please write about that in the chanelog more explicitly? Or just comment it out with a uncomment this to get ... text? I still need someone with x86-64 to test it for me before I submit it properly ;-). Updated patch follows. Compiling right now. Worked well on my x86_64 testmachine (a 64bit Thinkpad), worked before and after the patch with 2.6.23-rc1. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram whitelist for toshiba p200-14o
On Mon, Jul 30, 2007 at 06:50:39PM +0200, mire wrote: hello, I found a commandline that works for my laptop (I'm using ubuntu feisty) s2ram -f -a3 s2ram --test Machine is unknown. This machine can be identified by: sys_vendor = TOSHIBA sys_product = Satellite P200 sys_version = PSPB0E-01900JG3 bios_version = V1.40 Ok, added to the list. can I whitelist this myself somehow, like editing some config text file? I'm not totally sure about how to configure it in ubuntu, but you can probably put it in a config file for pm-utils in /etc/pm/config.d/ e.g. an /etc/pm/config.d/config with the content S2RAM_OPTS=-f -a3 But Tim needs to confirm that. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Thinkpad 600e s2ram
On Tue, Jul 31, 2007 at 09:23:39AM +0300, George Tellalov wrote: Stefan Seyfried wrote: On Fri, Jul 27, 2007 at 11:08:26AM +0300, George Tellalov wrote: Hello, I have a Thinkpad 600e and I've found that s2ram sort of works. It needs -f -p -m or otherwise the vga mode is messed up. Does it also work with -a 3? Most of the slightly newer Thinkpads work fine with -a 3. -a 3 results in a hard lock with caps lock and scroll lock blinking Ok, so i have added it to the whitelist with -p -m. Thanks for testing -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [rft] Kill junk from s2ram resume paths
On Tue, Jul 31, 2007 at 04:01:40PM +0200, 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 card somewhere :-). Interesting parties can reinsert it. Ah, I see. Hmm, can you please write about that in the chanelog more explicitly? Or just comment it out with a uncomment this to get ... text? I still need someone with x86-64 to test it for me before I submit it properly ;-). Updated patch follows. Compiling right now. Pavel diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S index 1415da1..9cebef7 100644 --- a/arch/i386/kernel/acpi/wakeup.S +++ b/arch/i386/kernel/acpi/wakeup.S @@ -28,21 +28,6 @@ #define BEEP \ movb$15, %al; \ outb%al, $66; -#define BEEP \ - inb $97, %al; \ - outb%al, $0x80; \ - movb$3, %al;\ - outb%al, $97; \ - outb%al, $0x80; \ - movb$-74, %al; \ - outb%al, $67; \ - outb%al, $0x80; \ - movb$-119, %al; \ - outb%al, $66; \ - outb%al, $0x80; \ - movb$15, %al; \ - outb%al, $66; - ALIGN .align 4096 ENTRY(wakeup_start) This hunk rejected for me (against 2.6.23-rc1), but i'm testing x86_64, so it did not matter ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
[Suspend-devel] fixed a brown-paper-bag bug
Hi, next time, i will test on an affected machine :-) This is already checked in: Index: s2ram-x86.c === RCS file: /cvsroot/suspend/suspend/s2ram-x86.c,v retrieving revision 1.6 retrieving revision 1.7 diff -p -U5 -r1.6 -r1.7 --- s2ram-x86.c 19 Jul 2007 13:28:47 - 1.6 +++ s2ram-x86.c 31 Jul 2007 12:32:41 - 1.7 @@ -69,20 +69,23 @@ void identify_machine(void) } static int set_acpi_video_mode(int mode) { unsigned long acpi_video_flags; - FILE *f = fopen(/proc/sys/kernel/acpi_video_flags, rw); + FILE *f = fopen(/proc/sys/kernel/acpi_video_flags, r); if (!f) { printf(/proc/sys/kernel/acpi_video_flags does not exist; you need a kernel =2.6.16.\n); return S2RAM_FAIL; } /* read the old setting from /proc */ if (fscanf(f, %ld, acpi_video_flags) != 1) { printf(/proc/sys/kernel/acpi_video_flags format is invalid\n); return S2RAM_FAIL; } + /* rewind() seems not to work on /proc files, so close and reopen it */ + fclose(f); + f = fopen(/proc/sys/kernel/acpi_video_flags, w); /* mask out bits 0 and 1 */ acpi_video_flags = acpi_video_flags (~0UL - S3_BIOS - S3_MODE); fprintf(f, %ld, acpi_video_flags | mode); fflush(f); fclose(f); This caused the acpi_video_flags to not get written at all, so if you get reports about no longer working suspend, make sure these users use the latest code. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] 32-vs-64 bit affects quirks (was Re: Working but not in list)
On Tue, Jul 31, 2007 at 01:55:28PM +0200, Pavel Machek wrote: Hi! Hmm, yes, I guess I want to now. So you have thinkpad that is broken with -a1 -m, in 64-bit mode only? And no other differences? (Like, same kernel framebuffer driver, both time from console?) I have a thinkpad on my desk (T61 with intel graphics) that is broken with -a 3 in 64bit mode only (works in 32bit mode). It does, however, work with -a 1 -m in both modes. Everything else is pretty much the same. Oh - and -p -m does not work in both modes. Could you try removing call verify_cpu from x86-64 wakeup.S? That's only significant difference I can see... ...hmm, and we may need a bigger stack space on x86-64... I just verified it, and found out, that only on an old kernel (2.6.16.46) -a 1 -m was necessary on 64bit, newer kernels (2.6.22 and 2.6.23-rc1) worked fine with -a 3. So recent kernels might have this already fixed. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] STR resume failure on HP Pavilion dv5000
On Tue, Jul 31, 2007 at 01:02:43PM +0530, Arun Raghavan wrote: Surprise of surprises, resume almost works in 2.6.23-rc1! I didn't get any beeping (my laptop might not have a beeping thing), but the machine does resume, except the LCD doesn't come back on. I'm attaching a file (all-options) with all the flags I've tried. None of these worked for me. I'm missing the -p -m combination. Also, if you are using a framebuffer ... no, you are not. Hm, in this case, -p should be mostly the same as -p -m, so i also don't have an idea what could help you. Trying 10+ different sets of options is really painful, so I've made a little script to automate the process. It tries each of a set of options from a given file in series. I'm attaching both of these (also mirrored at http://nemesis.accosted.net/downloads/s2ram-test.tar.gz) in the hope that someone finds them useful, despite the hackiness. I just make the default Grub option my 2.6.23-rc1 kernel with init=/root/s2ram-test/s2ram-test.sh, and then the only manual intervention required is hitting a key to wake the machine up after suspend. Feedback on the script is welcome. Also, the list of options used is pretty much arbitrary. Can someone in the know please review them, add/remove relevant options and reorder them by priority? I've updated my BIOS now (F.15 to F.23), and if someone can tell me the right set of options and the right order, I'll give the whole thing another go. Well, there is a list of option combinations on http://en.opensuse.org/S2ram which also indicate the ordering i usually prefer :-) Maybe your X driver also knows how to reactivate the display, so trying it from X might be worth a try. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] wrong title, T61 works with -a1
On Mon, Jul 30, 2007 at 03:31:43AM +, Joe Nahmias wrote: On Tue, Jul 17, 2007 at 05:00:42PM +0200, Stefan Seyfried wrote: But -a3 works, too? Then i'd take that one, since most thinkpads work well with -a 3 and i'd like to avoid too many special cases. Yes, -a3 works as well. Verified both in console and X. Thanks, Thanks for confirming, added to the whitelist. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] 32-vs-64 bit affects quirks (was Re: Working but not in list)
On Fri, Jul 27, 2007 at 07:41:27PM +0200, Pavel Machek wrote: Hmm, yes, I guess I want to now. So you have thinkpad that is broken with -a1 -m, in 64-bit mode only? And no other differences? (Like, same kernel framebuffer driver, both time from console?) I have a thinkpad on my desk (T61 with intel graphics) that is broken with -a 3 in 64bit mode only (works in 32bit mode). It does, however, work with -a 1 -m in both modes. Everything else is pretty much the same. Oh - and -p -m does not work in both modes. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] 32-vs-64 bit affects quirks (was Re: Working but not in list)
On Sun, Jul 29, 2007 at 10:54:01PM +0200, Hendrik-Jan Heins wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Pavel, list, Today I did some extensive testing with both i386 and amd64 in the X61s. The results are somewhat surprising (yes, to me too). First: I currently use BIOS version 1.06 (the newest Lenovo currently offers). When I started testing, and when I sent you the first e-mail, I used version 1.01. With that version other settings were needed for suspend. Currently I think for amd64 s2ram -f -m works best. s2ram -f -a1 also seems to work. You could try s2ram -f -a1 -m, which would be somewhat consistent with what i saw working on other 64bit thinkpads. For i386 the situation is a bit more complicated; as I said, I have issues with getting the backlight back on after suspend. Basically this problem exists with all parameters I tested. s2ram -f -m which works for amd64, doesn't seem to work for i386 (no backlight). s2ram -f -a1 seems to yield the best results. So far I've had it back from suspend in all cases (9 tries). Over all s2ram -f -a1 seems to be the one that always works. Ah yes, I'm currently using kernel 2.6.22.1 If you need me to do more testing, please tell me. If you could do some cycles with -a 1 -m on both i386 and x86_64, this would be great. Thanks for your efforts, it is really appreciated Stefan -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working but not in list
On Fri, Jul 27, 2007 at 07:38:52PM +0200, Pavel Machek wrote: If the needed quirks differ between otherwise identical i386 and x86-64 installation, I'd like to know. That means there's serious problem somewhere. Well, the '-a' quirks not working on x86_64 - that does not surprise me at all. IIUC, it is somehow surprising that they work on i386 at all, because of 16bit BIOS code -- 32bit mode kernel, isn't it? And vbetool stuff workin in one arch but not another might be due to LRMI (i386) vs x86emu (x86_64). Some people (Steffen Winterfeldt) told me to always use x86emu, even on i386, but Matthew some time ago suggested that there still might be problems in x86emu and that LRMI might work better. So if we really have a machine where x86_64 works with vbetool, and i386 does not, switching i386 to x86emu would be an option to test, unfortunately the other way round is not an option on x86_64 :-( (removed Hendrik-Jan from Cc, since he's probably not too interested in our techno-babble ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Whitelisting for ASUS M2N32-SLI DELUXE
On Sat, Jul 28, 2007 at 08:24:56PM +0200, Manuel Bernhardt wrote: Stefan Seyfried schrieb: please whitelist following board: sys_vendor = System manufacturer sys_product = System Product Name sys_version = System Version bios_version = ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1201 and sys_vendor = System manufacturer sys_product = System Product Name sys_version = System Version bios_version = ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1101 Option: -f -s -p I'd tested both bios versions and both works for me. Does it also work with -f -p -m? I test it and it looks like it works. I suspend my pc 2 times and 2 times it resumes successfully but this parameters was only tested with 1201! Ok. Judging from experience, i don't expect the board's BIOS to make a huge difference here. Added to the list. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] suspend framebuffers during s2ram
On Fri, Jul 27, 2007 at 08:45:41PM +0200, Rafael J. Wysocki wrote: On Friday, 27 July 2007 18:33, Stefan Seyfried wrote: On Fri, Jul 27, 2007 at 05:18:45PM +0200, Rafael J. Wysocki wrote: (yes, i think i know what it does; writing 1 into the state of the framebuffer device just disables any drawing - and thus any access of possibly not really initialized hardware before running vbe_post etc...) At least it seemed to do no harm in my (limited) tests. I think it can go if (1) it doesn't break any setups that currently work We will know after the next openSUSE alpha release, where i will have unleashed that patch onto the unexpecting guinea pigs^W^WopenSUSE users ;-) If i don't get a wave of bugreports, than i'll assume that it is safe. Theoretically we could protect it by another quirk-flag, but i'd rather try to avoid that. Agreed. I will also go through the kernel code and check if anything can go wrong. Yes, please do that if you can. I did try to go through the kernel code, but i'd not put my hand into the fire and guarantee that it does not do anything stupid :-) Some drivers (radeonfb and i810fb for example) are already doing this in their suspend method and it seems to work. That said, it should long-term be fixed in the kernel properly, but if we can prove from userspace that it helps some machines, then we know that it is worth the trouble. Echoing 1 into the state file simply makes the text console freeze (but apparently it is still doing stuff in the background, you can still output text etc, you just won't see it). Echoing 0 will make it paint the current screen contents. At least that was what happened in my experiments. (2) it fixes at least one box that currently doesn't work Yes, the user in the bugreport is a happy camper now :-) (he does not have the s2ram code right now, but uses the script equivalent, but unless i have put a bug into the C code, it should be equivalent). Can you ask the user to test s2ram with your patch, please? yes, i will do that once i have built and pushed a package. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] information for whitelist
On Fri, Jul 27, 2007 at 11:14:09PM +0100, Robert Hart wrote: My laptop suspends properly from both X and console without any parameters passed to s2ram. # s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = HP Pavilion dv2500 Notebook PC sys_version = F.05 bios_version = F.05 Thanks for reporting, added to the list now. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] New working machine
On Sun, Jul 29, 2007 at 02:56:12PM +0300, Antti Laine wrote: Hi. I have a HP Compaq nc4400 notebook pc which doesn't seem to be on suspend's whitelist, but works just fine with --force with the latest bios (it did not work with the old bios it had in it when a got the computer). Here is the output of s2ram -i: # s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = HP Compaq nc4400 (EY605EA#AK8) sys_version = F.09 bios_version = 68YHV Ver. F.09 See http://en.opensuse.org/S2ram for details. Ok. Does it work only from X or also from the text console? Rene Seindal reported in March that he needed s2ram -f -p -s to resume on a text console. This was with the old F.08 BIOS, though. If it does not work on the text console for you, please test s2ram -f -p -m first, then s2ram -f -p -s. Thanks for testing :-) Stefan -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Dell Inspiron E1705 / s2ram
On Sun, Jul 29, 2007 at 05:03:55PM -0500, Justin Ferguson wrote: This machine can be identified by: sys_vendor = Dell Inc. sys_product = MP061 sys_version = bios_version = A08 s2ram -f (no other arguments) works like a charm on this machine; can we get it added to the whitelist? It already should be on the list (since 2006-12-18). Is your s2ram version older than that? If not, please post the output of s2ram -n. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] 32-vs-64 bit affects quirks (was Re: Working but not in list)
On Mon, Jul 30, 2007 at 10:20:10AM +0200, Hendrik-Jan Heins wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Stefan, # s2ram -a 1 -m gives: The acpi_sleep, vbe_save, vbe_post, radeontool and pci_save parameters must be used with --force So it just won't work, I only get that message. Yes, i forgot to mention -f, sorry for that. Fortunately you found this out by yourself ;-) s2ram -f -a1 -m works, but I don't always seem to get the backlight back on with that setting. (about haf the time it does get back on, and half the time it doesn't.) Hm, too bad. Although i cannot imagine why this would happen... So far I've still had the best results with s2ram -f -a1 ... i'll whitelist your machine with -a 1 for now. Thanks for going through all those tests :-) Stefan -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH] Set cpufreq to max during suspend/resume
On Sun, Jul 22, 2007 at 10:09:50PM +0300, Alon Bar-Lev wrote: These s2ram_* funcs in the end call code from vbetool/vbetool.c which is indeed linked in. But partly I remembered it wrongly. The hacks _before_ suspend are called with an unfrozen userspace, those after on a frozen userspace. So these hacks can be removed from suspend code... And moved into the hibernate-script or pm-utils. No they can't. Because e.g. vbe_save returns a pointer to the contents of the VBE buffer which is later used for vbe_restore and thus we don't need a temporary file (which, again, might need a working disk, which you cannot always assume if you start getting a new machine ready for suspending). Anyway, i think you are just trolling from here on. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working but not in list
On Mon, Jul 23, 2007 at 07:44:10PM +0200, Hendrik-Jan Heins wrote: I just tested the following: Sidux 2007-2 (tartaros), amd64 on live cd. I loaded it to ram and installed uswsusp. next I did: s2ram -f -m -a3, three times. Every time the machine suspended correctly and woke up again on touching the Fn button. Does this help? Yes, sort of :-) If you could test if it also works on x86_64 with plain s2ram -f -a3 (without -m) since -a2 and -m _should_ be redundant. I am this picky because i only recently realized that (some?) 64bit thinkpads only resume with -a1 -m and do not correctly resume with -a 3, which means that part of the initialization must be run in the kernel (-a 1, POSTing of the card) and part of it must be run in userspace (-m, the re-setting of the VESA mode), which sounds strange, especially as running the POST from userspace (-p -m) did _not_ work. So what i'm trying is to find a pattern, because up to the 64bit processors, almost all thinkpads worked just fine with -a 3 (and most still do, as long as they are running 32bit code). -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
[Suspend-devel] suspend framebuffers during s2ram
Hi, while working on https://bugzilla.novell.com/show_bug.cgi?id=293662 and https://bugzilla.novell.com/show_bug.cgi?id=281798 it occured to me that including Ubuntu's hack in s2ram might be a good idea. It should do no harm - they are apparently doing it unconditionally on all machines. This could get some machines out of the NOFB requirement - at least the ACER mentioned in the above bugreport seems to work with framebuffers and this hack. I doubt it will help on some of the HP's with ATI, but i'd need to test that again. The hack (as the bugreporter made the minimal testcase) is basically: #!/bin/bash CONSOLE=`fgconsole` chvt 12 for x in /sys/class/graphics/*; do if [ -f $x/state ]; then echo -n 1 $x/state; fi done echo -n mem /sys/power/state vbetool post for x in /sys/class/graphics/*; do if [ -f $x/state ]; then echo -n 0 $x/state; fi done chvt $CONSOLE I have coded this into C in the following patch: Index: s2ram-x86.c === RCS file: /cvsroot/suspend/suspend/s2ram-x86.c,v retrieving revision 1.6 diff -u -p -r1.6 s2ram-x86.c --- s2ram-x86.c 19 Jul 2007 13:28:47 - 1.6 +++ s2ram-x86.c 27 Jul 2007 11:35:53 - @@ -10,6 +10,9 @@ #include stdlib.h #include errno.h #include string.h +#include sys/types.h +#include dirent.h +#include unistd.h #include pci/pci.h @@ -124,6 +127,42 @@ static int machine_match(void) return -1; } +static void fbcon_state(int state) +{ + DIR *d; + FILE *f; + struct dirent *entry; + char statefile[255]; + + if ((d = opendir(/sys/class/graphics)) == NULL) + return; + while ((entry = readdir(d)) != NULL) { + if (entry-d_name[0] == '.') + continue; + snprintf(statefile, 255, /sys/class/graphics/%s/state, entry-d_name); + if (!access(statefile, W_OK)) { + printf(fbcon %s state %d\n, entry-d_name, state); + f = fopen(statefile, w); + if (!f) { + printf(s2ram: cannot write to %s\n, statefile); + continue; + } + fprintf(f, %d, state); + fclose(f); + } + } +} + +static void suspend_fbcon(void) +{ + fbcon_state(1); +} + +static void resume_fbcon(void) +{ + fbcon_state(0); +} + int s2ram_check(int id) { int ret = S2RAM_OK; @@ -252,6 +291,7 @@ int s2ram_hacks(void) return 1; } + suspend_fbcon(); return 0; } @@ -304,6 +344,7 @@ void s2ram_resume(void) printf(Calling set_vbe_mode\n); do_set_mode(vbe_mode, 0); } + resume_fbcon(); if (flags RADEON_OFF) { printf(Calling radeon_cmd_light(1)\n); radeon_cmd_light(1); Objections? Does anybody know what i am doing here :-) ? (yes, i think i know what it does; writing 1 into the state of the framebuffer device just disables any drawing - and thus any access of possibly not really initialized hardware before running vbe_post etc...) At least it seemed to do no harm in my (limited) tests. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram: add tecra8100 to whitelist
On Thu, Jul 19, 2007 at 03:36:09PM -0400, a v wrote: $ sudo s2ram -i This machine can be identified by: sys_vendor = TOSHIBA sys_product = TECRA8100 sys_version = PT810C-11C52 bios_version = Version 2.50 it only works properly with -a 2 or adding acpi_sleep=s3_mode (same thing) to grub's menu Ok, just because i'm curious: does -a 3 also lead to a kind of melting screen-effect as on my Tecra 8200? (make sure to try this without important stuff open, since i think the machine will crash with it). I'm looking for a pattern here, since machines that fail with -a 3 and actually need -a 2 are rather exotic :-) Thanks for testing and reporting! -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Acer Aspire 3610 is not in whitelist but works perfectly
On Wed, Jul 25, 2007 at 11:45:20AM -0400, Sergei Serdyuk wrote: Hi, You may want to add this to the whitelist. s2ram works perfectly for my on Ubuntu 7.04 if I force it with the -f option. [EMAIL PROTECTED]:~$ sudo s2ram -i This machine can be identified by: sys_vendor = Acer sys_product = Aspire 3610 sys_version = 0100 bios_version = V1.13 See http://en.opensuse.org/S2ram for details. Thanks for reporting. Does it work both from the text console and from X? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] success report
On Tue, Jul 24, 2007 at 05:30:32PM +0300, Alexander Toncovidov wrote: Dear All, I'm glad to let you know that s2ram works fine on my machine running openSUSE 10.2 Here are my outputs: # uname -r 2.6.18.8-0.5-default # s2ram -i This machine can be identified by: sys_vendor = SAMSUNG ELECTRONICS CO., LTD. sys_product = R19/R20/R21 sys_version = 09SH bios_version = 10SH See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. # glxinfo OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon Xpress 1200 Series OpenGL version string: 1.2 (2.0.6473 (8.37.6)) Thanks for reporting, but i still have two questions: 1) does it work from both X and the text console? 2) what options did you need to give to s2ram? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH] Set cpufreq to max during suspend/resume
On Fri, Jul 27, 2007 at 05:52:15PM +0300, Alon Bar-Lev wrote: On 7/27/07, Stefan Seyfried [EMAIL PROTECTED] wrote: On Mon, Jul 23, 2007 at 11:25:10AM +0200, Pavel Machek wrote: Well, so user explicitely configured his machine to run on 80% max, for some reason. Now you want suspend to explicitely override his setting. That strikes me as a bad idea. Plus it does not belong to suspend. 100% ACK Life is so easy when you do have no doubt... Strong... 100%... And still i support Pavel's opinion that this does not belong into s2disk. :-) Do not take this personally - we probably have different ideas about the separation of the taks. I worked on a few different suspend frameworks over the last years, and i think i have pretty good reasons on why i am wanting it that way. There might not always be a short and obvious explanation, but believe me: i have been there and i have done that. :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH] Set cpufreq to max during suspend/resume
On Mon, Jul 23, 2007 at 11:25:10AM +0200, Pavel Machek wrote: Well, so user explicitely configured his machine to run on 80% max, for some reason. Now you want suspend to explicitely override his setting. That strikes me as a bad idea. Plus it does not belong to suspend. 100% ACK -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] STR resume failure on HP Pavilion dv5000
On Mon, Jul 23, 2007 at 12:46:04AM +0530, Arun Raghavan wrote: Hello all, For a long while now I've not been able to get suspend-to-ram to work on my HP Pavilion dv5200tx. Has anybody had any luck with this laptop model? Symptom: Suspend happens fine. On resume, there is very little activity (which I think is just the system looking at the DVD-ROM drive on startup) and then nothing happens -- the system hangs. The problem is not that of the display not returning -- *nothing* works. I have to do a hard power-off. I've tried with s2ram -f -a {1|2|3} as well as -p -s (booting with init=/bin/bash and keeping the kernel relatively minimal). Are you using a framebuffer? If yes, try booting with vga=0 for a plain VGA console. There are machines that need this. An alternative is using the following script, which _might_ also make the framebuffer work: #!/bin/sh echo 1 /sys/class/graphics/fb0/state s2ram -f -p -m # place other options here echo 0 /sys/class/graphics/fb0/state -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, N�rnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Autoconf/automake support
On Fri, Jul 27, 2007 at 06:17:30PM +0300, Alon Bar-Lev wrote: I suggested to provide the autoconf/automake support, but I don't wish to work for nothing. I for myself don't like the autofoo stuff very much and i think it is a major PITA for small projects. But i am not the one to decide this, as i am only maintaining a small piece of the code (mainly the whitelist). And as long as running autoreconf -fi; ./configure does not take longer than the actual compilation, i really don't care too much. I'd hate to see the tarball size going from 70kB to much over 100kB due to autoconf, though, but i cannot imagine that this might happen. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Thinkpad 600e s2ram
On Fri, Jul 27, 2007 at 11:08:26AM +0300, George Tellalov wrote: Hello, I have a Thinkpad 600e and I've found that s2ram sort of works. It needs -f -p -m or otherwise the vga mode is messed up. Does it also work with -a 3? Most of the slightly newer Thinkpads work fine with -a 3. Even after -p -m the X video mode is messed up but switching manually to a virtual console and back to X fixes everything. Yes, i remember something like that from long ago tests on a 600e, however, given the state of the NeoMagic X-driver, i don't think anybody can do much about that :-( This machine can be identified by: sys_vendor = IBM sys_product = 26454AU sys_version = Not Available bios_version = INET17WW See http://en.opensuse.org/S2ram for details. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Success story
On Thu, Jul 26, 2007 at 01:53:49AM +0800, Kanru Chen wrote: Hi! I tried s2ram today, and it works like a charm! My computer is identified as follows: sys_vendor = ASUSTeK Computer INC. sys_product = W3A sys_version = 1.0 bios_version = 0801 It's not in the database but I can do sudo s2ram -f and then hit the Enter key then my machine is live again! Thanks for reporting. Does it work both from the text console and from X? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH] Set cpufreq to max during suspend/resume
On Sat, Jul 21, 2007 at 11:08:30PM +0300, Alon Bar-Lev wrote: On 7/21/07, Alon Bar-Lev [EMAIL PROTECTED] wrote: On 7/21/07, Holger Macht [EMAIL PROTECTED] wrote: Right. So if we start putting things like cpufreq in the suspend package, we would have an argumentation to put everything which is in pm-utils, the hibernate script etc. to it. And I don't think this is what we want. You can put vbetool, radeontool, whitelist etc in pm-utils too... reducing the suspend/resume dependencies... hibernate-script already doing this. Don't get me wrong... I would not be offended if this not accepted... :) It is just that I think the other hacks should also be removed... as for my understanding they are running as regular process... So that the question of early/late is irrelevant, No, it's not. Not if it should work reliably. I actually worked on having the hacks all run while the other processes were frozen, just to make sure that no user accidentally pushes ALT-F7 at the wrong time. But now that they want to kill the freezer anyway, this has rather low priority. the same functionality can be handled by hibernate-script or this pm-utils. Yes, it can, as e.g. ubuntu shows, but i think it is less reliable. And a second thing - having this integrated in s2ram makes testing and reporting easier for people. I am getting very many highly qualified reports from people that just have read http://en.opensuse.org/S2ram -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] suspend framebuffers during s2ram
On Fri, Jul 27, 2007 at 05:18:45PM +0200, Rafael J. Wysocki wrote: (yes, i think i know what it does; writing 1 into the state of the framebuffer device just disables any drawing - and thus any access of possibly not really initialized hardware before running vbe_post etc...) At least it seemed to do no harm in my (limited) tests. I think it can go if (1) it doesn't break any setups that currently work We will know after the next openSUSE alpha release, where i will have unleashed that patch onto the unexpecting guinea pigs^W^WopenSUSE users ;-) If i don't get a wave of bugreports, than i'll assume that it is safe. Theoretically we could protect it by another quirk-flag, but i'd rather try to avoid that. I will also go through the kernel code and check if anything can go wrong. Echoing 1 into the state file simply makes the text console freeze (but apparently it is still doing stuff in the background, you can still output text etc, you just won't see it). Echoing 0 will make it paint the current screen contents. At least that was what happened in my experiments. (2) it fixes at least one box that currently doesn't work Yes, the user in the bugreport is a happy camper now :-) (he does not have the s2ram code right now, but uses the script equivalent, but unless i have put a bug into the C code, it should be equivalent). -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH] Add lzo compression support
On Mon, Jul 23, 2007 at 10:14:02PM +0200, Pavel Machek wrote: Hi! If you ask me... I think lzo will be better for most users... But I If you can argue lzo is significantly better, we can switch, but we do not want both. Well... So let's switch. :) So, what are advantages of lzo? Is it significantly faster? Better compression ratio? Stefan, do you like lzo? I don't care, as long as it works :-) It seems more projects are using lzo than lzf, so (assuming we are using shared libraries), it might be better memory wise (but in fact it does not matter much, since both are so small). Judging from the propagana on theire websites, i'd guess that they don't differ too much in performance. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working but not in list
(i re-added suspend-devel to cc: to keep the conversation on-list, please keep it that way) On Thu, Jul 19, 2007 at 10:40:47PM +0200, Hendrik-Jan Heins wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ah yes, I'm sorry, forgot to answer that one. I'm running i386 (debian sid in the shape of sidux) On Sun, Jul 22, 2007 at 03:58:45AM +0200, Hendrik-Jan Heins wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Stefan, I did some more testing, as s2ram -f -m -a1 wasn't stable for me after all. Apparently the X61s needs s2ram -f -m -a3, as otherwise the backlight won't come back on. Hm, too bad. I presume you don't have a second 64bit installation on that same machine ready? ;-) So that we could test if -a3 also works on the x86_64 kernel... Well, i'll have to hunt down such a machine for myself and start testing it. There is no way of keeping track of arch-specific quirks in s2ram yet (and i doubt it makes sense to implement since this whitelist stuff is going to move to HAL anyway). Thanks for testing ;-) Stefan -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram on Samsung P35
(i re-added suspend-devel to cc: to keep the conversation on-list) On Thu, Jul 05, 2007 at 07:22:16PM +0200, [EMAIL PROTECTED] wrote: I haven't tried the text console alone. However, I'm starting s2ram via hiberate script and acpid now, and on resume both text console (radeon framebuffer) and X.org (r300, Synaptics touchpad,...) are working fine. If I should try to use s2ram from text console alone tell me. Yes, this would be good. If it does not work from the console, please try the procedure explained in http://en.opensuse.org/S2ram to find the best options. Thanks for testing. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Motherboard/System Working
(i re-added suspend-deve to cc: to keep the conversation on-list) On Tue, Jul 17, 2007 at 06:54:58PM -0700, sprockkets wrote: Oh, well, here is why. I did run that command but it looked useless, unless it means something to you: Machine is unknown. This machine can be identified by: sys_vendor = sys_product = sys_version = bios_version = 6.00 PG See http://en.opensuse.org/S2ram for details. Ok, there is not much useful information for whitelisting in there :-( It did work when you used s2ram from a terminal prompt or using the kde front end. It did not work when in runlevel 3. The computer did not freeze but nothing came back on the screen. After turning it back on I typed init 6 and it rebooted so I know it was working. So the procedure lined out in http://en.opensuse.org/S2ram will probably get it going on the console, too. Unfortunately i have no idea how we could whitelist this machine based on those DMI strings :-( -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram works on HP NX5000 running OpenSuse 10.2, mostly
(i added suspend-devel to cc:, this will get this info into a public archive) On Thu, Jul 05, 2007 at 09:20:45PM -0600, Ed Hoo wrote: Here is the information for s2ram on the HP NX5000. s2ram works, but one curious thing is that when suspending from the console it works like a charm, when issuing it from X the wifi won't reconnect when the machine wakes. The WIFI issue is out of scope of s2ram, this is something that the wrappers like pm-utils or the network system (NetworkManager etc.) must solve. # Suspend to RAM commands that work s2ram -f -a 2 #(in-kernel method is preferred over the userspace method) s2ram -f -p -m s2ram -f -p -s s2ram -f -m s2ram -f -s s2ram -f -p # Output from s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = hp Compaq nx5000 (DP934AV) sys_version = F.0D bios_version = 68BCU Ver. F.0D See http://en.opensuse.org/S2ram for details. Since all other nx5000 variants (there are lots of different ways to write HP COMPAQ NX5000 in DMI strings ;-) are listed with -p -m (including the one that i am using right now), i added yours with the same parameters. I will retry mine with -a 2, ISTR that this did not work some time ago, so i'll need to investigate that. Anyway, this machine is added in current CVS. Thanks for reporting -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram working on not yet recognized board
(i added suspend-devel to cc: to get this knowledge into a public archive) On Sun, Jul 08, 2007 at 06:10:24PM +0200, Christoph Jaeschke wrote: Hi, today i got the s2ram and s2disk working properly using -a 1 (acpi_sleep=s3_bios) on my: This machine can be identified by: sys_vendor = ASUSTek Computer Inc. sys_product = K8N-E-Deluxe sys_version = To Be Filled By O.E.M. bios_version = 1011.004 running on Linux debian 2.6.22-rc7-k7 nVidia GeForce FX 5700, driver 1.0-9755 suspending hibernating from console and X. Ok, i added this machine to the whitelist. Thanks for the excellent tutorial on how to get this setup! Thanks for reporting :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working but not in list
(i re-added suspend-devel to cc: to keep the conversation on-list) On Wed, Jul 18, 2007 at 12:43:06PM +0200, Hendrik-Jan Heins wrote: Hello Stefan, Yes, s2ram -f -a1 -m also works (hadn't tried that yet). I for myself only recently found out that this one, although it being a strange combination, works best on new 64bit Thinkpads. I use hibernate with uwsusp as the system to activate s2ram. Hope that helps! Yes, it does. One last question: Are you using a 32bit or a 64bit installation? # s2ram -i This machine can be identified by: sys_vendor = LENOVO sys_product = 766927G sys_version = ThinkPad X61s bios_version = 7NET21WW (1.02 ) See http://en.opensuse.org/S2ram for details. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] whitelist addition
On Thu, Jul 19, 2007 at 12:17:44AM -0400, C Herron wrote: sys_vendor = FUJITSU sys_product = FPC07033AK sys_version = bios_version = Version 1.05 No special options needed, just s2ram -f. Both from X and from the text console? Thanks for reporting :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram whitelist
On Wed, Jul 18, 2007 at 11:26:30AM +0200, Gergely Csépány wrote: On 7/17/07, Stefan Seyfried [EMAIL PROTECTED] wrote: [added suspend-devel to cc:, please keep it that way] On Mon, Jul 16, 2007 at 10:08:43PM +0200, Gergely Csépány wrote: Hi, I have tested and use s2ram on my laptop without problems, here is the output of 's2ram -i': $ sudo s2ram -i This machine can be identified by: sys_vendor = MICRO-STAR INT'L CO.,LTD. sys_product = MS-1057 sys_version = 0571 bios_version = A1057IMS V7.05 See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. For me, it works by simply typing 's2ram -f', no additional options Does it work from both X and the console? From X it does, from console I had to use 's2ram -f -a 3' to work, and Ok, so i added it to the whitelist with that option. I found out that I cannot restart or poweroff my machine after using s2ram, neither from X nor from the console. The shutdown/restart (init 0/6) scripts run until the end when it should poweroff/reboot, and all I can see is it prints the last message about poweroff or restart then it freezes. Then I can simply poweroff and poweron manually, no data is lost, and everything works again, but what can cause that? This is a kernel bug, and i seem to remember that recent upstream kernels did get fixes for that kind of problem, but i'm not exactly sure which ones and if all these problems should be fixed now. Probably it would be a good idea to retry with a recent vanilla kernel and report to LKML if it still fails. are needed. I would like to know how should I edit the whitelist.c to include my machine in it, so i could simply use 's2ram'. Just look at the other machines, in whitelist.c, it should be pretty obvious. Should I use the options needed for the console (s3 save both) or for the X (no additional options)? Well, using the console options will make sure that you can also suspend from the console :-) I have added it like this: /* Gergely Csepany [EMAIL PROTECTED] */ { MICRO-STAR INT'L CO.,LTD., MS-1057, , , S3_BIOS|S3_MODE }, (yes, i deliberately misspelt your name, since UTF-8 in code often causes problems for people using not-utf-8-clean editors) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Lenovo ThinkPad R60e SuSE 10.2
On Thu, Jul 19, 2007 at 03:41:51PM +0100, Dave Royal wrote: Stefan Seyfried wrote: Hi Dave, I actually found out, that i have a 0657AVU sitting on my desk :-) It works fine with -a 3 on 32bit, but on 64bit it needs -a 1 -m. So, just to make sure, i'd like you to try the following: echo 0 /proc/sys/kernel/acpi_video_flags s2ram -f -a 1 -m and test if that works for you, too. I really hope it does, since the last thing i'd like to do is make the whitelist architecture dependent :-) Yes, that works for me in both text console and X. The only oddity is that, on resume, the letters inu appear on the screen for a few seconds, but I guess the world can live with that. Yes, that's expected. The reason is, that the POSTing of the card (which turns the light back on) happens in kernel space. The card is afterwards in mode 3, aka. plain VGA mode. Then the low level resume code writes some debug characters into the VGA buffer (the yellow inu that you are seeing). Then the resume returns to userspace, and in userspace we reset the VESA mode we had before suspend. This then probably restores the framebuffer and the inu is gone. Before, we would POST and restore the VESA mode in the kernel, and the VESA restore was done immediately after POST, so you did not see those debugging characters, but that does not work on 64bit for some yet unknown to me reason. Functionally, both methods _should_ be the same... (and just for those wondering about inu, it is actually Linu, and each character is written to the VGA buffer at a different stage of resume. The L is actually written before POSTing the card, and the POST probably just clears the buffer, so you never see it, and end up with inu :-) Thanks for testing :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram whitelist
[added suspend-devel to cc:, please keep it that way] On Mon, Jul 16, 2007 at 10:08:43PM +0200, Gergely Csépány wrote: Hi, I have tested and use s2ram on my laptop without problems, here is the output of 's2ram -i': $ sudo s2ram -i This machine can be identified by: sys_vendor = MICRO-STAR INT'L CO.,LTD. sys_product = MS-1057 sys_version = 0571 bios_version = A1057IMS V7.05 See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. For me, it works by simply typing 's2ram -f', no additional options Does it work from both X and the console? are needed. I would like to know how should I edit the whitelist.c to include my machine in it, so i could simply use 's2ram'. Just look at the other machines, in whitelist.c, it should be pretty obvious. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram: success on Gateway 200ARC
On Sun, Jun 24, 2007 at 05:38:15PM -0400, Sudarshan S. Chawathe wrote: Thanks to everyone working on s2ram. I am happy to report that I was able to successfully suspend and resume my Gateway 200ARC laptop using the following: s2ram -f -m -s -a2 This is a very unusual combination. Doesn't plain s2ram -f -p -m or s2ram -f -p -s also work? The above works from both text console (VT1) and X (VT7), running xorg. As far as I can tell, everything resumes perfectly, including X display, text consoles, networking (including wireless), etc. For reference, I am running a fairly standard Debian Etch setup. Here is the output of s2ram -i: This machine can be identified by: sys_vendor = Gateway sys_product = Gateway 200arc sys_version = Revision 01 bios_version = 42.00.18 See http://en.opensuse.org/S2ram for details. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram: possible whitelist candidate
On Tue, Jun 26, 2007 at 12:27:41AM +0100, Rui Malheiro wrote: There seems to be a some problem reporting the full information on my machine, as sys_vendor and sys_product return empty. However, suspend to RAM using s2ram -f works with no problem, having tested it extensively. Here's Does it work from both X and the text console? the result of s2ram -i: This machine can be identified by: sys_vendor = sys_product = sys_version = Revision A0 bios_version = V1.0 R01-A1B Yes, this makes it pretty hard to whitelist based on these DMI strings. You might be more lucky getting it into the HAL whitelist which has much better matching capabilities. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram (unknown machine)
On Tue, Jun 26, 2007 at 02:04:00PM +0200, Matthias Zehner wrote: This is the output of my machine: This machine can be identified by: sys_vendor = ASUSTeK Computer INC. sys_product = A7N8X2.0 sys_version = REV 1.xx bios_version = ASUS A7N8X2.0 Deluxe ACPI BIOS Rev 1008 Do you know which options I have to use to get s2ram working on my machine? If we knew, it would probably be in the whitelist. Try the procedure explained on http://en.opensuse.org/S2ram -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram half-works on a Sony Vaio C140G
On Sun, Jul 01, 2007 at 08:43:30PM -0300, Jorge Visca wrote: Hi to all. I got to suspend to RAM from text console (with init=/bin/bash) using $ s2ram -f -a 1 Tough, when i try the same from Gnome, it goes out to a terminal and hangs there without shutting down (the usb mouse does power off). Weirdly, i got it to suspend from X once with -a3, but that didn't work again ever after. This looks like a driver issue. Check the loaded modules if there are known offenders, and if there are some, unload them before suspend. With init=/bin/bash you are running with minimal drivers, so you probably don't trigger that problem. I tried adding noapic to the kernel parameters, but then none of the parameters for s2ram would work. It looks like a driver problem, not like a s2ram problem. I'm running Ubuntu 7.04 (2.6.20-16-generic) on a Sony Vaio with Intel chipsets all inside. $ sudo s2ram -i This machine can be identified by: sys_vendor = Sony Corporation sys_product = VGN-C140G sys_version = C3LMX4QW bios_version = R0030J4 I don't know if this is related, but in my console i have the following message: resume: libgcrypt version: 1.2.3 resume: Could not read the image This is harmless, it shows that the initrd tries to resume from disk, but there is no suspend image in swap. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] standard -f options works like a charm for ...
On Sun, Jul 01, 2007 at 03:07:37AM +0200, Chris Polderman wrote: This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = HP Pavilion ze2000 (EK791EA#ABH) sys_version = Rev 1 bios_version = F.27 See http://en.opensuse.org/S2ram for details. on opensuse 10.2. Does it work both from X and from the text console? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram not working on hp compaq nx8220 (Machine matched entry 55)
On Mon, Jul 02, 2007 at 01:47:02PM +0200, maestro wrote: Hello all! i installed debian etch on my notebook [0] because sarge did not support any suspend capabilities on that model. What kernel version? Can you try a recent vanilla or -mm kernel? suspend-to-disk works OK when the gnome-applet is told to do so - but i've had no luck with suspend-to-ram so i tried s2ram from the suspend package with no luck. i tried all the 10 possibilities listed on [1] (with kernel boot parameter init=/bin/sh and no framebuffer) s2ram -f (-a 123, -p, -m, -s) when invoking s2ram the system behaves as expected (except that after the screen goes black and the hdd spinned down the power led is blinking about once per second) BUT only the power button will then make the laptop react (neither Fn key nor any other key work) This might be just normal. It is machine dependent how they want to have wakeup triggered. My nx5000 also wakes up only on power button. when pressing the power button the fan starts and the hdd indicator led is on constantly for about 15-20 seconds then it goes dark - issuing find / does not make the led flicker. (i cannot hear the hdd because the fan is constantly on) This sounds like a disk driver issue, trying a newer kernel might help. anyway after resuming the screen always stays black and i cannot find anything usefull in the logs in some combinations of arguments the caps lock key is recognized and the appropriate led is lit and with some other combinations it is not (afair its with the -a 123 when it does not work anymore) Yes, the newer HPs seem to hang hard when using -a X. However, the caps lock key still working means the machine is not totally dead. In this state, it is not easy to debug, though :-( your help on this will be greatly appreciated please let me know what further information might be valuable to solve this cheers m. [0] Machine matched entry 55: sys_vendor = 'Hewlett-Packard' sys_product = 'HP Compaq nx8220 *' sys_version = '' bios_version = '' Fixes: 0x44 VBE_SAVE NOFB I think i have seen such a machine suspend / resume here, so it looks like it really is an issue with your kernel version. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Lenovo ThinkPad R60e SuSE 10.2
On Wed, Jul 04, 2007 at 05:53:53PM +0100, Dave Royal wrote: Hi Just to let you know that s2ram -f works on this m/c Output from console below Dave [EMAIL PROTECTED]:~ su Password: LEN:/home/david # s2ram -i This machine can be identified by: sys_vendor = LENOVO sys_product = 06574TG sys_version = ThinkPad R60e bios_version = 7EET16WW (1.02 ) See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. LEN:/home/david # s2ram -f Switching from vt7 to vt1 many blank lines switching back to vt7 Does it also work form the text console? Are you running a 32 bit (i386) or a 64 bit (x86_64) distribution? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working system with uswsusp.
On Sat, Jul 07, 2007 at 01:18:11AM +0530, Rohan Dhruva wrote: Hi list, My system is an Acer laptop, which is working perfectly with s2ram if I use the switches -f -p -m. I am attaching my lspci and s2ram -i output. I am also attaching dmesg, after 2-3 s2ram runs and one s2disk run, all of which work perfectly. I am using ubuntu feisty fawn - kernel 2.6.20-16-generic - and uswsusp version 0.3~cvs20060928-6ubuntu3. I am very happy - this is the first time suspend works perfectly, no issues at all, including sound and video acceleration. The card in Intel 950 GMA. Do I need to provide any more information ? Thanks for the excellent software :) No, this was a perfectly complete report. I have added the machine to the list now. Thanks for reporting :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] wrong title, T61 works with -a1
On Fri, Jul 06, 2007 at 06:57:23PM +, Joe Nahmias wrote: retitle 432018 Please add ThinkPad T61 to whitelist with -a1 thanks Sorry, I made a mistake in the title -- the body of the report is correct. The s3_bios acpi_sleep parameter [-a1] is all that is necessary for the backlight to work. But -a3 works, too? Then i'd take that one, since most thinkpads work well with -a 3 and i'd like to avoid too many special cases. Thanks for reporting. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Motherboard/System Working
On Fri, Jul 06, 2007 at 11:46:02PM -0700, sprockkets wrote: I tested the Abit MF-N2 nView motherboard with no options except force, and works. Using the built in nVidia 6150 graphics. 3d functions work upon resume. While the desktop and such come back up almost instantaneously, it will not respond to any input for about 30 seconds. If you would have posted the output of s2ram -n and have told us if it works from both X and the text console, i could have added it to the whitelist ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] whitelist addition for HP Compaq Presario C500
On Fri, Jul 06, 2007 at 10:43:06PM -0400, Matto Marjanovic wrote: Hiya, I've got an HP/Compaq Presario C500 series laptop (C554US), and s2ram -f worked just fine. It was quite a nice surprise. % s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = Presario C500 (RZ341UA#ABA) sys_version = F.15 bios_version = F.15 See http://en.opensuse.org/S2ram for details. Did it work both from X and from the text console? (ps: Is the whitelist on-line somewhere? If I had found a pointer to it, I would have checked it before sending email. I used s2ram from Debian Etch/4.0 --- and maybe this entry has already been added to the list.) It's in the CVS and you can browse it via the CVSweb on sourceforge. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Whitelist addition
On Sun, Jul 08, 2007 at 12:36:19AM -0400, [EMAIL PROTECTED] wrote: Hello, I'm not on the list, so please contact me directly if necessary Hope this helps! You guys have saved me a lot of trouble! Yes it does, i have added the machine to the whitelist now :-) Sincerely, Michael Witten //Here is my info// The following works in both the console and X: s2ram -fpm on this system: sys_vendor = Dell Computer Corporation sys_product = Dimension 2400 sys_version = bios_version = A02 -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram works with init=/bin/bash but not otherwise
On Thu, Jul 12, 2007 at 12:39:58AM -0300, Jorge Visca wrote: Ok, after some testing i found it was the sonypi module. Now the lid close is not detected, but anyway i had no use for that when i couldnt suspend... There is a replacement for this module being developped. So, s2ram -f -a 1 s2ram -f -a 3 and s2ram -f -p -m works on a sys_vendor = Sony Corporation sys_product = VGN-C140G sys_version = C3LMX4QW bios_version = R0030J4 ok, i added it to the whitelist (using the -a 3 version). Thanks for reporting. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] New whitelist entry Lenovo R60e
On Wed, Jul 11, 2007 at 09:55:23PM +0200, Dennis Brakhane wrote: Hello, s2ram -f works fine with my machine: sys_vendor = LENOVO sys_product = 0657KFG sys_version = ThinkPad R60e bios_version = 7EETC4WW (2.14 ) Does it work both from X and from the text console? Are you using a 32bit (i386) or a 64bit (x86_64) installation? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram options for HPnx6310
On Mon, Jul 09, 2007 at 08:35:02AM +0200, Michal Vyskocil wrote: Hi, HPnx6310 is not in a whitelist This command works fine: s2ram -f -p s2ram identification: # s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = HP Compaq nx6310 (ES466EA#AKB) sys_version = F.04 bios_version = 68YDU Ver. F.04 Does it work both from X and from the console? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Successful use of s2ram on samsung q35
On Mon, Jul 09, 2007 at 04:13:51PM +0200, pierre clairambault wrote: Hi, I successfully ran s2ram with s2ram -f -a 1 on my laptop, both within the single user minimal environment (console) and within a fully featured X. Output of s2ram -i : arenthis ~ # s2ram -i This machine can be identified by: sys_vendor = SAMSUNG ELECTRONICS CO., LTD. sys_product = Q35/Q36 sys_version = 25SD bios_version = 25SD This machine is already whitelisted using -f -a 3. Would it be possible to verify that this also works on your machine? (-a 3 instead of -a 1 will only show visible differences if you are using a framebuffer console, but it should not break anything on your machine). Thanks, -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] whitelist entry for 2386*, Thinkpad X40
On Fri, Jul 13, 2007 at 01:48:25PM -0700, Andrew Pimlott wrote: My Thinkpad X40 matches an UNSURE entry, as of current Debian unstable (0.6~cvs20070618-1): Machine matched entry 321: sys_vendor = 'IBM' sys_product = '2386*' sys_version = '' bios_version = '' Fixes: 0x2c VBE_SAVE VBE_POST UNSURE This machine can be identified by: sys_vendor = IBM sys_product = 23861CU sys_version = ThinkPad X40 bios_version = 1UET73WW (1.21 ) See http://en.opensuse.org/S2ram for details. These settings did not work for me. The machine comes back on, and the display lights up, but the screen is not fully drawn (windor borders appear, for example, but no text within them). This problem does not even go away by restarting X. Instead, I copied the entries from 2371* (/* X40 confirmed by Christian Deckelmann */), and they have been working fine: { IBM,2386*,, , S3_BIOS|S3_MODE }, Ok, i have updated the whitelist with that options. Also, for reference, no hacks like this were necessary until I upgraded to the new driver for my intel display chip, from Debian package xserver-xorg-video-i810 2:1.7.2-4 to xserver-xorg-video-intel 2:2.1.0-2. With the old driver, the screen always restored flawlessly. (I wasn't using uswsusp at the time, just the hibernate package, without any vbe or acpi options set.) Yes, the new intel driver is more picky about the suspend stuff. But it also offers much more functionality... :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Dell XPS M1710 resumes OK with framebuffer vga=794
On Sat, Jul 14, 2007 at 02:03:58PM +0200, Harry Kuiper wrote: Hi, I installed Debian Etch on a Dell XPS M1710. This machine is unknown to the version of s2ram that ships with Debian Etch. However, the machine resumes OK after s2ram -f except for the console. All virtual terminals are black. Logging in blind works fine, so it is purely a video problem. After I changed the default debian boot line in /boot/grub/menu.lst to include vga=794 the console also resumed OK. I tried vga=791 as well and that worked too. Ok, that's interesting, since usually we have problems with vesafb and it works better with plain VGA console :-) Anyway, i have added the machine to the whitelist now. Running s2ram --identify gives: [EMAIL PROTECTED] ~$ sudo /usr/sbin/s2ram --identify This machine can be identified by: sys_vendor = Dell Inc. sys_product = MXG061 sys_version = bios_version = A06 See http://en.opensuse.org/S2ram for details. Thanks for reporting -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Working machine information
On Sat, Jul 14, 2007 at 07:54:29PM -0500, Marcos Pinto wrote: Works with: s2ram -f -a 3 peg:/home/markybob# s2ram -i This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = EW434AVABA sys_version = Rev 1 bios_version = F.28 Ok, added to the whitelist. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Lenovo ThinkPad R60e SuSE 10.2
(re-added suspend-devel to cc:, please keep it that way) On Tue, Jul 17, 2007 at 03:42:51PM +0100, Dave Royal wrote: Stefan Seyfried wrote: On Wed, Jul 04, 2007 at 05:53:53PM +0100, Dave Royal wrote: Hi Just to let you know that s2ram -f works on this m/c Output from console below Dave [EMAIL PROTECTED]:~ su Password: LEN:/home/david # s2ram -i This machine can be identified by: sys_vendor = LENOVO sys_product = 06574TG sys_version = ThinkPad R60e bios_version = 7EET16WW (1.02 ) See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. LEN:/home/david # s2ram -f Switching from vt7 to vt1 many blank lines switching back to vt7 Does it also work form the text console? Are you running a 32 bit (i386) or a 64 bit (x86_64) distribution? Hi Stefan It doesn't work perfectly from a text console: Then it would be interesting if you would try the other options as explained in http://en.opensuse.org/S2ram I'd guess that s2ram -f -a3 or s2ram -f -a1 -m would work fine. It appears to resume but no cursor and display blank I press ctrl-alt-F3 - screen still blank, no cursor I press ctrl-alt-F7 - displays X OK I press ctrl-alt-F2 - screen now OK, shows: Switching from vt2 to vt1 switching back to vt2 # Yes, the X server also knows how to reinitialize the display, but if we can get it working on the console, this is always preferred. The only other glitch I've found is that if I suspend with the Thinkpad function key (Fn-F4) it resumes and immediately suspends again. This seems to be a known Thinkpad bug (in powersave?). If I suspend using the KDE log out|suspend computer|suspend to RAM, or if I right-click on the powersave icon in the tray and select suspend to RAM, it works OK. Yes, this might be a bug in powersave or HAL, but it does have no connection to s2ram but is somebody else's problem :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] whitelist addition?
(re-added suspend-devel to cc:-list) On Tue, Jul 17, 2007 at 12:32:33PM -0400, Tim Creech wrote: Hello, It does work from both X and a text console. I actually was just setting Ok, i have added it to the whitelist. up the machine for a friend, so I don't have it on hand anymore, but I'll see about getting her to send me her lspci output. It's not that important, it is just interesting since 3000 N100 seems to be a whole product line of models, with widely differing hardware. And if later there is another report about a similar machine, we might need the details to know the difference. Thanks -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram Asus M2N
On Tue, Jul 17, 2007 at 09:24:11PM +0200, Guenther Schwarz wrote: Am Mittwoch, 16. Mai 2007 14:55 schrieb Stefan Seyfried: [forgot to cc the list on the first try, sorry] On Wed, Apr 18, 2007 at 10:29:22PM +0200, Guenther Schwarz wrote: xxx:~ # s2ram -i This machine can be identified by: sys_vendor = ASUSTeK Computer Inc. sys_product = M2N sys_version = 1.0 bios_version = 0208 xxx:~ # s2ram -f Switching from vt7 to vt1 Seems to work fine. I did not try from console though, and did not test all hardware components. Unfortunately it is pretty crucial that you test it from the console. I'd guess that you need -f -a3 there, but that's just a guess. Actually your guess was right: After booting with init=/bin/bash: s2ram -f - dark monitor s2ram -f -a 1 - very colorful monitor s2ram -f -a 2 - dark monitor s2ram -f -a 3 - recovers just fine With the -a 3 option suspend from the normally booted console and also from X11 works nicely. Ok, so this is added to the whitelist now. Thanks, -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Lenovo ThinkPad R60e SuSE 10.2
On Tue, Jul 17, 2007 at 09:09:39PM +0100, Dave Royal wrote: Stefan Seyfried wrote: [EMAIL PROTECTED]:~ su Password: LEN:/home/david # s2ram -i This machine can be identified by: sys_vendor = LENOVO sys_product = 06574TG sys_version = ThinkPad R60e bios_version = 7EET16WW (1.02 ) See http://en.opensuse.org/S2ram for details. Then it would be interesting if you would try the other options as explained in http://en.opensuse.org/S2ram I'd guess that s2ram -f -a3 or s2ram -f -a1 -m would work fine. Trying all these in text console: * s2ram -f -a 1does not work * s2ram -f -a 2does not work * s2ram -f -a 3works * s2ram -f -p -mworked once but 2nd time failed: Real mode call failed * s2ram -f -p -sworks but says Calling restore_state_from Function not supported? * s2ram -f -mworked once but 2nd time failed: Real mode call failed * s2ram -f -sworks but says Calling restore_state_from Function not supported? * s2ram -f -pdoes not work (green rectangles on screen) * s2ram -f -a 1 -mdoes not work Real mode call failed * s2ram -f -a 1 -s works but says Calling restore_state_from Function not supported? s2ram -f -a 3 seems to work consistantly in both text and x-terminal. Ok, so i'll add this one to the whitelist. Thanks for testing! -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
[Suspend-devel] Slightly change S3_BIOS|S3_MODE handling wrt. beeping patch
Hi, I am proposing two changes to s2ram-x86.c: - first, if no -a is given, reset acpi_video_flags to 0, which will override also the boot options. The reason i want to do this is that people (me included) are sometimes confused by first trying s2ram -f -a3, then later trying s2ram -f and concluding that -f is enough to get it going. (second hunk). - second, with the beeping patch arriving, do not reset those settings by first reading out acpi_video_flags and ORing the S3_BIOS|S3_MODE options with it. (first hunk). Objections? Index: s2ram-x86.c === RCS file: /cvsroot/suspend/suspend/s2ram-x86.c,v retrieving revision 1.5 diff -u -p -r1.5 s2ram-x86.c --- s2ram-x86.c 17 Jun 2007 20:51:30 - 1.5 +++ s2ram-x86.c 17 Jul 2007 20:28:25 - @@ -70,12 +70,20 @@ void identify_machine(void) static int set_acpi_video_mode(int mode) { - FILE *f = fopen(/proc/sys/kernel/acpi_video_flags, w); + unsigned long acpi_video_flags; + FILE *f = fopen(/proc/sys/kernel/acpi_video_flags, rw); if (!f) { printf(/proc/sys/kernel/acpi_video_flags does not exist; you need a kernel =2.6.16.\n); return S2RAM_FAIL; } - fprintf(f, %d, mode); + /* read the old setting from /proc */ + if (fscanf(f, %ld, acpi_video_flags) != 1) { + printf(/proc/sys/kernel/acpi_video_flags format is invalid\n); + return S2RAM_FAIL; + } + /* mask out bits 0 and 1 */ + acpi_video_flags = acpi_video_flags (~0UL - S3_BIOS - S3_MODE); + fprintf(f, %ld, acpi_video_flags | mode); fflush(f); fclose(f); return S2RAM_OK; @@ -210,9 +218,7 @@ int s2ram_hacks(void) { int ret = 0; - /* 0 means: don't touch what was set on kernel commandline */ - if (flags (S3_BIOS | S3_MODE)) - ret = set_acpi_video_mode(flags (S3_BIOS | S3_MODE)); + ret = set_acpi_video_mode(flags (S3_BIOS | S3_MODE)); if (ret) return ret; -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Update Whitelist
On Fri, Jul 06, 2007 at 05:41:56PM +0200, [EMAIL PROTECTED] wrote: On Wed, Jul 04, 2007 at 08:08:12PM +0200, Stefan Seyfried wrote: sys_vendor = Dell Inc. sys_product = Latitude D820 sys_version = bios_version = A06 works perfectly using nvidia proprietary video driver and 's2ram -f' Also from the text console? Or only from X? The D820 is already listed as { Dell Inc., Latitude D820 *, , , VBE_POST|VBE_MODE }, Which means s2ram -f -p -m no the console remains blank using 's2ram -f -p -m' But it works on the console with plain s2ram -f? Does s2ram -f -p -m work for you with the proprietary driver from X? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram on Samsung P35
On Wed, Jun 20, 2007 at 09:08:04AM +0200, [EMAIL PROTECTED] wrote: Hi, I tried s2ram on my Samsung P35 running Debian Testing. Though the machine is not on the whitelist, it worked out of the box with s2ram -f. Below you find the output of s2ram -i This machine can be identified by: sys_vendor = SAMSUNG sys_product = CoronaR sys_version = 03RK bios_version = HCNODEM0.86C..X.00 See http://en.opensuse.org/S2ram for details. Cool. Did it also work from the text console or only from X? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND
Hi, On Thu, Jul 05, 2007 at 12:39:22AM +0200, Pavel Machek wrote: Hi! Yes, but I'm not sure if netconsole is the only one that we will want to have Well, netconsole is the only one we know of. AFAIR it is plain luck that serial console sometimes works. I repeat: no bugreport is not the same as it works for everyone wrt. suspend. It seems (i unfortunately have no numbers, since my machines always worked without suspending the consoles) as if suspending consoles generally helped reliability of suspend. disabled. Moreover, what if someone wants to use the netconsole regardless of the fact that it can crash the box? He'll have to edit the sources at that point. I'd prefer not to have too many please crash the box options. So should we remove sysrq-C? This is a debugging option. Only root can set it. Its purpose is to make machine hangs during suspend (even before it goes to sleep) debuggable. It will only be set if the machine crashes anyways. (We can taint the kernel if this control is set, if that helps you). -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram report for Samsung R40
On Sun, Jun 24, 2007 at 12:16:15PM +0200, Eduardo Robles Elvira wrote: Hi all! I've been trying to get suspend working in my laptop. I read [1] and followed the instructions. With init=/bin/bash, the following command was the only one where suspend worked: s2ram -f -s It also works within xorg and everything in my kubuntu feisty. All the other commands suspended the laptop right, but then it didn't resume it correctly and the screen appeared blank (black) and the laptop didn't answer to anything but the power button to do a hard reboot. If you're going to add my laptop to the whitelist, this is it: --- [EMAIL PROTECTED]:~# s2ram -i This machine can be identified by: sys_vendor = SAMSUNG ELECTRONICS CO., LTD. sys_product = R40/R41 sys_version = 05YA bios_version = 05YA See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. -- Ok, thanks for the report, i have added it to the list. Within X, the mouse stopped working and I had to unplug plug it to get it working again. How to solve it ? This is probably a problem of the USB driver (if it is a USB mouse), report it against the kernel or try the latest kernel.org release, maybe it is already fixed. Have fun, -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] My laptop works with s2ram -f. Here's my s2ram -i output
On Sat, Jun 23, 2007 at 08:54:04PM -0700, Lance Kindle wrote: This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = HP Pavilion dv2000 (RV326UA#ABA) sys_version = F.24 bios_version = F.24 See http://en.opensuse.org/S2ram for details. If you report a problem, please include the complete output above. my laptop is a dv2312. thanks for all your hard work. Does it also work from the text console or only from X? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Sony PCG-TR2 for whitelist
On Sun, Jun 24, 2007 at 08:16:50AM -0700, Bruce Perens wrote: sys_vendor = Sony Corporation sys_product = PCG-TR2A(UC) sys_version = JWF6 bios_version = R0071G1 Works with --force --vbe_mode Ok, added to the list. Thanks for reporting, -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Update G40 entry in whitelist
Hi (sorry for the late answer, i have been terribly busy the last weeks) On Mon, May 28, 2007 at 01:54:53PM +0200, David Härdeman wrote: Using the 2.0 series of the Intel driver, suspend and resume works for me on my IBM G40 without doing any additional fixups. Doing a VBE_SAVE which was necessary with the older drivers is now actually harmful as it will kill 3D capabilities. Does it still work from the text console also, or is there just no way to get it going on that machine (maybe with s2ram -f -p -m)? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: USE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Update Whitelist
On Sun, Jun 17, 2007 at 02:34:42PM +0200, [EMAIL PROTECTED] wrote: Hi, On Fri, Jun 01, 2007 at 04:09:11PM +0200, Stefan Seyfried wrote: Can you both please visit http://bugzilla.kernel.org/show_bug.cgi?id=6655 and see if you can add anything in there? Yes, i'll try. I know that some time back my machine rebooted with reboot=k, but this also stopped working. I will try the options and report in the bug. I just submitted that. Can I throw in another one here? sys_vendor = Dell Inc. sys_product = Latitude D820 sys_version = bios_version = A06 works perfectly using nvidia proprietary video driver and 's2ram -f' Also from the text console? Or only from X? The D820 is already listed as { Dell Inc., Latitude D820 *, , , VBE_POST|VBE_MODE }, Which means s2ram -f -p -m -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram works fine on my machine!
On Mon, Jun 18, 2007 at 10:09:11PM +0200, Ingo Steiner wrote: this is just to report a success for s2ram on a desktop-PC: MB: ASUS M2N-E, Athlon64 X2 4200+ EE Graphic Card: MSI nVidia 7100GS TV-Card: WinTV PVR 150 Operating sytem Ubuntu feisty amd64, Kernel 2.6.20.16-default Output of s2ram -i: *This machine can be identified by: sys_vendor = System manufacturer sys_product = System Product Name sys_version = System Version bios_version = ASUS M2N-E ACPI BIOS Revision 0402 See http://en.opensuse.org/S2ram for details. Ok, but what options did you pass to s2ram? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Please add my machine to the whitelist
On Fri, Jun 15, 2007 at 02:58:22PM -0400, Vlad Kovalevsky wrote: Hello, Here's the output of s2ram -i: This machine can be identified by: sys_vendor = IBM sys_product = 2652P3U sys_version = Not Available bios_version = 1NET07WW (1.01a) It's an IBM A31 Thinkpad. The best option that works for it is s2ram -f -r -a 1 Does s2ram -f -r -a 3 also work? I'm asking because it is rather uncommon for thinkpads of that era to require -a 1 and -a 3 will probabyl improve the experience for framebuffer users :-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Please add my machine to the whitelist
On Wed, Jul 04, 2007 at 02:36:05PM -0400, Vlad Kovalevsky wrote: I think -a 3 also worked, without any visible difference, but I will have to verify this when I get home tonight. Anything specific I should be looking at to notice the difference? No, there should be no difference. If you were using a framebuffer console, and trying suspend from there, it would probably restore the correct framebuffer mode with -a 3 while it probably would not with -a 1. Generally, -a 3 is pretty safe on most Thinkpads of that era, so if it does not crash immediately, it should work fine. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Fw: Bug#392168: Resume device on external USB drive causes the boot process to stop
Hi, (sorry for answering late, i was terribly busy over the last weeks). On Mon, Jun 18, 2007 at 10:55:54PM +0200, Tim Dijkstra wrote: Hi, What do people think about this? Subject: Bug#392168: Resume device on external USB drive causes the boot pr X-Debian-PR-Keywords: wontfix That's very correct ;-) --- resume.c.dpkg 2007-06-10 22:49:25.0 -0400 +++ resume.c2007-06-11 23:02:33.0 -0400 @@ -731,6 +731,9 @@ struct stat stat_buf; int dev; int n, error = 0; + // Grace period variables + int loopcnt; + unsigned int usecs = 50;// half a second page_size = getpagesize(); buffer_size = BUFFER_PAGES * page_size; @@ -755,6 +758,18 @@ if (splash_param != 'y' splash_param != 'Y') splash_param = 0; + /* +* 30 second grace period to allow resume device +* to come online (i.e. external USB drives) + */ + for (loopcnt = 1; loopcnt = 60; loopcnt++) + { + if (stat(resume_dev_name, stat_buf) != 0) + usleep(usecs); // wait a half second + else + break; + } + while (stat(resume_dev_name, stat_buf)) { fprintf(stderr, resume: Could not stat the resume device file.\n The initrd can just wait for the resume device to appear before calling resume. It needs such a function for the root device anyway. So i'd say this is not really needed in resume.c. OTOH, i am not totally opposed, since it won't affect me anyway ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND
On Thu, Jun 28, 2007 at 09:12:44PM +0200, Rafael J. Wysocki wrote: On Thursday, 28 June 2007 19:25, Stefan Seyfried wrote: However, we don't know which consoles are safe to stay alive during suspend. Generally, defaulting to suspending them all is not a bad idea IMHO. And IIRC it is plain luck if a serial console survives the suspend (or was the serial code fixed recently?) Well, I don't think so, but I'm not sure. The VGA/fb console also should be off during suspend (not necessarily during hibernation, though). IIRC, that's what caused Linus to introduce the suspending of consoles after all. So i do not care too much, but my / Frank's patch was shorter :-) and safer. I'm not sure which way to go. On the one hand, I agree that we should rather fix the consoles so that we know which one is suspend-safe and which is not and disable the unsafe ones, but on the other hand we are not there yet and it _sometimes_ is useful not to suspend a console even if we know that it will break things. This is what my / Frank's patch was aimed at: give the user the ability to (painlessly, without rebuilding the kernel) debug suspend problems. Keep the default safe, like Linus likes it (consoles suspended), but give the user a switch to make it unsafe (consoles not suspended) for the sake of debugging. Of course, fixing up all console drivers is an option that i'd very much like to see. It is however debatable if it is really worth the effort. If it works with consoles suspended, the user does not care. If it doesn't, he turns on debugging (knowing, or being told that this will break using netconsole). I strongly oppose Pavel's approach to declare all console drivers as nonbroken except netconsole. Even if he has not seen any failures apart from netconsole, in general i had the impression that suspending consoles did help. At least suspend works on many more machines than half a year ago, and i'd not be surprised if this was partly due to suspending the consoles. Remember that wrt. suspend i did not get a bugreport very often just means people tried it, it did not work, but they expected that and just turned away. It does not mean it just works for everyone. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH, 3rd try] make disable_console_suspend runtime configurable
On Thu, Jun 21, 2007 at 03:20:08PM +0200, Pavel Machek wrote: Hi! No, i don't agree at all. In this case, no config needed == not possible to debug suspend problems. No, sorry. My proposed solution is figure out which console drivers can survive being on while machines go down, and keep them on. So, no config needed == kernel always does the right thing, keeping console during suspend when possible == possible to debug suspend problems without having to change CONFIG_ or /sys/*. Ok. Deal. Once you fixed all the console drivers, i'll gladly send a patch that reverts the patch we are discussing now. Note that this patch actually helps fixing those drivers, since you can test much easier if a given driver survives suspend ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH, 3rd try] make disable_console_suspend runtime configurable
On Sun, Jun 17, 2007 at 11:49:40PM +0200, Pavel Machek wrote: Hi! I hate having to recompile the kernel, just to be able to debug suspend. Remove CONFIG_DISABLE_CONSOLE_SUSPEND, replace it by a tunable in /sys/power/disable_console_suspend. Signed-off-by: Stefan Seyfried [EMAIL PROTECTED] Signed-off-by: Frank Seidel [EMAIL PROTECTED] --- Third try, renamed sysfs interface to console_suspend reporting and expecting either enabled or disabled Thanks a lot for redoing it. I have no objections. Pavel? I still think that patch is bad. I should have screamed when CONFIG_DISABLE_CONSOLE_SUSPEND went into kernel. That beast should _not_ be configurable, it should just do the right thing. But I realized that too late. And this only makes it works, making that mistake part of user-kernel interface. Sorry for not screaming when CONFIG_DISABLE_CONSOLE_SUSPEND went in, but please lets solve this correctly Ouch and sorry for not screaming at try 1 time. But it still does not make the patch right, and I believe that even patch authors agree that no-config-needed is superior solution. No, i don't agree at all. In this case, no config needed == not possible to debug suspend problems. IMO this is the same as issue as with sysrq-C. You can crash the machine by other means, but it sometimes is just handy to have a mechanism to do it. I do not understand what's the problem with this option. If you want to avoid that people use it for something else than debugging, i can add a patch that crashes the machine ten seconds after resume if this option is set. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
[Suspend-devel] [PATCH, 2nd try] make disable_console_suspend runtime configurable
I hate having to recompile the kernel, just to be able to debug suspend. Remove CONFIG_DISABLE_CONSOLE_SUSPEND, replace it by a tunable in /sys/power/disable_console_suspend. Signed-off-by: Stefan Seyfried [EMAIL PROTECTED] Signed-off-by: Frank Seidel [EMAIL PROTECTED] --- Second try, no longer uses a sysctl in /proc, but a tunable in /sys/power. Thanks Frank for moving it quicker to sysfs than i would have ever been able to :-) Documentation/power/basic-pm-debugging.txt | 16 +--- drivers/serial/serial_core.c |8 ++-- include/linux/console.h|7 ++- kernel/power/Kconfig | 11 --- kernel/power/main.c| 27 +++ kernel/printk.c|7 +-- 6 files changed, 45 insertions(+), 31 deletions(-) --- a/Documentation/power/basic-pm-debugging.txt +++ b/Documentation/power/basic-pm-debugging.txt @@ -78,13 +78,15 @@ c) Advanced debugging In case the STD does not work on your system even in the minimal configuration and compiling more drivers as modules is not practical or some modules cannot be unloaded, you can use one of the more advanced debugging techniques to find -the problem. First, if there is a serial port in your box, you can set the -CONFIG_DISABLE_CONSOLE_SUSPEND kernel configuration option and try to log kernel -messages using the serial console. This may provide you with some information -about the reasons of the suspend (resume) failure. Alternatively, it may be -possible to use a FireWire port for debugging with firescope -(ftp://ftp.firstfloor.org/pub/ak/firescope/). On i386 it is also possible to -use the PM_TRACE mechanism documented in Documentation/s2ram.txt . +the problem. First, if there is a serial port in your box, you can + +# echo 1 /sys/power/disable_console_suspend + +and try to log kernel messages using the serial console. This may provide you +with some information about the reasons of the suspend (resume) failure. +Alternatively, it may be possible to use a FireWire port for debugging with +firescope (ftp://ftp.firstfloor.org/pub/ak/firescope/). On i386 it is also +possible to use the PM_TRACE mechanism documented in Documentation/s2ram.txt . 2. Testing suspend to RAM (STR) --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c @@ -1934,12 +1934,10 @@ int uart_suspend_port(struct uart_driver mutex_lock(state-mutex); -#ifdef CONFIG_DISABLE_CONSOLE_SUSPEND - if (uart_console(port)) { + if (disable_console_suspend uart_console(port)) { mutex_unlock(state-mutex); return 0; } -#endif if (state-info state-info-flags UIF_INITIALIZED) { const struct uart_ops *ops = port-ops; @@ -1982,12 +1980,10 @@ int uart_resume_port(struct uart_driver mutex_lock(state-mutex); -#ifdef CONFIG_DISABLE_CONSOLE_SUSPEND - if (uart_console(port)) { + if (disable_console_suspend uart_console(port)) { mutex_unlock(state-mutex); return 0; } -#endif uart_change_pm(state, 0); --- a/include/linux/console.h +++ b/include/linux/console.h @@ -64,6 +64,8 @@ extern const struct consw vga_con;/* VG extern const struct consw newport_con; /* SGI Newport console */ extern const struct consw prom_con;/* SPARC PROM console */ +extern int disable_console_suspend; + int con_is_bound(const struct consw *csw); int register_con_driver(const struct consw *csw, int first, int last); int unregister_con_driver(const struct consw *csw); @@ -120,14 +122,9 @@ extern void console_stop(struct console extern void console_start(struct console *); extern int is_console_locked(void); -#ifndef CONFIG_DISABLE_CONSOLE_SUSPEND /* Suspend and resume console messages over PM events */ extern void suspend_console(void); extern void resume_console(void); -#else -static inline void suspend_console(void) {} -static inline void resume_console(void) {} -#endif /* CONFIG_DISABLE_CONSOLE_SUSPEND */ int mda_console_init(void); void prom_con_init(void); --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -37,17 +37,6 @@ config PM_DEBUG code. This is helpful when debugging and reporting various PM bugs, like suspend support. -config DISABLE_CONSOLE_SUSPEND - bool Keep console(s) enabled during suspend/resume (DANGEROUS) - depends on PM PM_DEBUG - default n - ---help--- - This option turns off the console suspend mechanism that prevents - debug messages from reaching the console during the suspend/resume - operations. This may be helpful when debugging device drivers' - suspend/resume routines, but may itself lead to problems, for example - if netconsole is used. - config PM_TRACE bool Suspend/resume event tracing depends on PM PM_DEBUG X86_32 EXPERIMENTAL
Re: [Suspend-devel] s2ram
On Wed, Jun 13, 2007 at 10:52:21PM +0200, Sab wrote: The output of s2ram -i: This machine can be identified by: sys_vendor = FUJITSU SIEMENS sys_product = AMILO Pi 1505 sys_version = bios_version = 1.02C The combinations that work for me (they all work tried from X) are: s2ram -f -a 1 s2ram -f -a 3 s2ram -f -p -m s2ram -f -m s2ram -f -p s2ram -f -a 1 -m Well, it would be really interesting which ones work from the console. start with -a 3, if that does not work, try -p -m. Thanks, Stefan -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] [PATCH, 2nd try] make disable_console_suspend runtime configurable
On Thu, Jun 14, 2007 at 12:08:00AM +0200, Pavel Machek wrote: Hi! I hate having to recompile the kernel, just to be able to debug suspend. Remove CONFIG_DISABLE_CONSOLE_SUSPEND, replace it by a tunable in /sys/power/disable_console_suspend. Signed-off-by: Stefan Seyfried [EMAIL PROTECTED] Signed-off-by: Frank Seidel [EMAIL PROTECTED] I wonder if there's a better name? Suggest one. Or maybe this should not be /sys configurable, but just have value for each console this console can work while suspended? (serial can, vesafb can, netconsole can't)? Go ahead, submit a patch. It won't be that trivial. And i wonder if it is actually worth the hassle. This is a debugging facility. Exporting crash-me option to user does not seem that cool to me. We have echo c /proc/sysrq-trigger also. This is a debugging option, and forcing users to recompile the kernel just to debug suspend problems (not resume problems, the it does not even go to sleep stuff is where this matters most) is IMO a bad idea. We can also make this a boot parameter, i don't care, but i want to disable console suspend without recompiling the kernel. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Suspend to ram/disk not working properly
On Sun, Jun 10, 2007 at 02:28:12AM +0300, Tihomir Lazarov wrote: See below On 6/8/07, Stefan Seyfried [EMAIL PROTECTED] wrote: On Thu, Jun 07, 2007 at 07:15:47PM +0300, Tihomir Lazarov wrote: Hi, The suspend to RAM/disk is not working fine with me. I've got a problem with the wake-up. When I do s2ram -f the machine is suspended, but when I try to wake it up, it doesn't. http://en.opensuse.org/S2ram The suspend to disk just boots the machine every time I try to resume replaying FS journal transactions as if it was suddenly powered off. Did you set up your initrd correctly? What distribution are you using? How do you suspend to disk (in-kernel or userspace suspend)? It sounds like you simply did not set up your system to even try to resume. I've got a Suse 10.2 vanilla setup. I'm not sure if using kernel/userspace suspend. Tell me what you need to figure that out. userspace, by default. It doesn't work when I try to suspend it manually using the -a key and without it. Actually it suspends, but doesn't wake up. The backlight goes ON, but no other activity. I'm with ATI video card (if that helps/complicates things up). http://en.opensuse.org/S2ram There are more switches than just -a. Let me know if I can help you with more information. wrt. suspend to disk: do you have a LVM or device-mapper setup? If not, it should just work, so if it doesn't you should file a bug at http://bugzilla.novell.com If you have a DM or LVM setup, it will probably not work with 10.2 but only with 10.3. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
[Suspend-devel] Beeping patch (was: Toshiba Satellite A70 don't resume from s2ram)
On Wed, Jun 06, 2007 at 07:25:11PM -0600, Xavier Callejas wrote: Hi, My laptop is this: # s2ram -i This machine can be identified by: sys_vendor = TOSHIBA sys_product = Satellite A70 sys_version = * bios_version = V1.50 kernel: 2.6.22-rc3-git2-47 openSUSE 10.2 It get hanged at resume from s2ram, no keyboard (no capslock), no screen. Only leds turn green. Need force a shutdown. Beeping patch never maked a sound at resuming. Apropos beeping patch. Pavel, couldn't we get something like that into mainline (pseudo code, i never used the beeping patch since it is too much of a hassle): during suspend if (debug_sleep_beep) beep(); do_really_enter_acpi_lowlevel_stuff_in_bios; /* here we resumed */ if (debug_sleep_beep) beep(); and debug_sleep_beep can be either a boot parameter or a sysctl. So that everybody can easily find out machine returned from BIOS or it did not. This will help debugging. Maybe on resume {beep();msleep (200);} at various places during resume, so that we know ok, it beeped 3 times before hanging, so it hung =HERE. No, i cannot do the patch, but if the idea is deemed useful, i could bully somebody into doing it ;-)) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Compaq Presario V2000 (Working)
On Wed, Jun 06, 2007 at 06:47:48PM -0500, noah wrote: On 6/5/07, Stefan Seyfried [EMAIL PROTECTED] wrote: (please don't strip suspend-devel from CC, thanks). On Tue, Jun 05, 2007 at 02:11:48PM -0500, noah wrote: On 6/5/07, Stefan Seyfried [EMAIL PROTECTED] wrote: On Sat, Jun 02, 2007 at 07:18:44PM -0500, noah wrote: This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = Presario V2000 (EP381UA#ABA) sys_version = Rev 1 bios_version = F.22 s2ram -f appears to work just fine. I was just a little disappointed :) Does it work both from X and from the text console? I haven't tried booting into just the console, but it does work in X. I've been using it in my HAL scripts for the past few days with no issues. It would be somewhat important to know if it also works from console. A simple ctrl-alt-f1, login and then s2ram -f can not be that hard, can it? ;-) Strangely enough, with s2ram -f the console doesn't come back up (I get a blank screen) but I can ctrl-alt-f7 back to X no problem. That's not strange, that's quite normal :-) with s2ram -f -a 1 both come back up fine. Fine, so i have added this to the white list. Thanks for confirming this. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram: Sony Vaio SZ340
On Thu, Jun 07, 2007 at 03:56:08PM +0300, [EMAIL PROTECTED] wrote: Hi. My machine is unsupported, but if I run s2ram -f it suspends perfectly and resumes afterwards without issues. It would be great if you add it as supported. Here is the output to s2ram -i: This machine can be identified by: sys_vendor = Sony Corporation sys_product = VGN-SZ340P sys_version = R5283566 bios_version = R0096N0 -Ilian Does it work both from X and from the text console without further options? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram works on an Averatec 3360-EG1
On Thu, Jun 07, 2007 at 03:31:18PM -0700, Elliott Martin wrote: I wanted to report that s2ram works fine on my computer with the following options: s2ram -f -p -m # s2ram -i This machine can be identified by: sys_vendor = AVERATEC sys_product = E1200 sys_version = To Be Filled By O.E.M. bios_version = 080010 See http://en.opensuse.org/S2ram for details. cool, i added it to the list. The only thing that doesn't work is that the machine will not restart after it has been suspended. The machine will shut down normally but it hangs at the point where it says please stand by while the system restarts. It would be good if you could retry this with the latest 2.6.22-rc kernel. It works for me now on my toughbook cf-51 which also had the same problem. If this does not help, try the various reboot= boot options, see /usr/src/linux/arch/i386/kernel/reboot.c for possible options. And then there's http://bugzilla.kernel.org/show_bug.cgi?id=6655 where you can help with your findings... -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Suspend / Lenovo T60 laptop
On Thu, Jun 07, 2007 at 05:02:05PM +0300, Markus Vuori wrote: Hi there, Looks like my laptop needs parameters -f -a 2 to work correctly. This is a couple of months old Lenovo T60 with a T7200 processor, Ati Mobility Radeon X1400 and wide screen (1680x1050). I'm using fglrx driver and here's the info: sys_vendor = LENOVO sys_product = 8744HDG sys_version = ThinkPad T60 bios_version = 7IET26WW (1.07 ) With -a 1 suspend worked couple of times but not always (it didn't resume). With parameter -a 2 suspend seems to work more reliably. Both from X and from the console? Usually thinkpads need -a 3 to work well from the console, but the new ones seem to be more broken^W^W less consistent in this area. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Suspend to ram/disk not working properly
On Thu, Jun 07, 2007 at 07:15:47PM +0300, Tihomir Lazarov wrote: Hi, The suspend to RAM/disk is not working fine with me. I've got a problem with the wake-up. When I do s2ram -f the machine is suspended, but when I try to wake it up, it doesn't. http://en.opensuse.org/S2ram The suspend to disk just boots the machine every time I try to resume replaying FS journal transactions as if it was suddenly powered off. Did you set up your initrd correctly? What distribution are you using? How do you suspend to disk (in-kernel or userspace suspend)? It sounds like you simply did not set up your system to even try to resume. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram -i on Acer TravelMate 2420
On Wed, Jun 06, 2007 at 01:09:27PM +0200, jetxee wrote: On Thu, May 31, 2007 at 04:43:21PM +0200, Stefan Seyfried wrote: On Mon, May 28, 2007 at 06:52:49PM +0200, jetxee wrote: Hello, I tried s2ram on my Acer TravelMate 2420 laptop. s2ram reports that this machine is unknown: ~~ Machine is unknown. This machine can be identified by: sys_vendor = Acer sys_product = TravelMate 2420 sys_version = 0100 bios_version = V1.03 See http://en.opensuse.org/S2ram for details. ~~ s2ram -f seems to work for me (saves and restores running X session). This machine is listed since 2007-01-09 as: { Acer, TravelMate 2420, , , S3_BIOS|S3_MODE }, which means it uses options equivalent to s2ram -f -a3. Could you try if this also works on your machine? I tried this, it works well for me too. Thank you. Good, so no action is needed from my side, since the machine is already listed correctly :-) Thanks for confirming. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2x support on Fujitsu Siemens Celsius H240
On Wed, Jun 06, 2007 at 04:21:19PM +0200, Jörn Dreyer wrote: Am Donnerstag, den 31.05.2007, 14:10 +0200 schrieb Stefan Seyfried: I will try s2ram using the VESA driver. Maybe I can rule out fglrx beeing the problem. Yes, this would be helpful. The latest fglrx X drivers can also be used without the fglrx kernel module (they won't do 3d, but at least they will allow you to use the native resolution of the display), maybe this is also an option for testing. I used envy to install the latest ATI drivers: ~$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI MOBILITY FireGL V5200 OpenGL version string: 2.0.6458 (8.36.5) ~$ glxinfo | grep dir direct rendering: Yes So, the driver seems to be installed ok. Using the following command I have been able to suspend to ram for about ~20 times without any glitches (besides networkmanager not refreshing the IP): ~$ sudo s2ram -f I used it to suspend at work, remove it from the docking station, power it on at home ... and back again. No problems. It even works when playing 720p videos, running fgl_glxgears and having a Java Debug VM on a breakpoint (a known problem on Windows). Any ideas how I might further stresstest s2ram? I did not yet try s2disk/s2both. Some more informations: I am running Ubuntu 7.04 with ~$ uname -a Linux teacup 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux Let me know if you need anything else. I need to know if it also works from the console and without the proprietary drivers. I have no method to put only works with fglrx into the whitelist. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] X41 s2ram issue
On Fri, Jun 01, 2007 at 04:21:31PM +0200, Florian Ragwitz wrote: On Thu, May 31, 2007 at 04:54:45PM +0200, Stefan Seyfried wrote: is --vbe_mode actually really necessary? It is rather uncommon to need both --acpi_sleep 2/3 and --vbe_mode. You're right. It's indeed not needed. Ok, so added with --acpi_sleep 3 to the whitelist. Thanks for confirming -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Compaq Presario V2000 (Working)
On Sat, Jun 02, 2007 at 07:18:44PM -0500, noah wrote: This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = Presario V2000 (EP381UA#ABA) sys_version = Rev 1 bios_version = F.22 s2ram -f appears to work just fine. I was just a little disappointed :) Does it work both from X and from the text console? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Macbook2, 1 suspend-to-RAM working with 2.6.22-rc3
On Tue, Jun 05, 2007 at 07:59:17PM +0200, Marvin Stark wrote: On Tuesday 05 June 2007 19:20, you wrote: On Sat, Jun 02, 2007 at 12:28:06AM +0200, Marvin Stark wrote: Hi, suspend-to-RAM is working for my MacBook2,1 with kernel 2.6.22-rc3 I'm using following s2ram command: s2ram (-f) -p Here is the output from s2ram -i: This machine can be identified by: sys_vendor = Apple Computer, Inc. sys_product = MacBook2,1 sys_version = 1.0 bios_version = MB21.88Z.00A5.B00.0610192027 Ok. Does it work both from X and from the console? Yes. Ok, added to the list. Thanks for confirming. -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] Compaq Presario V2000 (Working)
(please don't strip suspend-devel from CC, thanks). On Tue, Jun 05, 2007 at 02:11:48PM -0500, noah wrote: On 6/5/07, Stefan Seyfried [EMAIL PROTECTED] wrote: On Sat, Jun 02, 2007 at 07:18:44PM -0500, noah wrote: This machine can be identified by: sys_vendor = Hewlett-Packard sys_product = Presario V2000 (EP381UA#ABA) sys_version = Rev 1 bios_version = F.22 s2ram -f appears to work just fine. I was just a little disappointed :) Does it work both from X and from the text console? I haven't tried booting into just the console, but it does work in X. I've been using it in my HAL scripts for the past few days with no issues. It would be somewhat important to know if it also works from console. A simple ctrl-alt-f1, login and then s2ram -f can not be that hard, can it? ;-) -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel
Re: [Suspend-devel] s2ram
On Fri, Jun 01, 2007 at 07:26:13AM +1000, Simon Cullen wrote: I've just had another shot at s2ram: running s2ram -f -p -m from VT2 will suspend the machine---and it is resumable. Still, after resume if I try to switch back to X (VT7) it blanks and freezes, and then a hard power off is required. Ok, this looks like an X issue. Maybe s2ram -f -p -m -v can help, but i somehow doubt it. Which X driver? -- Stefan Seyfried QA / RD Team Mobile Devices| Any ideas, John? SUSE LINUX Products GmbH, Nürnberg | Well, surrounding them's out. This footer brought to you by insane German lawmakers: SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel