Initial commit

This commit is contained in:
2025-07-28 00:09:38 +02:00
commit 94b4ffab7e
5 changed files with 193 additions and 0 deletions

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# NetBSD on Sun Blade 1500
Configuration files I've modified or added to get NetBSD to run
well on my Sun Blade 1500 with a Sun XVR-100 graphics card.

1
etc/X11/xinitrc/.Xmodmap Normal file
View File

@@ -0,0 +1 @@
keycode 117 = Multi_key

84
etc/X11/xorg.conf Normal file
View File

@@ -0,0 +1,84 @@
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/X11R7/lib/modules"
FontPath "/usr/X11R7/lib/X11/fonts/misc/"
FontPath "/usr/X11R7/lib/X11/fonts/TTF/"
FontPath "/usr/X11R7/lib/X11/fonts/Type1/"
FontPath "/usr/X11R7/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R7/lib/X11/fonts/100dpi/"
FontPath "/usr/pkg/share/fonts/X11/misc/"
FontPath "/usr/pkg/share/fonts/X11/TTF/"
FontPath "/usr/pkg/share/fonts/X11/Type1/"
FontPath "/usr/pkg/share/fonts/X11/75dpi/"
FontPath "/usr/pkg/share/fonts/X11/100dpi/"
EndSection
Section "Module"
Load "dri"
Load "dri2"
Load "glx"
Load "shadow"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "radeon"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSectionSub "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSectionSub "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSectionSub "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSectionSub "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSectionSub "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSectionSub "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

31
etc/rc.conf Normal file
View File

@@ -0,0 +1,31 @@
# $NetBSD: rc.conf,v 1.97 2014/07/14 12:29:48 mbalmer Exp $
#
# See rc.conf(5) for more information.
#
# Use program=YES to enable program, NO to disable it. program_flags are
# passed to the program on the command line.
#
# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overridden below.
#
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
fi
# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES
# Add local overrides below.
#
dhcpcd=YES
dhcpcd_flags="-qM bge0"
hostname=joanna.nixnet.jke
dhcpcd=YES
dhcpcd_flags="-qM bge0"
sshd=YES
ntpd=YES
wscons=YES
securelevel=-1

74
etc/wscons.conf Normal file
View File

@@ -0,0 +1,74 @@
# $NetBSD: wscons.conf,v 1.22 2022/08/29 15:39:19 uwe Exp $
#
# workstation console configuration
# fonts to load
# name width height enc file
#font ibm - 8 ibm /usr/share/wscons/fonts/vt220l.808
# Note: "pcvt" encoded fonts are only useful with the "*bf" screen types
# of the "vga" driver. The kernel must be compiled with the option
# "WSCONS_SUPPORT_PCVTFONTS" turned on. See vga(4).
#font pcvt - - pcvt /usr/share/wscons/fonts/vt220h.816
#font pcvt - 8 pcvt /usr/share/wscons/fonts/vt220h.808
# Font for central european languages (ISO 8859-2).
# Uncomment to load. Needs to be explicitly enabled (see below).
#font latin2 - 16 iso /usr/share/wscons/fonts/latin2.816
# Terminus at different sizes (the wsf files carry all the necessary
# information but rc.d/wscons wants the name to be specified).
#font Terminus16B-ISO8859-1 - - - /usr/share/wscons/fonts/ter-116b.wsf
#font Terminus20-ISO8859-1 - - - /usr/share/wscons/fonts/ter-120n.wsf
#font Terminus24-ISO8859-1 - - - /usr/share/wscons/fonts/ter-124n.wsf
#font Terminus28-ISO8859-1 - - - /usr/share/wscons/fonts/ter-128n.wsf
#font Terminus32-ISO8859-1 - - - /usr/share/wscons/fonts/ter-132n.wsf
# screens to create
# idx screen emul
# Screen 0 is already configured as console in most cases.
# Uncomment if a serial console is used.
#screen 0 - vt100
screen 1 - vt100
screen 2 - vt100
screen 3 - vt100
screen 4 - -
#screen 4 80x25bf vt100
# Note: You must uncomment the 'font ibm' line above to get a useful
# font for any 50 line screens.
#screen 5 80x50 vt100
#keyboard auto
# Select a kernel builtin keyboard map by uncommenting the following line and
# altering the country code to your requirements.
# See wskbd(4) for a full list of supported options.
encoding sv
#encoding us.swapctrlcaps
# Redefine individual keys from a file containing "keysym" and/or "keycode"
# entries.
# See wsconsctl(8) and /usr/share/wscons/keymaps for more details.
#mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii
# Set arbitrary wscons variable using specified control device
# ctldev var value
#setvar ttyE0 font ibm
#setvar ttyE1 font ibm
# Uncomment for ISO 8859-2 support
#setvar ttyE0 font latin2
#setvar ttyE1 font latin2
#setvar ttyE2 font latin2
#setvar ttyE3 font latin2
# Use Terminus (see above for available sizes)
#setvar ttyE0 font Terminus32-ISO8859-1
#setvar ttyE1 font Terminus32-ISO8859-1
#setvar ttyE2 font Terminus32-ISO8859-1
#setvar ttyE3 font Terminus32-ISO8859-1
# Change keyboard repeat speed to faster settings.
#setvar wskbd repeat.del1 250
#setvar wskbd repeat.deln 30