LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Linux on a sparc

[ILUG] Linux on a sparc

Paul J Collins sneakums at zork.net
Tue Mar 13 09:06:44 GMT 2001


>>>>> "JM" == John Malone <johnm at netsoc.ucd.ie> writes:

    JM> Recently I installed Debian on my Ultra 10. All went well
    JM> (eventually) and it installed all the usuall stuff. X is less
    JM> successful though. The problems are with the keyboard and
    JM> mouse. I have tried manually editing the config file but when
    JM> I start X with what looks like a reasonable setting the mouse
    JM> fails to work and the key mappings are foobar'd.  Solution is
    JM> to telnet in and kill X.

It would be useful if you had quoted your "reasonable settings".
Process of elimination, don'tcherknow!

    JM> Any one have a suitable X config file that they could send me
    JM> (off list)to get X going?

I use the following (see end) on a Ultra 5 with xserver-mach64; with
luck it's reasonably close to what you'll need for the Ultra 10.  One
issue is that there is no XKB layout for a UK Sun keyboard, so I'm
stumbling along with it in US.  You may need to do the following, as
there was no device node for the Sun mouse on my install:

# mknod /dev/sunmouse c 10 6

    JM> I previously had RedHat on it and it detected and configured
    JM> everything no probs. I deceided to give Debian a go as apt-get
    JM> is cool. However the install and configuring of debian seems
    JM> to suck (or should I RTFM).  RedHat happily configured all the
    JM> standard Ultra 10 hardware and up popped X first time.

I takes a little getting used to, true.

    JM> Also anyone installing linux on a Sparc is well advised to
    JM> note down the boot devices on paper so that when linux f*cks
    JM> it all up you can get it all up and running in no time and not
    JM> have to fool around in the OK prompt for an age trying to get
    JM> it all booting again:)

    JM> Think I'll stick to slowaris on the sparcs for the mo :)

I find using Solaris on an Ultra 5 utterly unbearable.  Debian is much
smoother and a lot more easy to use (and I don't mean that in a GUI
sense).

# XF86Config file preconfigured for SPARC machines

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath	"/usr/lib/X11/fonts/misc/:unscaled"
    FontPath	"/usr/lib/X11/fonts/cyrillic/:unscaled"
    FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath	"/usr/lib/X11/fonts/Speedo/"
    FontPath	"/usr/lib/X11/fonts/Type1/"
    FontPath	"/usr/lib/X11/fonts/misc/"
    FontPath	"/usr/lib/X11/fonts/cyrillic/"
    FontPath	"/usr/lib/X11/fonts/75dpi/"
    FontPath    "/usr/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
    #NoTrapSignals
    #DontZap
    #DontZoom
EndSection

Section "Keyboard"
    Protocol    "Standard"
    # AutoRepeat  500 5

    # Let the server do the NumLock processing.  This should only be
    # required when using pre-R6 clients.
    #ServerNumLock

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    #Xleds      1 2 3

    LeftAlt        Meta
    RightAlt       Meta
    ScrollLock     Compose
    RightCtl       Control

# To disable the XKEYBOARD (XKB) extension, uncomment XkbDisable.  When not
# using XKB, the server often guesses the console keymap incorrectly;
# uncomment appropriate lines in /etc/X11/Xmodmap to fix it.

#    XkbDisable

# The following works for a Type 5 North American keyboard.
# XKB is extremely poorly documented (thanks, SGI!).  Good luck.

    XkbModel    "sun"
    XkbKeycodes "sun(type5)"
#
# PC (PS/2) keyboard users (North America)
#    XkbRules  "xfree86"
#    XkbModel  "pc104"
#    XkbLayout "us"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"
    Protocol    "sun"
    # The mouse is most likely located at one of three places:
    Device      "/dev/sunmouse" # traditional Sun mouse
    # Device      "/dev/mouse" # usually a symlink to the real device
    # Device      "/dev/misc/sunmouse" # devfs location

    # For PS/2 systems, you should install GPM, use mouse type "ps2" (or
    # whatever protocol is appropriate for your mouse), set up the repeater
    # for "raw", then uncomment these settings
    # Protocol    "ps/2"
    # Device      "/dev/gpmdata"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# any number of monitor sections may be present

Section "Monitor"

    Identifier  "Generic Monitor"
    VendorName  "Unknown"
    ModelName   "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5-80

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-120

# Sun Microsystems Modes
#   The third number in the mode name is the vertical refresh rate.

ModeLine "1152x900x66"  94.5    1152 1192 1320 1528   900 902 906 937 -hsync -vsync
ModeLine "1152x900x76"  108.0   1152 1184 1312 1504   900 902 906 937 -hsync -vsync
ModeLine "1280x1024x67" 117.0   1280 1296 1408 1632   1024 1026 1034 1067 -hsync -vsync
ModeLine "1280x1024x76" 135.0 1280 1312 1376 1664   1024 1026 1034 1066 -hsync -vsync

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# any number of graphics device sections may be present

Section "Device"
    Identifier  "Generic Video Card"
    VendorName  "Unknown"
    BoardName   "Unknown"
    #VideoRam    2048
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# the Mach64 or 3DLabs/GLINT accelerated server
Section "Screen"
    Driver      "accel"
    Device      "Generic Video Card"
    Monitor     "Generic Monitor"
    Subsection "Display"
        Depth       16
        Modes       "1152x900x76"
        ViewPort    0 0
        Virtual     1152 900
    EndSubsection
EndSection

# the VGA16 server
Section "Screen"
    Driver      "vga16"
    Device      "Generic Video Card"
    Monitor     "Generic Monitor"
    Subsection "Display"
        Modes       "1152x900x76"
        ViewPort    0 0
        Virtual     1152 900
    EndSubsection
EndSection


-- 
"Pity has no place at my table."
      -- Dr Hannibal Lecter




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell