NetBSD Problem Report #43955

From www@NetBSD.org  Sat Oct  9 02:02:37 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D511C63B92A
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 Oct 2010 02:02:36 +0000 (UTC)
Message-Id: <20101009020236.9F36363B8CD@www.NetBSD.org>
Date: Sat,  9 Oct 2010 02:02:36 +0000 (UTC)
From: granowski@hotmail.com
Reply-To: granowski@hotmail.com
To: gnats-bugs@NetBSD.org
Subject: x11 sun type 5 keyboard problems in NetBSD 5.0.2
X-Send-Pr-Version: www-1.0

>Number:         43955
>Category:       port-sparc64
>Synopsis:       x11 sun type 5 keyboard problems in NetBSD 5.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 09 02:05:00 +0000 2010
>Originator:     Derrick Granowski
>Release:        5.0.2
>Organization:
Concordia Language Villages (Tech Office)
>Environment:
NetBSD verfeuert.alteszeug.net 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 22:11:13 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/sparc64/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/sparc64/compile/GENERIC sparc64

>Description:
I have installed X and with OpenBox and successfully gotten X to start up.  However, the only thing that is not functioning is the type5 sun keyboard.  Every time I hit a key, it crashes the X server.  The keyboard works fine on the console, but never with X.  I tried replacing it with a ps/2 german keyboard and mouse using a ps/2 to usb adapter (my Ultra 60 has a usb pci card) and NetBSD sees the usb mouse in parallel with the sun mouse in X fine, but the keyboard won't work. I wonder if it has anything to do with the following from dmesg?
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay1
Is wsdisplay1 not the screen that the X server displays to?


>How-To-Repeat:
With the X11 Keyboard configuration as follows:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "sun"
        Option      "XkbModel" "type5_unix"
        Option      "XkbLayout" "us"
        Option      "XkbOptions" "ctrl:swapcaps"
EndSection

run startx and press any key at any time.
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.