aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/sle11/SOURCES/fbdevhw.diff
blob: b155372df5d7d1a0c99a82bb5d29ecdf54d644e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: hw/xfree86/fbdevhw/fbdevhw.c
================================================================================
--- hw/xfree86/fbdevhw/fbdevhw.c
+++ hw/xfree86/fbdevhw/fbdevhw.c
@@ -957,9 +957,10 @@
 			return;
 	}
 
+	/* Novell Bug #146462 */
 	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)fbmode))
-		xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-			   "FBIOBLANK: %s\n", strerror(errno));
+		xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+			   "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
 }
 
 Bool
@@ -975,9 +976,10 @@
 
 	unblank = xf86IsUnblank(mode);
 
+	/* Novell Bug #146462 */
 	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)(1-unblank))) {
-		xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-			   "FBIOBLANK: %s\n", strerror(errno));
+		xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+			   "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
 		return FALSE;
 	}