X.org on Sun Ultra 10

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

X.org on Sun Ultra 10

Christian Ruediger Bahls
i post this to the list so it shows up in the web
should somebody have the some problem
(if you see any mistake please do not hesitate to contact me)

i hat problems setting up X.org for an Ultra 10
(i normally use that machine remote so X is less important)

this machine has a Creator3D Framebuffer
as well as an ATI Mach64 GP Graphics Card

dmesg:
vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GP" rev 0x5c
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
creator0 at mainbus0 addr 0xfebee000: Creator3D, model SUNW,501-4788, dac 10
wsdisplay1 at creator0: console (std, sun emulation), using wskbd0

the Monitor is connected to the Creator3D

/usr/X11R6/README helped for the first steps
(with 4.0 stable the keyboard did not work)

somehow i wasn't able to make X.org use the creator3d as display device
.. so i disabled the vgafb in the kernel config

with following xorg.conf at least i the display works:
(!notice the FbBpp!)

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "Protocol" "wskbd"
        Option "Device" "/dev/wskbd0"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option    "Protocol" "SunMouse"
        Option    "Device" "/dev/tty00"
        Option    "BaudRate" "1200"
EndSection

Section "Monitor"
        Identifier   "Monitor"
        VendorName   "Unknown"
        ModelName    "Unknown"
# Adjust those to your monitor before using another device than wsfb
# or you can destroy it !!
        HorizSync    31.5-60
        VertRefresh  50-70
EndSection

# All framebuffers
Section "Device"
        Identifier      "Wsdisplay0"
        Driver          "wsfb"
        Option          "device" "/dev/ttyC0"
EndSection

# All framebuffers
Section "Screen"
        Identifier "Screen0"
        Device     "Wsdisplay0"
        Monitor    "Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth     24
                FbBpp 32
                Weight 8 8 8
        EndSubSection
EndSection
#

yours
  christian bahls

--
personal reaches me at gmx.de
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: X.org on Sun Ultra 10

Nick Holland
Christian Ruediger Bahls wrote:

> i post this to the list so it shows up in the web
> should somebody have the some problem
> (if you see any mistake please do not hesitate to contact me)
>
> i hat problems setting up X.org for an Ultra 10
> (i normally use that machine remote so X is less important)
>
> this machine has a Creator3D Framebuffer
> as well as an ATI Mach64 GP Graphics Card
>
> dmesg:
> vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GP" rev 0x5c
> wsdisplay0 at vgafb0
> wsdisplay0: screen 0 added (std, sun emulation)
> creator0 at mainbus0 addr 0xfebee000: Creator3D, model SUNW,501-4788, dac 10
> wsdisplay1 at creator0: console (std, sun emulation), using wskbd0
  ^^^^^^^^^^
           |

> the Monitor is connected to the Creator3D
>
> /usr/X11R6/README helped for the first steps
> (with 4.0 stable the keyboard did not work)
>
> somehow i wasn't able to make X.org use the creator3d as display device
> .. so i disabled the vgafb in the kernel config

There's a better way... :)
...
> # All framebuffers
> Section "Device"
>         Identifier      "Wsdisplay0"
                           ^^^^^^^^^^
                                    |
>         Driver          "wsfb"
>         Option          "device" "/dev/ttyC0"
                                    ^^^^^^^^^^
make that                           /dev/ttyD0

> EndSection

i.e., set up X to drive the second device, not the first device.

See the section in /usr/X11R6/README about "..systems with both UPA and
VGA framebuffers ..."

What you did works, but in general, mod'ding the kernel (even with
config(8)) is less desirable than running completely stock, 'specially
when it comes to upgrades/updates.

Nick.

Reply | Threaded
Open this post in threaded view
|

Re: X.org on Sun Ultra 10

Christian Ruediger Bahls
[2006-11-24 17:51] Nick Holland <[hidden email]> wrote:
> There's a better way... :)
>
> Christian Ruediger Bahls wrote:
> > wsdisplay1 at creator0: console (std, sun emulation), using wskbd0
>   ^^^^^^^^^^
[...]
> > Section "Device"
> >         Identifier      "Wsdisplay0"
[...]
> >         Option          "device" "/dev/ttyC0"
>                                     ^^^^^^^^^^
> make that                           /dev/ttyD0
i tried that .. it did not work

> What you did works, but in general, mod'ding the kernel (even with
> config(8)) is less desirable than running completely stock, 'specially
> when it comes to upgrades/updates.
yes i know .. but using config -e is an option too

it did not find that FbBpp documented
which made the whole setup work
        SubSection "Display"
                Depth     24
                FbBpp   32
                Weight  8 8 8
        EndSubSection
(X complained about wrong color weights
 [shouldn't the server be able to read that from wsdisplay[01]?)


cheers
  christian bahls

--
personal email reaches me at gmx.de
[hidden email]