forked from pool/xorg-x11-server
31 lines
1015 B
Diff
31 lines
1015 B
Diff
Index: hw/xfree86/fbdevhw/fbdevhw.c
|
|
===================================================================
|
|
--- hw/xfree86/fbdevhw/fbdevhw.c.orig
|
|
+++ hw/xfree86/fbdevhw/fbdevhw.c
|
|
@@ -964,9 +964,10 @@ fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mo
|
|
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
|
|
@@ -982,9 +983,10 @@ fbdevHWSaveScreen(ScreenPtr pScreen, int
|
|
|
|
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;
|
|
}
|
|
|