Subject: Keyboard/X problem (fixed)
To: None <cato@df.lth.se>
From: Gordon W. Ross <gwr@mc.com>
List: port-sparc
Date: 10/21/1997 09:21:09
> Date: Tue, 21 Oct 1997 01:00:27 +0200 (MET DST)
> From: Krister Walfridsson <cato@df.lth.se>
> After booting a -current GENERIC kernel (on a SUN ELC) from today (20
> Oct), I cannot start X. It dies with the message
>
> Fatal server error:
> Unsupported keyboard type 4 layout 184549376
>
>
> Does anybody have any idea what may be wrong, or where I should start
> looking. It must be due to a fairly recent change, since I'm not having
> this problem with my old kernel from Oct 12.
>
> /Krister
Oops - my fault. I never tried X on the new sys/dev/sun/* stuff.
The change attached should fix it. Thanks for trying it out!
Gordon
*** sys/dev/sun/kbd.c~ Sat Oct 4 12:30:16 1997
--- sys/dev/sun/kbd.c Tue Oct 21 09:18:50 1997
***************
*** 450,456 ****
break;
case KIOCLAYOUT: /* Get keyboard layout */
! *data = ks->kbd_layout;
break;
case KIOCSLED:
--- 450,456 ----
break;
case KIOCLAYOUT: /* Get keyboard layout */
! *(int *)data = ks->kbd_layout;
break;
case KIOCSLED: