help needed with X on Ultra II
Hi!
I am struggling with configuring X11 on a ultra enterprise II.
prtconf -F says: /sbus@1f,0/cgsix@3,0
the monitor is model GDM-17E10
I am trying it with the suncg6 X driver.
With a stock debian kernel-image-2.6.8-2-sparc64 , X does start, but
there is a blank screen, and I cannot ctrl-alt-f1 or ctrl-alt-backspace.
Using the serial console, I can run xclock on it, and xlsclient confirms
that xclock does run. I can also chvt1 and chvt 7.
With a 2.6.13.1 kernel, I cannot even get X to find the device:
(II) SUNCG6: driver for CGsix (GX and Turbo GX)
(EE) No devices detected.
Maybe the following additional information tells you something (note
that FB_SBUS option is not present in the 2.6.13.1 config, and as far
as I could figure out from the suncg6 source, it depends on frame buffer
support.):
root@bertolucci:/boot# grep SBUS config-2.6.*
config-2.6.13.1:CONFIG_SBUS=y
config-2.6.13.1:CONFIG_SBUSCHAR=y
config-2.6.13.1:# CONFIG_MYRI_SBUS is not set
config-2.6.8-2-sparc64:CONFIG_SBUS=y
config-2.6.8-2-sparc64:CONFIG_SBUSCHAR=y
config-2.6.8-2-sparc64:CONFIG_FB_SBUS=y
config-2.6.8-2-sparc64:CONFIG_MYRI_SBUS=m
Using stock debian kernel-image-2.4.27-2-sparc64, X works just fine,
when I change the mouse definition to the one which is commented out
in the config below.
Please tell me what is going on, and how to use X and latest kernels.
Thank you in advance.
Here is my XF86Config-4, looking at commented out things you can figure
what I was trying to change.
section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "yes"
Option "Pixmap" "24"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
# FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
# FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/CID/"
# FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "type1"
Load "freetype"
Load "bitmap"
Load "speedo"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "sun"
Option "XkbModel" "type5"
Option "XkbLayout" "us"
EndSection
Section
"InputDevice"
Identifier "Mouse0"
Driver
"mouse"
Option
"CorePointer"
Option "Device"
"/dev/psaux"
Option "Protocol"
"PS/2"
Option "Emulate3Buttons"
"true"
Option "ZAxisMapping" "4
5"
EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Protocol" "mousesystems"
# Option "Device" "/dev/sunmouse"
#EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Sun"
ModelName "GDM-17E10"
# HorizSync 30-82
# VertRefresh 50-150
HorizSync 30-50
VertRefresh 50-70
# Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
Identifier "Card0"
Driver "suncg6"
# BusID "SBUS:/sbus@1f,0/cgsix@3,0"
# BusID "SBUS:/iommu@0,10000000/sbus@0,10001000/cgsix@3,0"
Option "HWcursor" "yes"
Option "Accel" "yes
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8
DefaultFbBpp 24
# SubSection "Display"
# Depth 1
# Modes "1280x1024"
# EndSubSection
# SubSection "Display"
# Depth 4
# Modes "1280x1024"
# EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
# SubSection "Display"
# Depth 8
# Modes "1280x1024"
# EndSubSection
# SubSection "Display"
# Depth 15
# Modes "1280x1024"
# EndSubSection
# SubSection "Display"
# Depth 16
# Modes "1280x1024" "1152x864"
# EndSubSection
# SubSection "Display"
# Depth 24
# Modes "1280x1024" "1152x864" "1024x768"
# EndSubSection
EndSection
Reply to: