Hello community,
here is the log from the commit of package suspend
checked in at Tue Jul 31 15:06:40 CEST 2007.
--------
--- arch/i386/suspend/suspend.changes 2007-07-30 14:23:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/suspend/suspend.changes 2007-07-31 14:37:42.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Jul 31 14:36:59 CEST 2007 - seife@suse.de
+
+- update to current cvs:
+ - whitelist updates
+ - fix acpi_video_mode setting, was not effective before
+
+-------------------------------------------------------------------
+Tue Jul 31 12:13:50 CEST 2007 - seife@suse.de
+
+- correct the Aspire 1690 whitelist entry (novell bug 293662)
+- fix build with old "make" (SLED10)
+
+-------------------------------------------------------------------
Old:
----
suspend-0.50.20070730.tar.bz2
New:
----
suspend-0.50.20070730-makefile-old-make-fix.diff
suspend-0.50.20070731.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suspend.spec ++++++
--- /var/tmp/diff_new_pack.c23469/_old 2007-07-31 15:05:15.000000000 +0200
+++ /var/tmp/diff_new_pack.c23469/_new 2007-07-31 15:05:15.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package suspend (Version 0.50.20070730)
+# spec file for package suspend (Version 0.50.20070731)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,7 +12,7 @@
Name: suspend
BuildRequires: gnutls-devel libx86-devel pciutils-devel splashy-devel
-Version: 0.50.20070730
+Version: 0.50.20070731
Release: 1
Summary: A Set Of Tools To Support Sleep Modes
License: GPL v2 or later
@@ -27,6 +27,7 @@
Patch3: suspend-default-compress.diff
Patch4: suspend-disable-bootsplash.diff
Patch5: suspend-s2ram-suspend-fbcon.diff
+Patch6: suspend-0.50.20070730-makefile-old-make-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
Supplements: powersave
@@ -52,6 +53,7 @@
%patch3 -p0
%patch4 -p0
%patch5 -p0
+%patch6 -p0
cp %{S:3} scripts/
#cp -vb --suffix=-0.5 %{S:99} whitelist.c
@@ -99,6 +101,13 @@
%doc doc/installation-on-SUSE-10.1.txt scripts/
%changelog
+* Tue Jul 31 2007 - seife@suse.de
+- update to current cvs:
+ - whitelist updates
+ - fix acpi_video_mode setting, was not effective before
+* Tue Jul 31 2007 - seife@suse.de
+- correct the Aspire 1690 whitelist entry (novell bug 293662)
+- fix build with old "make" (SLED10)
* Mon Jul 30 2007 - seife@suse.de
- update to current cvs:
- whitelist updates
++++++ suspend-0.50.20070730-makefile-old-make-fix.diff ++++++
--- Makefile
+++ Makefile
@@ -31,7 +31,8 @@
ifeq ($(ARCH), x86)
S2RAM_OBJ += s2ram-x86.o dmidecode.o radeontool.o vbetool/vbetool.o
S2RAM_LD_FLAGS += -lx86 -lpci -lz
-else ifeq ($(ARCH), ppc)
+endif
+ifeq ($(ARCH), ppc)
S2RAM_OBJ += s2ram-ppc.o
endif
++++++ suspend-0.50.20070730.tar.bz2 -> suspend-0.50.20070731.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/suspend-0.50.20070730/s2ram-x86.c new/suspend-0.50.20070731/s2ram-x86.c
--- old/suspend-0.50.20070730/s2ram-x86.c 2007-07-19 15:28:47.000000000 +0200
+++ new/suspend-0.50.20070731/s2ram-x86.c 2007-07-31 14:32:41.000000000 +0200
@@ -71,7 +71,7 @@
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;
@@ -81,6 +81,9 @@
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);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/suspend-0.50.20070730/whitelist.c new/suspend-0.50.20070731/whitelist.c
--- old/suspend-0.50.20070730/whitelist.c 2007-07-30 11:57:05.000000000 +0200
+++ new/suspend-0.50.20070731/whitelist.c 2007-07-31 14:35:05.000000000 +0200
@@ -264,7 +264,9 @@
/* hp compaq nc2400, tested by seife. sometimes has keyboard problems after resume */
{ "Hewlett-Packard", "HP Compaq nc2400*", "", "68YOP*", VBE_POST|VBE_MODE },
/* Rene Seindal