Problems with the special keys in sun type-5 keyboard

From: Naveen Atmakuri (naveen.maillist@gmail.com)
Date: Sun Jan 08 2006 - 22:59:10 EST


Hi,

My system is running sunos-5.8 on x86. I am using Sun Type 5C keyboard. But
the special keys are not working. I am using xfree86-4.5.0 for my xwindow's
system.

I have gone through the sun_KbdEv.c file, and updated the symbol map table
in "map[256]" array to include the special keys. The updated file is
attached along with the mail [My updations can be found by grep "- Sun:"].
After this modification, the key events are getting generated for SUN's
special key's. I confirmed the same by using the "/usr/openwin/demo/xev"
program. But the keysyms are "0x0" with "NoSymbol" for the SUN's special
keys.

As an alternative approach I remapped the Sun special keys using "xmodmap".
For this I used the following keymap's. After execution of "xmodmap"
command, the cut, copy, paste, undo, stop, and Again keys are working fine.
But still the remaining keys (props, Front, Open, Find) are not working
though the key symbols are getting generated. But after the xmodmap command
the keysyms are generated for all the special keys. But still the rest of
the keys are not working. This seems to be very much starnge to me.

keycode 145 = SunStop
keycode 146 = SunAgain
keycode 147 = SunProps
keycode 148 = osfUndo
keycode 149 = SunFront
keycode 150 = osfCopy
keycode 151 = SunOpen
keycode 152 = osfPaste
keycode 153 = SunFind
keycode 154 = osfCut

Following are my doubts:
1. Why is that keysyms are zero before xmodmap?
2. Which key symbol table does the sparc use for my type 5c keybaord?
2. After xmodmap why is that only copy, paste, undo and cut keys are working
and not other keys?

It will be great if some one can help me in fixing this issue.

Regards
Naveen A.

[demime 1.01b removed an attachment of type application/octet-stream which had a name of sun_kbdEv_orig.c]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:23 EDT