xorg.conf for Sun Blade 100

View: New views
6 Messages — Rating Filter:   Alert me  

xorg.conf for Sun Blade 100

by jwoehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anyone got a working xorg.conf for a Sun Blade 100?

--
Jack J. Woehr            # "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead


Re: xorg.conf for Sun Blade 100

by Johan Zandin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 4 Oct 2008, Jack Woehr wrote:
> Anyone got a working xorg.conf for a Sun Blade 100?

See attached file. Working for OpenBSD 4.2.
But it's adapted for a SUN GDM-20D10 monitor and a Swedish
Type 7 keyboard, so may have to adjust it slightly (if that's
not your environment too).

But if I remember correctly, the relly important part of the
file is the following line under the FrameBuffer section:

    Option          "reference_clock" "28.636MHz"

So it may be sufficient to just copy that line into the default
xorg.conf file. (If you search the sparc list archive, there
should be a discussion about this setting.)

/Johan
Section "ServerLayout"

        Identifier "ATI, GDM-20D10, USB, USB"

        Screen 0 "Screen0" 0 0

        InputDevice "wsmouse0" "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/75dpi/:unscaled"

        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

        FontPath     "/usr/local/lib/X11/fonts/ghostscript/"

        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"

        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"

        FontPath     "/usr/local/share/fonts/afms"

        FontPath     "/usr/local/share/fonts/afms/adobe"

        FontPath     "/usr/local/share/fonts"

EndSection



Section "Module"

    Load        "type1"

    Load        "freetype"

    Load        "glx"

    Load        "extmod"

EndSection



# All Sun keyboards (USB Type 6/7, Serial Type 3/4/5/6)

Section "InputDevice"

        Identifier  "Keyboard0"

        Driver      "keyboard"

        Option    "Protocol"  "wskbd"

        Option    "Device"  "/dev/wskbd0"

        Option    "XkbRules"  "xorg"

        Option    "XkbLayout"   "se"

# Option    "XkbVariant"  "nodeadkeys"

# Option    "XkbLayout"   "us"

# Option      "XkbOptions"  "ctrl:swapcaps"

EndSection



# USB Mice

Section "InputDevice"

        Identifier "wsmouse0"

        Driver "mouse"

        Option "Protocol" "wsmouse"

        Option "Device"   "/dev/wsmouse0"

EndSection



# Sun GDM-20D10 Monitor

Section "Monitor"

        Identifier   "Monitor"

        VendorName   "Sun"

        ModelName    "GDM-20D10"

        Option       "DPMS"

        HorizSync    40-82

        VertRefresh  50-180

        Modeline  "640x480"    50      640  648  696  832   480  481  484  509 +hsync +vsync

        Modeline  "720x540"    55      720  728  776  912   540  541  544  569 +hsync +vsync

        Modeline  "720x600"    55      720  728  776  912   600  600  603  631 +hsync +vsync

        Modeline  "800x600"    65      800  816  880 1048   600  600  603  631 +hsync +vsync

        Modeline  "1024x768"  110     1024 1056 1184 1360   768  770  774  805

        Modeline  "1152x864"  105     1152 1192 1352 1440   864  865  875  895

        Modeline  "1152x900"  110.87  1152 1224 1352 1552   900  901  904  940  Composite

        Modeline  "1280x1024" 141.82  1280 1376 1512 1744  1024 1025 1028 1070  Composite

        Modeline  "1600x1200" 162     1600 1664 1856 2160  1200 1201 1204 1250

EndSection



# ATI FrameBuffer

Section "Device"

        Identifier "FrameBuffer"

        Driver "ati"

        BusID "PCI:0:19:0"

        Option "reference_clock" "28.636MHz"

        Option          "OverlayMem" "829440"

EndSection



# FrameBuffer + Monitor

Section "Screen"

        Identifier "Screen0"

        Device     "FrameBuffer"

        Monitor    "Monitor"

        DefaultDepth 24

        SubSection "Display"

                Depth 8

                Modes "1600x1200" "1280x1024" "1152x900" "1152x864" "1024x768" "800x600" "720x600" "720x540" "640x480"

        EndSubSection

        SubSection "Display"

                Depth     24

                Modes "1600x1200" "1280x1024" "1152x900" "1152x864" "1024x768" "800x600" "720x600" "720x540" "640x480"

        EndSubSection

EndSection



Re: xorg.conf for Sun Blade 100

by Matthieu Herrb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jack Woehr wrote:
> Anyone got a working xorg.conf for a Sun Blade 100?

If you have the on-board graphics, this should work. The important part
in the "reference_clock" option (which is documented in /usr/X11R6/README).

If you have another graphics card, it is currently unsupported. Please
send a dmesg first, and then wait for miod/kettenis to provide support
for it.

--
Matthieu Herrb
#
# Unaccelerated, single display configuration
#
Section "ServerLayout"
        Identifier "wsfb"
        Screen 0 "Screen0" 0 0
        InputDevice    "wsmouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
       
Section "Files"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
EndSection

Section "Module"
    Load        "type1"
#    Load        "freetype"
    Load        "glx"
    Load        "extmod"
EndSection

# All Sun keyboards (USB Type 6, Serial Type 3/4/5/6)
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option    "Protocol"  "wskbd"
        Option    "Device"  "/dev/wskbd0"
        Option    "XkbRules"  "xorg"
        Option    "XkbModel"    "sun"
        Option    "XkbLayout"   "us"
EndSection

# USB Mice
Section "InputDevice"
        Identifier "wsmouse0"
        Driver "mouse"
        Option "Protocol" "wsmouse"
        Option "Device"   "/dev/wsmouse0"
EndSection

# Serial mice on zstty ports
#Section "InputDevice"
# Identifier "zsmouse0"
# Driver "mouse"
# Option "Protocol" "SunMouse"
# Option "Device" "/dev/ttyc"
# Option "Baudrate" "1200"
#EndSection

# Serial mice on com ports
#Section "InputDevice"
# Identifier "commouse0"
# Driver "mouse"
# Option "Protocol" "SunMouse"
# Option "Device" "/dev/tty00"
# Option "Baudrate" "1200"
#EndSection

# All monitors
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-100
        VertRefresh  50-90
EndSection

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

Section "Device"
        Identifier      "Card0"
        Driver          "mach64"
        BusID           "PCI:0:19:0"
        #Option          "composite_sync" "True"
        Option "reference_clock" "29.5MHz"
EndSection

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

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth   8
                Modes   "1152x864" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth   16
                Modes   "1152x864" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth   24
                Modes   "1152x864" "1024x768"
        EndSubSection
EndSection

#
# EOF
#


Re: xorg.conf for Sun Blade 100

by Joe Gidi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Anyone got a working xorg.conf for a Sun Blade 100?
>
> --
> Jack J. Woehr            # "Self-delusion is
> http://www.well.com/~jax #  half the battle!"
> http://www.softwoehr.com #  - Zippy the Pinhead

This one works fine for me under -current. You'll probably have to change
the BusID for the video card; my Blade 100 is using a PCI card instead of
the onboard.

Section "ServerLayout"
        Identifier "wsfb"
        Screen 0 "Screen0" 0 0
        InputDevice    "wsmouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/Liberation/"
EndSection

# All Sun keyboards (USB Type 6, Serial Type 3/4/5/6)
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option    "Protocol"  "wskbd"
        Option    "Device"  "/dev/wskbd0"
        Option    "XkbRules"  "xorg"
        Option    "XkbLayout"   "us"
EndSection

# USB Mice
Section "InputDevice"
        Identifier "wsmouse0"
        Driver "mouse"
        Option "Protocol" "wsmouse"
        Option "Device"   "/dev/wsmouse0"
EndSection

# Serial mice on zstty ports
Section "InputDevice"
        Identifier "zsmouse0"
        Driver "mouse"
        Option "Protocol" "SunMouse"
        Option "Device" "/dev/ttyc"
        Option "Baudrate" "1200"
EndSection

# Serial mice on com ports
Section "InputDevice"
        Identifier "commouse0"
        Driver "mouse"
        Option "Protocol" "SunMouse"
        Option "Device" "/dev/tty00"
        Option "Baudrate" "1200"
EndSection

# All monitors
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    30-70
        VertRefresh  50-120
EndSection

Section "Device"
        Identifier "Card0"
        Driver "ati"
        BusID "PCI:1:2:0"
        Option "composite_sync" "True"
        # Use the following option on Blade-100
        Option "reference_clock" "29.5MHz"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth 8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection

--
Joe Gidi
joe@...


Re: xorg.conf for Sun Blade 100

by Khalid Schofield-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cool! Been using my blade 100's in console mode only. Only one  
terminal is a pain. Now I can open lots on the same xorg session.  
Fantastic. Thanks dude for the config :P



