[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [q]: mouse device for sparc (XF86 related)



    Hy John,

    I had these problems with my mouse and keyboard configuration when I was installing debian (potato) on my Ultra 10. After a long  strugle (3 days of useless work) and some help from this mailing list, I got to solve the problems. The first thing is to uninstall de GPM program. I don't know exactly why but the fact is that it causes some configurations problems and screws the mouse service. After that you should type these comand lines that i found out looking for on the old questions posted on the list. Just type:

    rm sunmouse
    mknod sunmouse c 10 6
    chown root:root sunmouse
    chmod 0660 sunmouse
    ln -s sunmouse mouse

    After that your mouse must to be working fine, but i gess your keyboard won't  be right configured. How my keyboard is a type 5 one like yours, try to type the keyboard configurations lines of my  /etc/X11/XF86Config file, as you can see bellow:

# 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/100dpi/:unscaled"
    FontPath "/usr/lib/X11/fonts/75dpi/: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/100dpi/"
    FontPath "/usr/lib/X11/fonts/75dpi/"
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.
     XkbRules "sun"
     XkbModel    "type5_PC"
     XkbKeycodes "sun(type5)"
     XkbCompat "compat/complete"
     XkbTypes "types/complete"
     XkbGeometry "sun(type5)"
# PC (PS/2) keyboard users (North America)
     XkbRules  "sun"
     XkbLayout "us"
     XkbSymbols "sun/us(sun5)"
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
 

    I sugest you make a copy of your original XF86Config file so you can restore it if something goes wrong. I hope it will help you. These tips solved my problems and a friend's Ultra 5 configurations problems.
    Best regards,

    Renato Guedes

    Brazilian electrical engineer - Laboratory of Computational Analysis - University of São Paulo - Brazil

 
 

John Mastrolia wrote:

Hello ..

I'm new to the debian distribution and am having trouble with properly
configuring XFree on SPARC.  Basically ..

/dev/sunmouse -> mouse

points to a non-existent driver /dev/mouse file. the only other devices
created by the os are /dev/usbmouse, which is not appropriate for sun.

hardware -
Sun Ultra 5
USA Type5 keyboard (UNIX)
standard sun mouse that connects to keyboard

perhaps I need to use mknod, but I'm not sure of the syntax for mouse
devices ... checking manpages in the meanwhile.

quick replies appreciated.

Thanks in advance.
John Mastrolia <jmastrol@yahoo.com>

=====
jmastrol@yahoo.com   | Windows 2000 sets new standards in reliability
                     | the way the Ford Pinto set new standards in
                     | rear-end crash survivability.  - Ken Zachmann

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: