Subject: Re: ultra5 & Xwindows
To: Davide Zanon <d.zanon@ininito.it>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 05/02/2005 09:09:11
--Signature_Mon__2_May_2005_09_09_11_-0400_U5kktOcB_RaYt2fi
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> Now I've got a big problem :( keyboard doesn't work anymore... I had a
> quick look at kernel config files, but I can't find anything about
> keyboard. And now I can't do anything (no serial cables, nothing at
> all :( ) to solve this... any hints?
This can have different causes:
- do you have a line for ttyE0 in /etc/ttys and commented out the
console line? If you use wscons you need ttyE0 ( and probably ttyE1, 2
and so on for virtual consoles ). Having both, console and ttyE0 enabled
causes problems too.
- the last few missing pieces for proper wskbd support were
committed a few days ago - did you update src/sys/dev/sun recently?
the keyboard stuff in your kernel config should look like this:
com* at ebus? # `com' driver for `su'
kbd0 at com? # keyboard
wskbd* at kbd0 console ?
... and your dmesg output should look like this:
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
com0: console
kbd0 at com0 (console input)
...
machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev.
0x5c) machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at
0xe2000000 memctl: 00651a77
machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
machfb0: initial resolution 1280x1024 at 8 bpp
wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
...
wskbd0 at kbd0: console keyboard, using wsdisplay0
... and my /etc/ttys looks like this:
#console "/usr/libexec/getty suncons" sun-ss5 on 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
ttya "/usr/libexec/getty std.9600" unknown off secure
ttyb "/usr/libexec/getty std.9600" unknown off secure
ttyh0 "/usr/libexec/getty std.9600" unknown off secure
ttyh1 "/usr/libexec/getty std.9600" unknown off secure
I use vt100 emulation and xterm-color comes closest.
have fun
Michael
--Signature_Mon__2_May_2005_09_09_11_-0400_U5kktOcB_RaYt2fi
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQnYmd8pnzkX8Yg2nAQLm6Qf+M09hLcOS5GjjMEi7P7BcDwDkM9B3S93r
EKEwi6eMEzFqgvM1R2mUrJ2gGvCFe03zMdUo0U1W5ap/jE8fXl60d4LTf92wkXj6
FTdI8LYmMIf0paPL8e/7r8ZID5pdxKZSdeDpxf60uZyYIxOx0LZcti2CR7MlcXiq
QfD1LDXDCkNFEXhx1AAeQTaI3xmSgNE1808s6gya2056l6NRUa6UG4ynIThdVPt8
HZ8RpRdUeJPFf03LVGagcPmiYXtmdGqsdtLnmVYbF+l2FzG2w/RyEpNNDbG/W6Rc
jBlmqmH2LVrb9uUbDZSw0gFZavuRyvX5AVlu52Bipha1zjARcTGuHg==
=D9bi
-----END PGP SIGNATURE-----
--Signature_Mon__2_May_2005_09_09_11_-0400_U5kktOcB_RaYt2fi--