I appreciate the feedback I've recieved so far on this issue, as XFree86 is a
bit bigger than I'm used to.
For the record, I'm using the XFree86 4.3.99.902 source tarball (with one
compile fix from the devel mailing list) and am testing on Solaris 9 12/02 and
an Ultra 30 with a Creator 3D card. I used the following host.def to get a
debuggable server to compile:
#ifndef _HOST_DEF
#define _HOST_DEF
/* From build documentation for Solaris */
#define BuildXFree86OnSparcSunOS YES
#define ThreadedX NO
/* Just build XFree86 and not any Xsun servers */
#define XsunServer NO
/* For the sake of debugging */
#define OptimizedCDebugFlags -g
#define InstallXserverSetUID NO
#define DoLoadableServer NO
#define BuildFonts NO
/* Needed to avoid linking errors when building XFree86 executable */
#define AsVISOption -xarch=v8plusa
#define UseElfFormat YES
#define XF86CardDrivers sunffb
#endif /* #ifndef _HOST_DEF */
I traced the first roadblock in getting the XFree86 ffb driver working on
Solaris to a function called CheckSbusDevice() in xf86sbusBus.c. The really
big issue is that Sun's ffb kernel driver does not implement the FBIOGATTR and
FBIOGTYPE ioctl() requests, and some on-line searching reveals that the
requests defined in the header file sys/visual_io.h are a better bet.
Unfortunately, there doesn't appear to be suitable alternatives to FBIOGATTR
and FBIOGTYPE in that header.
I ran the command "truss -f ffbconfig -prconf" to see where Sun's programmers
might be getting the required information, and I am seeing the following calls
to ioctl() which appear to be using undocumented requests:
...
11435: ioctl(3, (('F'<<8)|80), 0x0002D778) = 0
11435: ioctl(3, (('F'<<8)|84), 0x0002D774) = 0
11435: ioctl(3, (('F'<<8)|85), 0x0002D5E0) = 0
11435: ioctl(3, (('F'<<8)|94), 0x0002D5D0) = 0
...
11435: ioctl(3, (('F'<<8)|95), 0x0002D5D0) = 0
11435: ioctl(3, (('F'<<8)|92), 0x0002D5D8) = 0
11435: ioctl(3, (('F'<<8)|93), 0x0002D5D8) = 0
...
Do these look familiar to anyone? I have grepped my whole hard drive with no
luck in finding definitions or documentation of these requests. Also, some
searches on Goole report people with similar problems...but no answers,
unfortunately.
Matt
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel