tags 483200 + patch
thanks

hey Petter,
 This patch works for me on a 6510b. Note that reading the xorg.conf
file isn't very reliable anymore now that xorg.conf files are pretty
barebones and less likely to include a driver line.

diff -Nru hotkey-setup-0.1/debian/changelog hotkey-setup-0.1/debian/changelog
--- hotkey-setup-0.1/debian/changelog   2008-01-17 14:22:25.000000000 -0700
+++ hotkey-setup-0.1/debian/changelog   2008-06-24 11:34:18.000000000 -0600
@@ -1,3 +1,10 @@
+hotkey-setup (0.1-22~dannf1) local; urgency=low
+
+  * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483200
+  * https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/157691
+
+ -- dann frazier <[EMAIL PROTECTED]>  Tue, 24 Jun 2008 11:33:39 -0600
+
 hotkey-setup (0.1-21) unstable; urgency=low
 
   * Only try to read /etc/X11/xorg.conf if it exist (Closes: #461147)
diff -Nru hotkey-setup-0.1/debian/control hotkey-setup-0.1/debian/control
--- hotkey-setup-0.1/debian/control     2008-01-17 14:01:20.000000000 -0700
+++ hotkey-setup-0.1/debian/control     2008-06-24 11:36:28.000000000 -0600
@@ -7,7 +7,7 @@
 
 Package: hotkey-setup
 Architecture: i386 amd64 lpia
-Depends: ${shlibs:Depends}, ${misc:Depends}, dmidecode (>= 2.7), 
laptop-detect, console-tools | console-utilities
+Depends: ${shlibs:Depends}, ${misc:Depends}, dmidecode (>= 2.7), 
laptop-detect, console-tools | console-utilities, pciutils
 Conflicts: tpb
 Description: auto-configures laptop hotkeys
  This package will attempt to auto-detect your laptop hardware and then
diff -Nru hotkey-setup-0.1/debian/init.d hotkey-setup-0.1/debian/init.d
--- hotkey-setup-0.1/debian/init.d      2008-01-16 15:08:03.000000000 -0700
+++ hotkey-setup-0.1/debian/init.d      2008-06-24 11:33:28.000000000 -0600
@@ -37,6 +37,16 @@
            done
        ;;
     esac
+
+    # Display controller [0380]: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller [8086:2a03] (rev 0c)
+    LSPCI=`lspci -nd 8086:2a03`; 
+    if [ -n "$LSPCI" ]; then
+        for x in /proc/acpi/video/*/DOS; do
+            if [ -e "$x" ]; then
+                echo -n 7 >$x; # '4' still let's it crash
+            fi
+        done
+    fi;
 }
 
 # This is here because it needs to be executed both if we have a



-- 
dann frazier




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to