summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive/disable-apm.patch
blob: bd8842721b27ac977ba254391f8a06cf5b727fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xserver/hw/kdrive/linux/linux.c.orig	2005-04-23 15:56:13.988849232 +0000
+++ xserver/hw/kdrive/linux/linux.c	2005-04-23 15:57:05.001094192 +0000
@@ -342,7 +342,7 @@
     /*
      * Open the APM driver
      */
-    LinuxApmFd = open ("/dev/apm_bios", 2);
+    /*LinuxApmFd = open ("/dev/apm_bios", 2);
     if (LinuxApmFd < 0 && errno == ENOENT)
 	LinuxApmFd = open ("/dev/misc/apm_bios", 2); 
     if (LinuxApmFd >= 0)
@@ -352,7 +352,7 @@
 	RegisterBlockAndWakeupHandlers (LinuxApmBlock, LinuxApmWakeup, 0);
 	AddEnabledDevice (LinuxApmFd);
     }
-	
+    */	
     /*
      * now get the VT
      */