On Wed, 26 Dec 2001, Joshua Symons wrote:

> Am I correct in assuming that the sunffb drivers will not function on
> solaris and are linux only? If so (which it appears in the readme), are
> there any plans to bring this functionality to Solaris as well? We all
> know the Xsun made by sun is terribly slow.
>
Joshua,

  I am responding only because there is currently little sun driver
activity on the list, but I have been playing with some XF86/sun drivers
under Linux & Solaris.  I am not an XF86 person, but I am willing to
pass on my experiences, for what they are worth.  From here on, I
assume you have the XF86 source.

  1.  You can build a Solaris version of XF86, but the XF86 people
  could not support it.  What you have to do is:
    a.  In the config/cf directory, in the file <svr4.cf> you will see
        that you don't get the XFree86 server under Solaris unless
        the '( ...defined(BuildXFree86OnSparcSunOS))' succeeds.  Make
        it succeed, and for good measure "#define DoLoadableServer YES"
        Just putting both in the first half of your site.def file works.

    b.  The solaris version you get unconditionally bombs because it
        can't scan for PCI devices (i.e., it is basically unfinished).
        In <xc/programs/Xserver/hw/xfree86/os-support/bus>, look at
        'sparcPci.c,' and where the Solaris code just bombs with a fatal
        error to the effect you have called "sparcPciCfgRead()," either
        make it "return (CARD32) 0xffffffff;" or implement the function
        under Solaris.

  2.  If you have set all the other site definitions you need, you
      should now get a "clean" build of all of xfree86, set up to run
      from wherever you set the ProjectRoot to. (Clean in quotes because
      a few things, like xedit, don't build because of configuration
      problems on xf86's part --- at least for me).

      In any case, "make World" followed by "make install" should work.

  3.  Now, you are in unknown territory.  Try "XFree86 -configure"; you
      should get an initial guess at a usable XF86Config file.  Look at
      it, and look at the xf86 log file (in /var/log/X*.log) to see if
      you are more or less satisfied.  Your config file should have
      somewhere in it a section with at least
        Section "Device"
          Identifier "some-card"
          Driver "sunffb"
          ...
        EndSection
      and a corresponding "Screen" section tied to "some-card"
      If not, you can always force a device section using "sunffb"
      as just described and see what
        XFree86 -probeonly -xf86config Your-test-config-file
      says.

  4.  If you get this all working to your satisfaction, you "should"
      be OK, but don't hold me to it.

  5.  You will notice that the sunffb driver you have built doesn't
      know anything about screen blanking or DPMS (which is the only
      reason that I even know what you are asking.)  If you care, and
      if what I have outlined otherwise seems to work, I can give you
      a little source patch to the sunffb driver which lets it do
      screen blanking and power management for a Creator3D/rev-3 with
      a GDM-20E20, thanks to some pointers from David Miller, one of
      the driver's authors.

  6.  By the way, XF86 does contain a version of Xsun24 which (under
      linux, at least) supports  your card and builds with no changes
      as I described.  Make sure that in your "sun.cf" file you have
      defined
        #define XSun24Server YES
        #define XSunServer   YES
      and you should get those to play with as well.

I've told you probably more than I know; hope it's of some use.

Regards, Ferris
 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> + Joshua Symons - Unix Administrator
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> + If the automobile had followed the same development as the
> + computer, a Rolls-Royce would today cost $100, get a million 
> + miles per gallon, and explode once a year killing everyone 
> + inside.  - Robert Cringely
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
> 

--
Ferris McCormick (P44646, MI) <[EMAIL PROTECTED]>
Phone: (703) 392-0303
Fax:   (703) 392-0401


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to