2009-08-04 21:52:16 +02:00
|
|
|
Index: hw/xfree86/fbdevhw/fbdevhw.c
|
2012-04-20 11:32:05 +02:00
|
|
|
===================================================================
|
|
|
|
--- hw/xfree86/fbdevhw/fbdevhw.c.orig
|
2009-08-04 21:52:16 +02:00
|
|
|
+++ hw/xfree86/fbdevhw/fbdevhw.c
|
2012-04-20 11:32:05 +02:00
|
|
|
@@ -858,9 +858,10 @@ fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mo
|
|
|
|
return;
|
|
|
|
}
|
2008-04-20 15:39:03 +02:00
|
|
|
|
2012-04-20 11:32:05 +02:00
|
|
|
+ /* 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));
|
2008-04-20 15:39:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Bool
|
2012-04-20 11:32:05 +02:00
|
|
|
@@ -875,9 +876,10 @@ fbdevHWSaveScreen(ScreenPtr pScreen, int
|
2008-04-20 15:39:03 +02:00
|
|
|
|
2012-04-20 11:32:05 +02:00
|
|
|
unblank = xf86IsUnblank(mode);
|
2008-04-20 15:39:03 +02:00
|
|
|
|
2012-04-20 11:32:05 +02:00
|
|
|
+ /* 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;
|
|
|
|
}
|
2008-04-20 15:39:03 +02:00
|
|
|
|