NetBSD Problem Report #37022
From martin@duskware.de Sun Sep 23 20:23:13 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 35AE263B86C
for <gnats-bugs@gnats.netbsd.org>; Sun, 23 Sep 2007 20:23:13 +0000 (UTC)
Message-Id: <20070923200233.7D50263B86C@narn.NetBSD.org>
Date: Sun, 23 Sep 2007 20:02:33 +0000 (UTC)
From: uselpa@gmail.com
Reply-To: uselpa@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: keyboard encoding swiss-french doesn't work
X-Send-Pr-Version: www-1.0
>Number: 37022
>Category: bin
>Synopsis: keyboard encoding swiss-french doesn't work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 23 20:25:00 +0000 2007
>Closed-Date:
>Last-Modified: Sat Oct 06 06:10:17 +0000 2018
>Originator: Patrick Useldinger
>Release: 4.0_RC1
>Organization:
>Environment:
NetBSD 4.0_RC1 NetBSD 4.0_RC1 (GENERIC) #0: Sat Sep 1 15:24:09 PDT 2007 builds@wb42:/home/builds/ab/netbsd-4-0-RC1/i386/200709011431Z-obj/home/builds/ab/netbsd-4-0-RC1/src/sys/arch/i386/compile/GENERIC i386
>Description:
encoding does not seem to exist
wsconsctl -w encoding=sf fails
>How-To-Repeat:
wsconsctl -w encoding=sf
>Fix:
as with earlier versions:
#!/bin/sh
wsconsctl -k -w map+='
keycode 2 = 1 plus bar
keycode 3 = 2 quotedbl at
keycode 4 = 3 asterisk numbersign
keycode 5 = 4 ccedilla
keycode 6 = 5 percent
keycode 7 = 6 ampersand
keycode 8 = 7 slash brokenbar
keycode 9 = 8 parenleft cent
keycode 10 = 9 parenright
keycode 11 = 0 equal
keycode 12 = apostrophe question dead_acute
keycode 13 = dead_circumflex dead_grave dead_tilde
keycode 16 = q Q at
keycode 21 = z Z
keycode 26 = egrave udiaeresis bracketleft
keycode 27 = dead_diaeresis exclam bracketright
keycode 39 = eacute odiaeresis
keycode 40 = agrave adiaeresis braceleft
keycode 41 = section dead_abovering
keycode 43 = dollar sterling braceright
keycode 44 = y Y
keycode 51 = comma semicolon
keycode 52 = period colon
keycode 53 = minus underscore
keycode 86 = less greater backslash
keycode 184 = Mode_switch Multi_key
'
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: hubertf@netbsd.org
State-Changed-When: Wed, 26 Sep 2007 08:41:10 +0000
State-Changed-Why:
I've had a look at this one... unfortunately the suggested patch
doesn't fix the stated problem.
Can you submit a patch for src/sys so the problem you
state really is fixed? I kow it's not as easy as the fix
you suggest, but it would be TRT.
In the kernel, keymaps are per-keyboard-controller, you
probably want to search for 'wssun_keydesctab_de' in
src/sys/dev/sun/wskbdmap_sun.c, 'pckbd_keydesc_de' in
src/sys/dev/pckbport/wskbdmap_mfii.c, 'ukbd_keydesc_de'
in src/sys/dev/usb/ukbdmap.c and others.
Good luck!
- Hubert
State-Changed-From-To: analyzed->feedback
State-Changed-By: hubertf@netbsd.org
State-Changed-When: Wed, 26 Sep 2007 08:58:59 +0000
State-Changed-Why:
I've had yet another look... there's already a keymap that may
work for you in /usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-1,
which looks like the one you submitted. Can youo try to enable
that by putting the following into your /etc/wscons.conf:
encoding de
mapfile /usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-1
Please let me know if that works for you, or if there's anything
that can be done to enhance the situation. Thanks!
- Hubert
From: "Patrick Useldinger" <uselpa@gmail.com>
To: gnats-bugs@netbsd.org
Cc: port-i386-maintainer@netbsd.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, hubertf@netbsd.org
Subject: Re: port-i386/37022 (keyboard encoding swiss-french doesn't work)
Date: Wed, 26 Sep 2007 21:49:59 +0200
Hi,
On 9/26/07, hubertf@netbsd.org <hubertf@netbsd.org> wrote:
> Synopsis: keyboard encoding swiss-french doesn't work
>
> I've had yet another look... there's already a keymap that may
> work for you in /usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-1,
> which looks like the one you submitted. Can youo try to enable
> that by putting the following into your /etc/wscons.conf:
>
> encoding de
> mapfile /usr/share/wscons/keymaps/pckbd.fr_CH.iso8859-1
>
> Please let me know if that works for you, or if there's anything
> that can be done to enhance the situation. Thanks!
That works great except for:
1) the =B0 sign (key left to the '1' key, when pressed with SHIFT)
doesn't produce anything
2) the =AC sign (ALTGr-6), produced a plain "6"
3) the " sign (key above $=A3}, when combined with a space; it works
correctly when combined with an e (=3D> =EB) for example.
HTH,
Patrick Useldinger
State-Changed-From-To: feedback->open
State-Changed-By: hubertf@netbsd.org
State-Changed-When: Thu, 27 Sep 2007 00:43:02 +0000
State-Changed-Why:
It seems the existing pckbd.fr_CH.iso8859-1 file is almost there,
but has a few bugs.
Someone with wscons knowledge needs to have a look.
- Hubert
From: Hubert Feyrer <hubert@feyrer.de>
To: Patrick Useldinger <uselpa@gmail.com>
Cc: gnats-bugs@netbsd.org, port-i386-maintainer@netbsd.org,
netbsd-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: port-i386/37022 (keyboard encoding swiss-french doesn't work)
Date: Thu, 27 Sep 2007 02:37:36 +0200 (CEST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1756158181-435935248-1190853456=:2990
Content-Type: TEXT/PLAIN; format=flowed; charset=iso-8859-15
Content-Transfer-Encoding: 8BIT
On Wed, 26 Sep 2007, Patrick Useldinger wrote:
> That works great except for:
> 1) the ° sign (key left to the '1' key, when pressed with SHIFT)
> doesn't produce anything
> 2) the ¬ sign (ALTGr-6), produced a plain "6"
> 3) the " sign (key above $£}, when combined with a space; it works
> correctly when combined with an e (=> ë) for example.
Unfortunately I have no idea how to fix this. :(
- Hubert
---1756158181-435935248-1190853456=:2990--
Responsible-Changed-From-To: port-i386-maintainer->bin-bug-people
Responsible-Changed-By: maxv@NetBSD.org
Responsible-Changed-When: Sat, 06 Oct 2018 06:10:17 +0000
Responsible-Changed-Why:
that's more a bin bug, than an i386 kernel bug
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.