Saturday, January 14, 2006

Further to the FreeBSD on SPARC64

I got X and KDE running on the standard distribution. Took a little fiddling to get the keyboard and mouse working correctly. It seems that the setups all seem to be pretty PC-Centric, but I guess that's understandable.

Tip 1:
If you're using the built in video controller on the Ultra-5 (and this SHOULD work on the Ultra-10 as well), it's an ATI Rage device. I used the generic "ati" driver, and it works a treat at 1280x1024 on my Dell P990 monitor.

Section "Device"
Identifier "Sun ATI Rage"
Driver "ati"
EndSection

Tip 2:
My Monitor setup is really generic, but here goes:

Section "Monitor"
Identifier "Dell P990"
HorizSync 31.5 - 82.0
VertRefresh 40-150
EndSection


Tip 3:

Tie it all together with the screen section:

Section "Screen"
Identifier "Screen 1"
Device "Sun ATI Rage"
Monitor "Dell P990"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection


Tip 4 (this is a biggie!):
You need to enable moused so that /dev/sysmouse is the pointer device. In /etc/rc.conf, add the following entries:

moused_enable="YES"
moused_type="mousesystems"
moused_port="/dev/cuau3"

The InputDevices section of xorg.conf needs to look like this:

Section "InputDevice"

Identifier"Keyboard0"
Driver"kbd"
# Option "Protocol" "Xqueue"
Option "AutoRepeat" "500 30"
Option "XkbRules""sun"
Option "XkbModel""type5"
Option "XkbLayout""us"
EndSection

Section "InputDevice"
Identifier"Mouse1"
Driver"mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
EndSection


Still no audio yet, but then it's not compiled into the standard kernel. It's a Crystal Semiconductor device, which I hope is supported. More news as it comes to hand.

0 Comments:

Post a Comment

<< Home