Package: nvidia-kernel-source
Version: 1.0.7667-3
Severity: normal
Tags: patch

Hi

Current nvidia driver expects wrong event numbers (see
include/linux/pm.h in kernel source for explanation why it worked
before). Attached patch makes it use correct defines, could you please
include it in package?

-- 
    Michal Čihař | http://cihar.com

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14-raptor
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     5.0.7      helper programs for debian/rules
ii  dpatch                        2.0.15     patch maintenance system for Debia
ii  make                          3.80-11    The GNU version of the "make" util
ii  sed                           4.1.4-4    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.8      Scripts to make the life of a Debi
ii  kernel-package                10.010     A utility for building Linux kerne
ii  nvidia-glx                    1.0.7667-3 NVIDIA binary XFree86 4.x driver

-- no debconf information
--- /tmp/modules/nvidia-kernel/nv/nv.c  2005-07-19 01:58:40.000000000 +0200
+++ nv.c        2005-11-15 15:28:46.500089000 +0100
@@ -3624,12 +3624,13 @@
 
     switch (state)
     {
-        case PM_SUSPEND_MEM:
+        case PM_EVENT_SUSPEND:
+        case PM_EVENT_FREEZE:
             nv_printf(NV_DBG_INFO, "NVRM: ACPI: received suspend event\n");
             status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
             break;
 
-        case PM_SUSPEND_ON:
+        case PM_EVENT_ON:
             nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n");
             status = rm_power_management(nv, 0, NV_PM_ACPI_RESUME);
             break;

Reply via email to