On 5 Oct 2008, at 07:53, Matthieu Herrb wrote:

> Jack Woehr wrote:
>> Anyone got a working xorg.conf for a Sun Blade 100?
>
> If you have the on-board graphics, this should work. The important  
> part
> in the "reference_clock" option (which is documented in /usr/X11R6/
> README).
>
> If you have another graphics card, it is currently unsupported. Please
> send a dmesg first, and then wait for miod/kettenis to provide support
> for it.
>
> --
> Matthieu Herrb
> #
> # Unaccelerated, single display configuration
> #
> Section "ServerLayout"
> Identifier "wsfb"
> Screen 0 "Screen0" 0 0
> InputDevice    "wsmouse0" "CorePointer"
> InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
> EndSection
>
> Section "Module"
>    Load        "type1"
> #    Load        "freetype"
>    Load        "glx"
>    Load        "extmod"
> EndSection
>
> # All Sun keyboards (USB Type 6, Serial Type 3/4/5/6)
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver      "keyboard"
> Option    "Protocol"  "wskbd"
> Option    "Device"  "/dev/wskbd0"
> Option    "XkbRules"  "xorg"
> Option    "XkbModel"    "sun"
> Option    "XkbLayout"   "us"
> EndSection
>
> # USB Mice
> Section "InputDevice"
> Identifier "wsmouse0"
> Driver "mouse"
> Option "Protocol" "wsmouse"
> Option "Device"   "/dev/wsmouse0"
> EndSection
>
> # Serial mice on zstty ports
> #Section "InputDevice"
> # Identifier "zsmouse0"
> # Driver "mouse"
> # Option "Protocol" "SunMouse"
> # Option "Device" "/dev/ttyc"
> # Option "Baudrate" "1200"
> #EndSection
>
> # Serial mice on com ports
> #Section "InputDevice"
> # Identifier "commouse0"
> # Driver "mouse"
> # Option "Protocol" "SunMouse"
> # Option "Device" "/dev/tty00"
> # Option "Baudrate" "1200"
> #EndSection
>
> # All monitors
> 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-100
> VertRefresh  50-90
> EndSection
>
> # All framebuffers
> #Section "Device"
> # Identifier "Wsdisplay0"
> # Driver "wsfb"
> # Option "device" "/dev/ttyC0"
> #EndSection
>
> Section "Device"
> Identifier      "Card0"
> Driver          "mach64"
> BusID           "PCI:0:19:0"
> #Option          "composite_sync" "True"
> Option "reference_clock" "29.5MHz"
> EndSection
>
> # All framebuffers
> #Section "Screen"
> # Identifier "Screen0"
> # Device     "Wsdisplay0"
> # Monitor    "Monitor"
> # DefaultDepth 8
> # SubSection "Display"
> # Depth     8
> # EndSubSection
> # SubSection "Display"
> # Depth     16
> # EndSubSection
> # SubSection "Display"
> # Depth     24
> # EndSubSection
> #EndSection
>
> Section "Screen"
>        Identifier      "Screen0"
>        Device          "Card0"
>        Monitor         "Monitor"
>        DefaultDepth    24
>        SubSection "Display"
>                Depth   8
>                Modes   "1152x864" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Depth   16
>                Modes   "1152x864" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Depth   24
>                Modes   "1152x864" "1024x768"
>        EndSubSection
> EndSection
>
> #
> # EOF
> #


Re: xorg.conf for Sun Blade 100

by jwoehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matthieu Herrb wrote:

> Jack Woehr wrote:
>  
>> Anyone got a working xorg.conf for a Sun Blade 100?
>>    
>
> If you have the on-board graphics, this should work. The important part
> in the "reference_clock" option (which is documented in /usr/X11R6/README).
>
> If you have another graphics card, it is currently unsupported. Please
> send a dmesg first, and then wait for miod/kettenis to provide support
> for it.
>
>  
Thanks Joe Johan Matthieu ... great to get such quick help. Sunday was
kinda busy or I would have tried it earlier today!

Yes Matthieu video is just whatever they shipped me from Sun back in
2001 :-) Your xorg.conf works fine, though I'll have to play with the
kbd section .. the Sun kbd died some years ago and it has a Microsoft
kbd now and X doesn't recognize the Fkeys.

Thanks again all!

--
Jack J. Woehr            # "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead

LightInTheBox - Buy quality products at wholesale price!