Summary: Type-5 keyboards

From: Ron Gilmer (rg@issi.com)
Date: Wed Jan 27 1993 - 15:26:05 CST


My original query was:

> Hello Sun Managers,
>
> The type 5 keybord is eluding me! q;-(
>
> We have several Sparc 2s with the type 5 keyboards.
>
> On bootup the system responds with type 4 keyboard found. The keyboard does not
> function properly until Openwindows is started (3.0). If we rlogin into another
> system, the key board will revert back to a type 4 and there goes the delete key!
>
> Is there a setting somewhere (ie. eeprom...) to tell the system that we have a
> type 5?
>
> Thanks in advance.

A little more info:

        Sun: Sparc 2
        SunOS: 4.1.2
        OpenBoot Prom: 2.4.1
        Openwin: 3.0
        Patches: none installed or needed for keyboard

The facts:

> On bootup the system responds with type 4 keyboard found.

You will always get this message. In Suns own words:

        "Type 5 keyboards identify themselves as type 4 for backward compatibility"

> The keyboard does not function properly until Openwindows is started (3.0)

I've been told that stty could handle this, no big deal.

> If we rlogin into another system, the key board will revert back to a
> type 4 and there goes the delete key!

Actually, the delete key works. It's the backspace key that starts acting up.
I'm so use to the delete key being at the top right corner of the main area
that I hadn't noticed that on a type 5, this is the back space. So I guess it's
"legal" for this key to put out ^H. However it would be nice for the backspace
and delete key to respond the same way on the remote system as my local system.

Kevin Hammond provided the idea of what to do by using xmodmap. I looked at the
man page and there was the answer to my question:

xmodmap -e 'keysym BackSpace = Delete BackSpace'

I put this into my .xinitrc file and now the delete and backspace key give the
same response no matter which system I'm on.

> Is there a setting somewhere (ie. eeprom...) to tell the system that we have a
> type 5?

No! See first fact.

I'm including the responses since I feel this could be useful. Most of the responses
deal with patches that are required for an earlier OS or Prom version than I am
running. Thanks to the following for responding with helpful suggestions:

===================================================================================

"Kevin W. Hammond" <hammond@kwhpc.chi.il.us>
abcomp!yves@cs.utexas.edu (Yves Hardy)
Ian Daniel <Daniel@europarc.xerox.com>
Jeff Mallory <jeff@access.digex.com>
Rob Hutten <rob.hutten@acadiau.ca>
bmskc!moe!sisul@uunet.uu.net (Jim Sisul)

===================================================================================
>From sunloop.Central.Sun.COM!kwhpc!kwhpc.chi.il.us!hammond@cs.utexas.edu Thu Jan 14 22:42:49 1993
Date: Thu, 14 Jan 1993 22:16:35 CST
From: "Kevin W. Hammond" <hammond@kwhpc.chi.il.us>
Organization: CASE Engineering
To: "Ron Gilmer" <rg>
Subject: Re: Type-5 keyboards
Content-Length: 1223
Status: RO
X-Lines: 30

On Thu, 14 Jan 93 08:29:39 CST, "Ron Gilmer" <rg@issi.com> wrote:
> Hello Sun Managers,
>
> The type 5 keyboard is eluding me! q;--(
>
> We have several Sparc 2s with the type 5 keyboards.
>
> On bootup the system responds with type 4 keyboard found. The keyboard does not
> function properly until Openwindows is started (3.0). If we rlogin into another
> system, the key board will revert back to a type 4 and there goes the delete key!
>
> Is there a setting somewhere (ie. eeprom...) to tell the system that we have a
> type 5?
>

One thing you can do that I do is set the dip switches on the under side of
the keyboard to match those on a Type 4 keyboard (I believe they are all off).
It'll work like a champ! We are still running OpenWindows 2.0 which blows up
if it finds a Type 5 keyboard installed. So we set it be a Type 4 and then
use xmodmap to set the extra keys on the keyboard to behave properly.

However, it still causes some grief when you go to another machine in that
sometimes you get ^H's for the backspace, rather than deleting the character.
stty gets rid of it real quick, but it's a pain. Lemme know if you find a
better way. Thanks.

Kevin W. Hammond

-- 
-kwh-
hammond@kwhpc.chi.il.us

>From abcomp!yves@cs.utexas.edu Fri Jan 15 04:14:51 1993 Date: Fri, 15 Jan 93 09:04:28 +0100 From: abcomp!yves@cs.utexas.edu (Yves Hardy) To: rg Subject: Re: Type-5 keyboards X-Sun-Charset: US-ASCII Content-Length: 1097 Status: RO X-Lines: 36

Hi,

Regarding your problem with the keyboards type 5, i have maybe a solution for you :

If you have an OpenBoot PROM 1.3 through 2.4 do not install the patch, if you have an OpenBoot PROM 1.2 or earlier, or if you have a SunMon EEPROM the type 5 keyboard will work like a U.S. type 4 keyboard at the boot PROM level.

To determine the OpenBoot PROM version, completes the following steps :

1. type halt and press return (as root)

2. if you see the > prompt, type n and press return This puts you in new command mode. The ok prompt appears

3. Type .version at the ok prompt and press return

4. Note the release number

If you work with SunOS 4.1, 4.1.1 or 4.1.2, you must install the patch for for the type 5 keyboard.

You can find this patch in the keyboard's box (cdrom)

I also can find the keymap file for your keyboard in the

/usr/share/lib/keytables directory

This file names for the type 5 keymaps are named by country followed by _5. The U.S. keyboard, for example, is named us_5.

Regards, yves --> yves@abcomp.be --> from Belgium

>From europarc.xerox.com!Daniel@cs.utexas.edu Fri Jan 15 04:19:33 1993 To: rg (Ron Gilmer) Subject: Re: Type-5 keyboards Date: Fri, 15 Jan 1993 02:05:34 PST From: Ian Daniel <Daniel@europarc.xerox.com> Content-Length: 191

There are OS Patches for 4.1.1 which I think you are running from the sound of it. Also, you need PROM Rev 2.1 (I think) or greater.

I don't know the patch number as it came on CD..

--Ian

There are OS PatchFrom access.digex.com!jeff@cs.utexas.edu Thu Jan 14 14:43:09 1993 Date: Thu, 14 Jan 93 15:29:09 -0500 From: Jeff Mallory <jeff@access.digex.com> To: rg Subject: type 5 keybd, previous summary Content-Length: 1150 Status: RO X-Lines: 42

Thanks to everyone that responded about my problem of running OpenWin2.0 with the new Type 5 (ugh) keyboards. The best suggestions were to RTF Release Notes (once I found them) and info about the DIP switch settings inside the back of the keyboard.

In summary:

To use type 5 keyboards with the following products, you need to get the the patches on the Type 5 Keyboard Supplement CD (part number T5KBD-21) from yer friendly Sun seller :

SunOS 4.1/4.1.1 Openwin 2.0 Openboot PROM 1.3 to 2.4

Thanks to: marg@manila.cc.columbia.edu guy@auspex.com spaceman@mwunix.mitre.org gusset@sparc1.ntb.ch

___OR___

You can change the DIP Switch settings (on the bottom of the keyboard, at the top, behind a little trap door): Type 5's come with #3 and #8 set to ON, which should be left on, then add the following:

for the type 5 to look like a type 4 (set #2 to ON) for the type 5 to look like a type 3 (why? set #1 to ON).

I don't know if there are other ramifications to changing the DIP switch, I haven't run into any yet. This is _not_ mentioned in the Product Release Notes.

Thanks to: jon@alpha.ee.ufl.edu

Jeff Mallory jeff@millie.loc.gov

>From acadiau.ca!rob.hutten@cs.utexas.edu Fri Jan 15 08:28:04 1993 Date: Fri, 15 Jan 1993 08:41:03 -0400 From: Rob Hutten <rob.hutten@acadiau.ca> To: rg Subject: Re: Type-5 keyboards Newsgroups: list.sun-managers Content-Length: 818 X-Lines: 18 Status: RO

In list.sun-managers you write:

> On bootup the system responds with type 4 keyboard found. The keyboard > does not function properly until Openwindows is started (3.0). If we > rlogin into another system, the key board will revert back to a type 4 > and there goes the delete key! Is there a setting somewhere (ie. > eeprom...) to tell the system that we have a type 5?

Did you check the DIP switches on the keyboard? I had to twiddle with them quite a bit to get the dang thing to work correctly- and even now, the arrow keys are dead. I have to use the ones on the numeric keypad... One the the manuals that came with the keyboard had various dip switch settings to try...

-Rob -- Rob Hutten, UNIX Systems Programmer Acadia University, Wolfville, NS rob@dragon.acadiau.ca (902) 542 2201x158

>From uunet.UU.NET!bmskc!moe!sisul@cs.utexas.edu Sat Jan 16 04:15:20 1993 Date: Fri, 15 Jan 93 10:01:46 CST From: bmskc!moe!sisul@uunet.uu.net (Jim Sisul) To: uunet!issi.com!rg@uunet.uu.net Subject: Type-5 keyboards Status: RO Content-Length: 1180 X-Lines: 34

Ron,

I hope you're using the patches from Sun (part # 800-6875-06) to make your Type 5 keyboard work. This kit includes patches for SunOS versions < 4.1.2, the Open Boot PROM versions < 2.0, and Open Windows 2 (you don't need it for OW3).

If you've installed the patches properly, the system will STILL identify a "Type 4" keyboard at the boot banner; this can't be helped. However, the Type 5 keyboard should work just fine.

If you have installed the patches (or don't need them because you're running the correct OS, PROM, and OpenWindows) you may still need to modify the file containing the keytable you're using to get the delete and arrow keys to work. The patch documentation describes this; I don't remember off the top of my head which file you need to modify.

I hope this helps.

--Jim

---------------------------------------------------- James P. Sisul Associate Software Engineer Biomedical Systems Division PPG Industries, Inc. 16505 West 113th Street P.O. Box 15955 Lenexa, KS 66285-5955

VOICE: (913)894-7500, ext 7181 FAX: (913)894-7733 EMAIL: {...}uunet!bmskc!sisul OR sisul@bmskc.PPG.COM -----------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:25 CDT