1 Ugly hack that prevents server termination with xf86-video-fbdev-0.4.1
2 (and probably other) while returning from chvt or resume on some
3 hardware (e. g. zaurus).
5 Correct fix would require debugging of fbdev mode during LeaveVT and
8 This patch may cause staying in incorrect or corrupted display mode
9 after EnterVT, but on man affected devices it does not cause any visible
12 Hacked code is never called on properly written drivers.
14 Devices affected and testers involved for future patch removal:
15 Sharp Zaurus (spitz/akita): Stanislav Brabec <utx@penguin.cz>
18 https://bugzilla.redhat.com/show_bug.cgi?id=238451
20 The bug (first line indicates that your device is affected):
22 (EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
25 EnterVT failed for screen 0
27 Index: xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c
28 ===================================================================
29 --- xorg-server-1.7.3.orig/hw/xfree86/fbdevhw/fbdevhw.c
30 +++ xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c
31 @@ -571,7 +571,7 @@ fbdevHWSetMode(ScrnInfoPtr pScrn, Displa
33 print_fbdev_mode("returned", &set_var);
36 + /* return FALSE; UGLY HACK to allow return from chvt */