Bug 2933 - XServer does not start with russian Sun keyboard
Summary: XServer does not start with russian Sun keyboard
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 6.0
Hardware: sparc
OS: Linux
low
low
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-20 11:57 UTC by roganov
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-06-03 18:42:48 UTC
Embargoed:


Attachments (Terms of Use)

Description roganov 1999-05-20 11:57:21 UTC
Hello,

We are running RedHat Linux on Sparc computer with russian
keyboard (type 5C). It looks exactly like english,
but with few specific keys. Every time we are installing
new system we have the same problem: XServer does not work:
it does not know about our keyboard (kbd returns code 54
during probe reply).

As a proper solution for this problem we should to create
special keyboard definition and put it into 'sunKeyMap.c'.
Unfortunatly, we don't know where/how to grasp it.
Currently we are using 'XFree86-3.3.3.1-ruskbd.patch'

<<<<<<<<<<<<
---XFree86-3.3.3.1/xc/programs/Xserver/hw/sun/sunKeyMap.c.orig
Tue May 18 23:26:00 1999
+++
XFree86-3.3.3.1/xc/programs/Xserver/hw/sun/sunKeyMap.c
Tue May 18 23:29:51 1999
@@ -5638,7 +5638,7 @@
        NULL, /* Hungary5 */    /* 51 */
        NULL, /* Poland5 */     /* 52 */
        NULL, /* Czech5 */      /* 53 */
-       NULL, /* Russia5 */     /* 54 */
+       US5Keymap, /* Russia5 *//* 54 */
        NULL,                   /* 55 */
        NULL,                   /* 56 */
        NULL,                   /* 57 */
@@ -5750,7 +5750,7 @@
        NULL, /* Hungary5 */    /* 51 */
        NULL, /* Poland5 */     /* 52 */
        NULL, /* Czech5 */      /* 53 */
-       NULL, /* Russia5 */     /* 54 */
+       US5Modmap, /* Russia5 *//* 54 */
        NULL,                   /* 55 */
        NULL,                   /* 56 */
        NULL,                   /* 57 */
>>>>>>>>>>>>>

which just says that keyboard is US5-comapible.
(It is interesting, how people from Hungary/Poland/Czech
are avoiding this problem...:-)

This patch is not a proper solution, but it is all we have
for this moment. The only reason for this message is
to put attention to this problem.

May be following obvious way is more acceptible: change
keyboard identification code to make it little less critical
(at least do not abort XServer):

Warning: unknown keyboard type %d, guessing US5 layout...

in hope what most of minor Sun keyboard modifications are
more or less US-compatible.

Best wishes,
Vladimir.

Comment 1 Jeff Johnson 1999-06-03 18:42:59 UTC
Fixed (by applying patch) in XFree86-3.3.3.1-50. Thanks for the
report.


Note You need to log in before you can comment on or make changes to this bug.