View | Details | Raw Unified | Return to bug 146462
Collapse All | Expand All

(-)hw/xfree86/fbdevhw/fbdevhw.c.orig (-4 / +6 lines)
Lines 923-931 fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mo Link Here
923
			return;
923
			return;
924
	}
924
	}
925
925
926
	/* Novell Bug #146462 */
926
	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)fbmode))
927
	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)fbmode))
927
		xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
928
		xf86DrvMsg(pScrn->scrnIndex, X_INFO,
928
			   "FBIOBLANK: %s\n", strerror(errno));
929
			   "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
929
}
930
}
930
931
931
Bool
932
Bool
Lines 941-949 fbdevHWSaveScreen(ScreenPtr pScreen, int Link Here
941
942
942
	unblank = xf86IsUnblank(mode);
943
	unblank = xf86IsUnblank(mode);
943
944
945
	/* Novell Bug #146462 */
944
	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)(1-unblank))) {
946
	if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *)(1-unblank))) {
945
		xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
947
		xf86DrvMsg(pScrn->scrnIndex, X_INFO,
946
			   "FBIOBLANK: %s\n", strerror(errno));
948
			   "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
947
		return FALSE;
949
		return FALSE;
948
	}
950
	}
949
951

Return to bug 146462