NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40527: two keyboards (pckbd and ukbd) with polish keymap



>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 
[łęą...] 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.



Home | Main Index | Thread Index | Old Index