Subject: port-i386/28668: wscons keymap does not load for USB kbd
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 12/15/2004 16:56:00
>Number:         28668
>Category:       port-i386
>Synopsis:       wscons keymap does not load for USB kbd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 16:56:00 +0000 2004
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 2.0
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
 X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281
>Environment:
	
	
System: NetBSD heiligenberg 2.0 NetBSD 2.0 (HEILIGENBERG) #4: Thu Dec 2 17:31:36 CET 2004 hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/HEILIGENBERG i386
Architecture: i386
Machine: i386

Relevant parts of dmesg output:

wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

[...]

uhci0 at pci0 dev 4 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

[...]

pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0


>Description:

	With a USB keyboard, attempting to set the keymap to de.nodead
	either through wscons.conf ("encoding de.nodead") or in the
	kernel ("options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" fails. It
	works, though, if I plug in a PS/2 keyboard.

	This is reproducible with different keyboards and different
	machines here.

>How-To-Repeat:

	Set up a 2.0 i386 machine, configure for German (or, probably,
	any other non-default) keyboard layout, reboot with a USB
	keyboard plugged in.

>Fix:
	No idea.

>Unformatted: