[top-posting and no-trimming damage repaired manually -Mouse]
Is the Sun 2 Keyboard a serial keyboard?
Depends on what you mean by "Sun 2 Keyboard". [description]
I'd call it a type 2. It's been a while, but as I recall, they had
a coiled cable with an RJ-style plug on the host end, [...]
Yes that is exactly
the keyboard I have, it is a Large metal keyboard
with an RJ45 plug which connects via a cable to a DB15 adapter.
That's not it, then; the keyboards in question use plugs substantially
narrower than RJ45 (or more correctly 8P8C, since it's not RJ45 unless
you're putting POTS phone service on the middle pair). I think they
were 4P4C, but might have been 6P6C - or more likely 6P4C.
I'll assume your "RJ45" was just a (very loose) term for "modular
plug/jack of unspecified size", for purposes of this email.
If that is in fact a serial keyboard, would it be as
simple as using
a RJ45 to DB25 adapter?
For use on a stock RS232 serial port? No. You didn't specify that the
adapter be completely passive, but it doesn't matter, because I don't
think a serial port can drive enough power to run a Sun keyboard, so at
a minimum you would need an external power supply. Also, the adapter
would have to have some electroncis in it.
Sun keyboards of the sort I'm discussing here use RS232 data rates,
character size, and framing, but they use TTL voltage levels, not RS232
voltage levels. You need some electronics. What I find msot
convenient is a MAX232 or equivalent and two inverters (and an external
5V supply). A completely passive 4P4C (or 6P4C, whichever it is) to
DB25 adapter will not get the voltage levels right. Even if you tie
signal ground to 2.5V, the voltage swing isn't enough; IIRC RS232
specifies at least 3V either way from ground. (I _think_ the direction
of the swing is backwards, too, but I'd have to check that.)
When I wrote...
> I think that adapter was completely passive, being
just connectors
> and wiring.
...I was talking about an adapter to not a serial port such as is
typically put on a DB-25, but to a DA-15 port dedicated to the keyboard
and mouse. In the machine, it was connected to an ordinary UART port,
but without the level shifting circuitry serial ports generally have to
map between logic voltage levels and RS232 voltage levels.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B