Subject: Re: testers with cg6 needed
To: Olev <hannula@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 05/18/2005 07:59:53
--Signature_Wed__18_May_2005_07_59_53_-0400_6PUE2DImNqkIHZcg
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> How far is the color support, acceleration and virtual consoles code?
> I'd give them a test on my SS2 with cg6.
Committed, should work without a hitch. There's only one missing bit -
if you want wsmouse support you need to attach it sparc64-style ( zstty
at zs, ms at zstty, wsmouse at ms ) which requires a few changes in
files.sparc and majors.sparc which aren't committed yet - otherwisely
the sparc64 code works fine on sun4m boxes and /should/ work at least on
sun4c too.
For console only just add:
wsdisplay* at cgsix?
wskbd* at kbd?
pseudo-device wsmux # mouse and keyboard multiplexor
pseudo-device wsfont
... and something like this:
#options WSEMUL_SUN
options WSEMUL_VT100
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
options WS_DEFAULT_FG=3DWSCOL_BLACK
options WS_DEFAULT_BG=3D0x0f
options WS_KERNEL_FG=3DWSCOL_GREEN
options WS_KERNEL_BG=3D0x0f
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_DEFAULTSCREENS=3D1
#options FONT_GALLANT12x22 # the console font
options FONT_BOLD8x16 # a somewhat smaller font
... to your kernel config, pick whatever font you like but only one for
now. A list is in src/sys/dev/wsfont/files.wsfont. Then remove or
comment out stuff like this:
options RASTERCONSOLE
options RASTERCONSOLE_FGCOL=3DWSCOL_BLACK
options RASTERCONSOLE_BGCOL=3DWSCOL_WHITE
... and do the usual config / make depend / make ritual.
before rebooting make sure you can login via network in case something
goes wrong. You need to change /etc/ttys for the wscons stuff, like
this:
console "/usr/libexec/getty suncons" sun-ss5 off secure
ttyE0 "/usr/libexec/getty std.9600" xterm-color on secure
ttyE1 "/usr/libexec/getty std.9600" xterm-color on secure
ttyE2 "/usr/libexec/getty std.9600" xterm-color on secure
ttyE3 "/usr/libexec/getty std.9600" xterm-color on secure
a getty on /dev/console does funny things when there's also one on
/dev/ttyE*, the terminal emulation should of course match whatever you
compiled into your kernel, like 'sun' if you use WSEMUL_SUN
The you might want to add
wscons=3Dyes
to your /etc/rc.conf and probably hack /etc/wscons.conf - by default it
requests vt100 screens as additional consoles. With vt100 emulation I'd
recommend xterm-color since it copes better with seemingly odd display
sizes that don't match any real terminal.
have fun
Michael
--Signature_Wed__18_May_2005_07_59_53_-0400_6PUE2DImNqkIHZcg
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQosuOcpnzkX8Yg2nAQIeWAgAgsjXDdoL3EQaICalp4tvdRAi+5QlBoiE
gfU/hjgbdmG2zyNyMbYB11PorqkGxwr/poHpUFTjklxrv3AyudHDhll9O081Sk6M
xWLh/ySFm6R54Suh9G/AdJVp/3RE/S1amu0vrqdAXI4cWj8Wk+VJ7YcjzIHQfhZv
EoWaIlKV9MDnhEbrej+vc/qwCaGjF3VtCW7QXFTsQHAw2xdnvNnvax0EAL0vWOc8
whhDAU2Xf5Knb9eqesKmJU1GJVBMAlam31CiSeR/GVD+CYndmCmEpghOwiqP1M6s
h1iGRwo8Z/uZmzVUBv9cBy/Aiiqccy/9CDKpljnG4cdVDJeruzVWnA==
=tA4p
-----END PGP SIGNATURE-----
--Signature_Wed__18_May_2005_07_59_53_-0400_6PUE2DImNqkIHZcg--