Package: 915resolution
Followup-For: Bug #404119

The following patch from Ubutnu uses ACPI to activate on resume. I am
not sure how applicable the patch is to this bug report, as I did not
write it.

Thanks,

James

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- 0.5.3-1/debian/49-915-resolution-set.sh     1970-01-01 01:00:00.000000000 
+0100
+++ 0.5.3-0ubuntu1/debian/49-915-resolution-set.sh      2007-07-04 
14:59:22.000000000 +0100
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ -x /usr/sbin/915resolution ]; then
+    . /etc/default/915resolution
+    if [ "$MODE" = auto ] || [ -n "$MODE" -a -n "$XRESO" -a -n "$YRESO" ] ; 
then
+       /etc/init.d/915resolution start;
+    fi
+fi
--- 0.5.3-1/debian/dirs 1970-01-01 01:00:00.000000000 +0100
+++ 0.5.3-0ubuntu1/debian/dirs  2007-07-04 14:59:22.000000000 +0100
@@ -0,0 +1 @@
+/etc/acpi/resume.d
--- 0.5.3-1/debian/rules        2007-07-04 14:12:25.000000000 +0100
+++ 0.5.3-0ubuntu1/debian/rules 2007-07-04 14:59:22.000000000 +0100
@@ -25,6 +25,8 @@ install: build
        dh_clean -k 
        dh_installdirs
        install -D -m 755 915resolution 
$(CURDIR)/debian/915resolution/usr/sbin/915resolution
+       install -D -m 755 debian/49-915-resolution-set.sh 
$(CURDIR)/debian/915resolution/etc/acpi/resume.d/49-915-resolution-set.sh
+       ln -s 49-915-resolution-set.sh 
$(CURDIR)/debian/915resolution/etc/acpi/resume.d/13-915-resolution-set.sh
 
 # Build architecture-independent files here.
 binary-indep: build install

Reply via email to