NetBSD Problem Report #40527

From www@NetBSD.org  Sat Jan 31 19:38:03 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 425C363BC01
	for <gnats-bugs@gnats.netbsd.org>; Sat, 31 Jan 2009 19:38:03 +0000 (UTC)
Message-Id: <20090131193803.0CB3D63B879@narn.NetBSD.org>
Date: Sat, 31 Jan 2009 19:38:03 +0000 (UTC)
From: dominik@damned.com.pl
Reply-To: dominik@damned.com.pl
To: gnats-bugs@NetBSD.org
Subject: two keyboards (pckbd and ukbd) with polish keymap
X-Send-Pr-Version: www-1.0

>Number:         40527
>Category:       kern
>Synopsis:       two keyboards (pckbd and ukbd) with polish keymap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 31 19:40:00 +0000 2009
>Originator:     dominik
>Release:        NetBSD 4.0.1_PATCH
>Organization:
>Environment:
NetBSD kraina-oz 4.0.1_PATCH NetBSD 4.0.1_PATCH (GENERIC) #5: Fri Oct 10 12:33:41 CEST 2008  root@kraina-oz:/usr/obj/obj/sys/arch/i386/compile/GENERIC i386
>Description:
first a misprint :)

dominik@kraina-oz$ dmesg |grep Keykoard 
uhidev1: USB USB Keykoard, rev 1.10/1.10, addr 2, iclass 3/1

now the problem, I've got two keyboards attached one ps/2 other usb keyboard, as long as i set encoding like this:

wsconsctl -k -w encoding=us.metaesc

everything works fine, but if i want to write polish chars [&#322;&#281;&#261;...] normally i do:

wsconsctl -w "map+= `grep '^[a-z]' \
/usr/share/wscons/keymaps/pckbd.pl.iso8859-2`"

which works fine for one keyboard (pckbd), when i do this and both keyboards are attached, both start to act *wired* no button work as it should space gives me z on pckbd but works good on ukbd, o on ukbd gives me e and so on... 

by playing with wsmuxctl i managed to have pl chars on pckbd (but not on ukbd) by removing ukbd then adding keymaps and again adding it. however trying to have pl chars with both keyboards ends with useless keybs.
>How-To-Repeat:
like in descr.
>Fix:
detach usb keyboard and reattach it again, then encoding goes back to us i think.

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.