On Sun, 15 Feb 2004, Marc Aurele La France wrote: > On Sat, 14 Feb 2004, Matt Prazak wrote:
> > 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.
> It might help to know that the Linux kernel defines some of these as
> /* Creator ioctls */
> #define FFB_IOCTL ('F'<<8)
> #define FFB_SYS_INFO (FFB_IOCTL|80)
> #define FFB_CLUTREAD (FFB_IOCTL|81)
> #define FFB_CLUTPOST (FFB_IOCTL|82)
> #define FFB_SETDIAGMODE (FFB_IOCTL|83)
> #define FFB_GETMONITORID (FFB_IOCTL|84)
> #define FFB_GETVIDEOMODE (FFB_IOCTL|85)
> #define FFB_SETVIDEOMODE (FFB_IOCTL|86)
> #define FFB_SETSERVER (FFB_IOCTL|87)
> #define FFB_SETOVCTL (FFB_IOCTL|88)
> #define FFB_GETOVCTL (FFB_IOCTL|89)
> #define FFB_GETSAXNUM (FFB_IOCTL|90)
> #define FFB_FBDEBUG (FFB_IOCTL|91)
> Other than that, my only suggestion is that there might be a package on
> your installation CDs that defines these.
You might also want to re-`make` with the attached patch.
Marc.
+----------------------------------+-----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Computing and Network Services | fax: 1-780-492-1729 |
| 352 General Services Building | email: [EMAIL PROTECTED] |
| University of Alberta +-----------------------------------+
| Edmonton, Alberta | |
| T6G 2H1 | Standard disclaimers apply |
| CANADA | |
+----------------------------------+-----------------------------------+
XFree86 developer and VP. ATI driver and X server internals.
fbio.diff.gz
Description: Binary data
