Subject: kern/29840: wscons: Swiss German ("sg") keymap broken w/ PS/2 keyboard
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 03/30/2005 21:07:01
>Number: 29840
>Category: kern
>Synopsis: wscons: Swiss German ("sg") keymap broken w/ PS/2 keyboard
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 30 21:07:00 +0000 2005
>Originator: Hubert Feyrer
>Release: NetBSD 3.0_BETA
>Organization:
bla!
>Environment:
System: NetBSD miyu 3.0_BETA NetBSD 3.0_BETA (MIYU) #2: Fri Mar 25 02:08:11 MET 2005 feyrer@miyu:/home/cvs/src-3/sys/arch/i386/compile/obj.i386/MIYU i386
Architecture: i386
Machine: i386
>Description:
It seems the "Swiss German" keymap was only added for USB keyboards,
but not for PS/2 keyboards, KB_SG is in src/sys/dev/usb/ukbdmap.c
but not in src/sys/dev/pckbport/wskbdmap_mfii.c.
>How-To-Repeat:
# wsconsctl -k -w encoding=sg
wsconsctl: WSKBDIO_SETENCODING: Invalid argument
>Fix:
Sync NetBSD's wskbdmap_mfii.c (and probably ukbdmap.c) with
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pckbc/wskbdmap_mfii.c
>Unformatted: