keyboard problems

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
codemonkey
Posts: 49
Joined: Tue Apr 19, 2005 4:58 am
Location: Liverpool, UK

keyboard problems

Unread postby codemonkey » Tue May 17, 2005 9:06 am

Right, so I now have my Indigo2 *almost* working. I can now see a picture on the monitor, and I've even installed a fresh copy of Irix 6.2. Now, while the mouse works, the keyboard unfortunalty has decided that it doesn't want to play nice. I can type on it, but the keys pressed and the characters on screen are completley wrong.

For example, pressing 'u' gives me a backspace, return gives me an = sign and so on. I have set the keyboard to GBR using setenv, but it still doesn't work. The keyboard is just a standard ps2 101 key job from my old acer computer.

Any ideas? I can still use the terminal so throwing commands at it is no problem.

Edit: I've reinstalled 6.2 again and this time I didn't set a root password straight away so i could use the system graphically with just the mouse. I've run /usr/sbin/keyboard /usr/sbin/keyboards and /usr/sbin/ipanel and none of them seem to have any effect. I've changed the layout to every combination on the list and it's still the same. I've even tried using setxkeymap, but it comes back saying keycodes 97 - 110 are out of range.

Any ideas now?
Even the reverse side has a reverse side - Japanese Proverb

User avatar
kshuff
Posts: 2461
Joined: Sat Jan 08, 2005 8:13 pm
Location: Jonas, PA USA
Contact:

Unread postby kshuff » Tue May 17, 2005 2:11 pm

Just a thought, did you try a different keyboard?
-ks

:Onyx: :Onyx: :Crimson: :O2000: :Onyx2: :Fuel: :Octane: :Octane2: :PI: :Indigo: :Indigo: :O2: :O2: :Indigo2: :Indigo2: :Indigo2IMP: :Indy: :320: :540: :O3x0: :1600SW: :1600SW: :hpserv:

See them all >here<

User avatar
codemonkey
Posts: 49
Joined: Tue Apr 19, 2005 4:58 am
Location: Liverpool, UK

Unread postby codemonkey » Tue May 17, 2005 2:25 pm

yeah, i've tried the keyboard that came with the system (an SGI german one) and they both produce the same results. It's got to be something with X as both KB work fine in the shell and PROM menu. it's only once i've 'boot -f unix' that the KB decides to change. Anyone, anything?
Even the reverse side has a reverse side - Japanese Proverb

User avatar
chervarium
Posts: 349
Joined: Fri Jan 09, 2004 4:02 am
Location: Sofia, BG, EU
Contact:

Unread postby chervarium » Tue May 17, 2005 2:26 pm

kshuff wrote:Just a thought, did you try a different keyboard?

Yep, that usually helps. I have several keyboards around that behave the very same way.
LAMMEN GORTHAUR

User avatar
codemonkey
Posts: 49
Joined: Tue Apr 19, 2005 4:58 am
Location: Liverpool, UK

Unread postby codemonkey » Tue May 17, 2005 8:14 pm

Well, I've tried it now on 3 different keyboards, changing the config settings for each. Still the same :(
Even the reverse side has a reverse side - Japanese Proverb

User avatar
recondas
Moderator
Moderator
Posts: 5441
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Unread postby recondas » Wed May 18, 2005 3:31 pm

codemonkey wrote:Well, I've tried it now on 3 different keyboards, changing the config settings for each. Still the same :(


Just to cover some basics <not to imply you haven't done all this already>

Have you looked the prom KB settings <item 6>?
6. Select Keyboard Layout
Some systems display a sixth option when the console is on the
graphics display, which allows the keyboard map to be interactively
selected for SGI supported international keyboards.


I also found this tread in comp.sys.sgi.hardware - it's rather old, so I don't know if it'll be of any help <and your problem might be the reverse of theirs>

>Dave Olson <o...@anchor.esd.sgi.com> wrote:
>>s...@ecf.toronto.edu (Steve Kotsopoulos) writes:
>>| I recently upgraded an R4000 Indigo from IRIX 4.0.5 to IRIX 5.2.
>>| After the upgrade, the keyboard mapping is all messed up, so we
>>| cannot login to the console with the window system.
>>|
>>| At the prom monitor level, the keyboard works fine, so I don't think
>>| the keyboard is broken.

>>Are you using xmodmap to set custom key mappings, or have you configure
>>the system so it thinks you have a non-US keyboard?

>No, we are not using xmodmap, nor have we configured the system
>for a non-US keyboard. How can I check what kind of keyboard the
>system is configured for? What files should I check?

>I tried turning off 'visuallogin', but it didn't make a difference.

>Most of the keys don't cause anything to be echoed, but the following keys
>are mapped as:

>key mapped to
>v a
>CR b
>1 CR
>` 6

Many thanks to Erik Fortune <e...@westworld.esd.sgi.com> for helping
track down and fix the problem. It turned out that the wrong set of
keymap files got installed when I upgraded the system.

Erik said:

> Indigo and older machines use a set of
> SGI-specific keycodes while Indigo^2, Indy and newer machines
> use PC-compatible keycodes. It looks like you've got the PC
> keymaps installed on a normal Indigo...

We eventually discovered that /var/X11/input was a symbolic link to
/usr/lib/X11/input/PC. I changed it to point to /usr/lib/X11/input/SGI
and the problem went away.


you have checked <cough> to make sure the KB and mouse plugs aren't reversed <sorry - had to ask>

User avatar
codemonkey
Posts: 49
Joined: Tue Apr 19, 2005 4:58 am
Location: Liverpool, UK

Unread postby codemonkey » Wed May 18, 2005 4:26 pm

recondas wrote:We eventually discovered that /var/X11/input was a symbolic link to
/usr/lib/X11/input/PC. I changed it to point to /usr/lib/X11/input/SGI
and the problem went away.


you have checked <cough> to make sure the KB and mouse plugs aren't reversed <sorry - had to ask>[/quote]

There in the right ports :wink: but i'll try changing the link tomorrow as feeling a little sick (problem with living with 5 others is when one person gets something, it doesn't take long to spread).

I've just upgraded to 6.5 also, and it's still the same. Anyway, i'll let you all know tomorrow!
Even the reverse side has a reverse side - Japanese Proverb


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest