xserver-multidpi/hw/xfree86/os-support
Alan Coopersmith 2d34eace13 Sun bug 6872917: Xorg not querying /dev/fb when no xorg.conf exists
commit 48ee555833 (OpenSolaris VT support)
broke the autoconfiguration code in xf86AutoConfig.c that uses the
Solaris-specific VIS_GETIDENTIFIER ioctl on a frame buffer device like
/dev/fb by changing xf86Info.consoleFd from /dev/fb to a /dev/vt/*
device.

This fixes it by reworking the code to split the console device
(/dev/vt/*, the vtXX CLI option) from the frame buffer device
(/dev/fb, -dev option) to allow both VT and autoconfig to work.

It also fixes the console device to use /dev/fb when VT's are not
supported instead of throwing a Fatal Error because it can't open
/dev/vt/0.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-18 20:18:36 -07:00
..
bsd Fix build on Alpha 2009-08-12 14:45:13 -04:00
bus xfree86: remove pci debug macros 2009-07-28 18:45:16 +03:00
hurd xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
linux xfree86/linux: don't change VT perms unless we're running as root 2009-08-18 12:15:32 -07:00
misc Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
sco xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:01:23 +10:00
shared Ansify function arguments in VTsw_noop.c 2009-08-03 23:16:17 -07:00
solaris Sun bug 6872917: Xorg not querying /dev/fb when no xorg.conf exists 2009-08-18 20:18:36 -07:00
sysv Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00