NetBSD Problem Report #58405

From www@netbsd.org  Sat Jul  6 17:23:36 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1D1FD1A923C
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 Jul 2024 17:23:36 +0000 (UTC)
Message-Id: <20240706172334.B73E91A923E@mollari.NetBSD.org>
Date: Sat,  6 Jul 2024 17:23:34 +0000 (UTC)
From: alexander245@wp.pl
Reply-To: alexander245@wp.pl
To: gnats-bugs@NetBSD.org
Subject: Selecting Polish keyboard type in sysinst is useless
X-Send-Pr-Version: www-1.0

>Number:         58405
>Category:       install
>Synopsis:       Selecting Polish keyboard type in sysinst is useless
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 06 17:25:00 +0000 2024
>Last-Modified:  Tue Jul 09 12:45:01 +0000 2024
>Originator:     Alexander
>Release:        9.4
>Organization:
-
>Environment:
NetBSD localhost 9.4 NetBSD 9.4 (GENERIC) #0: Sat Apr 20 13:32:22 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When you install the system with the Polish keyboard type selected, the system starts with an error:

Keyboard wsconsctl: WSKBDIO_SETENCODING: Invalid argument

There is in wscons.conf:
encoding pl
>How-To-Repeat:
Install system with Polish keyboard type. Then run installed system and whatch messages.
>Fix:
There is no fix. It is know that encoding pl does not work in NetBSD 9.4.

By the way polish porgrammer keyboard is the most used in Poland.

>Audit-Trail:
From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/58405: Selecting Polish keyboard type in sysinst is
 useless
Date: Sun, 7 Jul 2024 11:20:21 +0000 (UTC)

 On Sat, 6 Jul 2024, alexander245@wp.pl wrote:

 >> Description:
 > When you install the system with the Polish keyboard type selected, the system starts with an error:
 >
 > Keyboard wsconsctl: WSKBDIO_SETENCODING: Invalid argument
 >
 > There is in wscons.conf:
 > encoding pl
 >

 Dup of PR #57234 and PR #57844.

 Can you see if the keymap(s) in PR #57234 work for you?

 -RVP

From: szymon 01 <s9281723@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/58405: Selecting Polish keyboard type in sysinst is useless
Date: Sun, 7 Jul 2024 14:12:18 +0200

 --0000000000005ebd97061ca71ca5
 Content-Type: text/plain; charset="UTF-8"

 Wouldn't it be easier to remove the option to select the Polish keyboard
 type in the system installation program?

 --0000000000005ebd97061ca71ca5
 Content-Type: text/html; charset="UTF-8"

 <div dir="ltr">Wouldn&#39;t it be easier to remove the option to select the Polish keyboard type in the system installation program?</div>

 --0000000000005ebd97061ca71ca5--

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/58405: Selecting Polish keyboard type in sysinst is useless
Date: Sun, 7 Jul 2024 13:56:19 -0000 (UTC)

 s9281723@gmail.com (szymon 01) writes:

 > Wouldn't it be easier to remove the option to select the Polish keyboard
 > type in the system installation program?

 Not all keyboard drivers support all keyboard encodings.

 NetBSD/amiga has a keyboard driver with a polish keymap. If people agree,
 you could also add polish keymaps to the ukbd, pckbd and adb drivers.

 The next problem then would be to provide a ISO8859-2 font for
 the console. The NetBSD/amiga "ite" console comes with one, but
 the regular wscons comes with ISO8859-1 fonts.

 The installation program unfortunately cannot know what a particular
 keyboard provides. If you drop the Polish keyboard selection, then
 someone will complain where it would work and cannot be chosen.

 Still a lot to do ...

From: szymon <s9281723@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/58405: Selecting Polish keyboard type in sysinst is useless
Date: Tue, 9 Jul 2024 14:48:21 +0200

 After installation, I changed
 encoding pl
 to
 encoding us
 in /etc/wscons.conf file.


 In the /etc/X11/xorg.conf I added

 Section "ServerFlags"
         Option          "AutoAddDevices" "false"
 EndSection

 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
         Option      "XkbLayout" "pl"
 EndSection

 and I have polish letters in X11.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.