Hello

Many thanks for the info. Sorry for the late response, was extremly busy with emergency stuff.
>/opt/SUNWut/lib/keytables/keytable.map on Linux) and change the line:
>
>  6       0       US6.kt
>
>to:
>
>  6       0       Switzer_Ge6.kt
>
>then log out and log in again.

Which impact has this to people who already use english keyboards?

Thanks

Roland




ottomeister wrote:

On 2/28/07, Roland Kaeser <[EMAIL PROTECTED]> wrote:

We are currently try to attach IBM-PS2-Keyboards via a ps2usb to the Sun
Ray dtus. But I can see some strange happening. First I had to create a
new keyboard mapping file. Because the adapter is not "type 6"?
compliant or reports a wrong locale. This was partially working for some
time.  But I recognized that some keys are "dead" at all. For sample.
the greater/less/backslash key (swiss german keyboard) remains
completely dead. Even the xev could not receive any event when pressing
this key.


The adapter is probably reporting a USB layout code of 0, which means
that the Sun Ray X server will be using a US keyboard table for this
keyboard.  To configure the X server to use the Swiss German keyboard
table for keyboards that report layout code 0 edit the keytable map file
(/usr/openwin/etc/keytables/keytable.map on Solaris,
/opt/SUNWut/lib/keytables/keytable.map on Linux) and change the line:

   6       0       US6.kt

to:

   6       0       Switzer_Ge6.kt

then log out and log in again.

- How are the keyboard events routed through the Sun RAY System (based
on the dead key problem, I assume that there must be a other layer which
doesn't accepts the greater/less/backslash key.


When you hit a key the Sun Ray unit sends the keyboard's layout code
and the key's keycode to the X server. If the X server has not previously
loaded the keytable for this layout code (as defined in the keytable.map
file) then it loads that keytable. Then it uses the keycode to look up an
X key symbol in the keytable, and finally it sends that keysym to the X
client that has the keyboard focus.

If the keytable contains no keysym for the keycode then the lookup fails
and the X server reports nothing to the client.

- How can I see which keyboard is recognized by the system when its
plugged into the dtu?


There's no way of getting that information directly.

- How is this whole concept of the Sun Ray system built in kind of
locales, keyboard layouts etc.


It depends entirely on the keyboard reporting the correct layout code.
If the keyboard (or the adapter in this case) reports the wrong code
then the keyboard mapping will be incorrect.

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/sunray-users



--
Roland Kaeser, SysAdmin Institut fuer Mathematik, Universitaet Zuerich
Winterthurerstrasse 190, CH-8057 Zuerich, Office: Y36-L70
Tel.: ++41 (0)44 63-55866 mailto:[EMAIL PROTECTED]
FAX:  ++41 (0)44 63-55705, www.math.unizh.ch

_______________________________________________
SunRay-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/sunray-users

Reply via email to