NetBSD Problem Report #51255
From www@NetBSD.org Sun Jun 19 01:13:46 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6E2A27A221
for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Jun 2016 01:13:46 +0000 (UTC)
Message-Id: <20160619011345.3CE917AAA4@mollari.NetBSD.org>
Date: Sun, 19 Jun 2016 01:13:45 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unable to utilise keyboard layout variants
X-Send-Pr-Version: www-1.0
>Number: 51255
>Category: port-macppc
>Synopsis: Unable to utilise keyboard layout variants
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 19 01:15:00 +0000 2016
>Closed-Date:
>Last-Modified: Tue Jul 05 19:20:00 +0000 2016
>Originator: Sevan Janiyan
>Release: NetBSD-HEAD
>Organization:
>Environment:
>Description:
On a 12" PowerBook G4 running NetBSD/macppc it's not possible to use a variant layout for the keyboard.
The keyboard remains a qwerty layout despite switching to colemak or dvorak.
Switching language without a variant works as intended.
>How-To-Repeat:
run
wsconsctl -k -w encoding=us.dvorak
>Fix:
>Release-Note:
>Audit-Trail:
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-macppc/51255: Unable to utilise keyboard layout variants
Date: Sun, 19 Jun 2016 02:18:47 +0100
"The keyboard remains a qwerty layout despite switching to colemak or
dvorak."
What I should've said is, the keyboard layout remains the previous
language layout despite indicating that the keyboard encoding has
switched to another layout with a variant, such as colemak or dvorak.
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-macppc/51255: Unable to utilise keyboard layout variants
Date: Sun, 19 Jun 2016 11:38:51 +0200
Hello Sevan,
venture37@geeklan.co.uk writes:
> >Number: 51255
> >Category: port-macppc
> >Synopsis: Unable to utilise keyboard layout variants
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: port-macppc-maintainer
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Sun Jun 19 01:15:00 +0000 2016
> >Originator: Sevan Janiyan
> >Release: NetBSD-HEAD
> >Organization:
> >Environment:
> >Description:
> On a 12" PowerBook G4 running NetBSD/macppc it's not possible to
> use a variant layout for the keyboard. The keyboard remains a
> qwerty layout despite switching to colemak or dvorak. Switching
> language without a variant works as intended.
> >How-To-Repeat:
> run
> wsconsctl -k -w encoding=us.dvorak
Is it an adbkbd(4)? (`dmesg | wskbd' or `drvctl -lt' will probably help)
In that case from a very quick look it seems that
src/sys/dev/adb/adb_keymap.h doesn't know about some variants like
Colemak and Dvorak layouts and they need to be added.
HTH!
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-macppc/51255: Unable to utilise keyboard layout variants
Date: Sun, 19 Jun 2016 15:05:19 +0100
On 19/06/2016 10:40, Leonardo Taccari wrote:
> Is it an adbkbd(4)? (`dmesg | wskbd' or `drvctl -lt' will probably help)
In my case, it's ADB.
> In that case from a very quick look it seems that
> src/sys/dev/adb/adb_keymap.h doesn't know about some variants like
> Colemak and Dvorak layouts and they need to be added.
Ineed, there's a preliminary patch to test out, will try and get that
done later today.
https://www.netbsd.org/~jakllsch/20160619/adb_keymap.h-dvorak.patch
Sevan
From: "Jonathan A. Kollasch" <jakllsch@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51255 CVS commit: src/sys/dev/adb
Date: Mon, 20 Jun 2016 00:05:58 +0000
Module Name: src
Committed By: jakllsch
Date: Mon Jun 20 00:05:58 UTC 2016
Modified Files:
src/sys/dev/adb: adb_keymap.h
Log Message:
Add us.dvorak keymap variant for ADB keyboards. Addresses PR 51255.
Tested by sevan@.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/adb/adb_keymap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 20 Jun 2016 16:48:47 +0000
State-Changed-Why:
fixed, thanks
State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 20 Jun 2016 17:34:35 +0000
State-Changed-Why:
still need colemak (and what else?)
From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51255 CVS commit: [netbsd-7] src/sys/dev/adb
Date: Tue, 5 Jul 2016 19:14:59 +0000
Module Name: src
Committed By: snj
Date: Tue Jul 5 19:14:59 UTC 2016
Modified Files:
src/sys/dev/adb [netbsd-7]: adb_kbd.c adb_keymap.h adb_usb_map.c
Log Message:
Pull up following revision(s) (requested by sevan in ticket #1187):
sys/dev/adb/adb_kbd.c: revision 1.23
sys/dev/adb/adb_keymap.h: revisions 1.5, 1.6
sys/dev/adb/adb_usb_map.c: revision 1.2
nicely ask the keyboard to distinguish between left and right Control, Alt
and Shift keys.
Welcome to the world of accents and diacritics!
--
Add us.dvorak keymap variant for ADB keyboards. Addresses PR 51255.
Tested by sevan@.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/dev/adb/adb_kbd.c
cvs rdiff -u -r1.4 -r1.4.14.1 src/sys/dev/adb/adb_keymap.h
cvs rdiff -u -r1.1 -r1.1.16.1 src/sys/dev/adb/adb_usb_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.