From: Aivils S. <Aiv...@un...> - 2003-11-26 13:36:37
|
>> I mean linuxconsole.sf.net. >> Latest CVS do not need vt3.diff and rc1.patch. >> Overlapped code removed and fbcon should pop up properly. as well suspicious http://startx.times.lv/ruby-260t9-CVS-20031115.tar.bz2 >so i'll have to start over with the compilation :-) >could you send me/upload the new code ( i still don't trust sf's cvs) > ><me sucks EAGAIN> >the old kernel , the one i used the last time for testing >does work with multiple framebuffer consoles :-) >i probably missed smth the previous time >:-) yes it works with 2users on the 2 heads :-) 2 heads of one matrox or another video adapters? >but when i start x > >1.) >on the second head i can not switch to console >in the X log >"Failed to switch consoles (No such device or address)" Second head uses /dev/vc/17 to /dev/vc/32 , but xf86 will switch Ctrl-Alt-F1 == /dev/vc/1 to neighbour console. You van applay primitive patch --- xc-changed/programs/Xserver/hw/xfree86/common/xf86Events.c 2003-02-20 04:20:52.000000000 +0000 +++ xc-changed/programs/Xserver/hw/xfree86/common/xf86Events.chg.c 2003-11-26 16:28:17.000000000 +0000 @@ -102,7 +102,8 @@ extern void XTestStealMotionData(); EqEnqueue((ev)) #endif - +#define VT_SHIFT 16 + /* * The first of many hacks to get VT switching to work under * Solaris 2.1 for x86. The basic problem is that Solaris is supposed @@ -322,7 +323,7 @@ xf86ProcessActionEvent(ActionEvent actio #if defined(QNX4) xf86Info.vtRequestsPending = vtno; #else - if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno) < 0) + if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vtno + VT_SHIFT) < 0) ErrorF("Failed to switch consoles (%s)\n", strerror(errno)); #endif } >2.) >if i switch to console on the first head and then back to X, >i get the X(head 1) running on both heads >X(head2) continues to work, but as console swicthing doesn't work >on X (head 2) i can not activate it,or switch to VC >(needs more testing, tmp workaround kill X(head2) and restart it, >or do not switch to VC on 1st head) Matrox driver? >3.) > gdm locks the PC >(may be needs some tweaking, testing > starting X from fb console works in the already described way) Aivils |