From owner-freebsd-current@freebsd.org Wed Dec 16 15:35:05 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D4ADA491B8 for ; Wed, 16 Dec 2015 15:35:05 +0000 (UTC) (envelope-from carsten.kunze@arcor.de) Received: from mail-in-17.arcor-online.net (mail-in-17.arcor-online.net [151.189.21.57]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3955C1271 for ; Wed, 16 Dec 2015 15:35:04 +0000 (UTC) (envelope-from carsten.kunze@arcor.de) Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mx.arcor.de (Postfix) with ESMTP id 3pLL9r2xb0zYLd for ; Wed, 16 Dec 2015 16:34:56 +0100 (CET) Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id 61D9220C465 for ; Wed, 16 Dec 2015 16:34:56 +0100 (CET) Received: from webmail18.arcor-online.net (webmail18.arcor-online.net [151.189.8.76]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 3pLL9r2fhcz32rT for ; Wed, 16 Dec 2015 16:34:56 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-13.arcor-online.net 3pLL9r2fhcz32rT DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1450280096; bh=8PdSaao97+JOPKk0c1UdgNjiAHvyDtOoAPYzVnfNOcI=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=tNlrU/xOCdvxqHENDNOLHLWLlCx0P/GO8dbBNA7nukm4QJaGkMxt22+vjHYnuPyb+ wRCHF+AZMxu4u52toixSPGXVli9kFoqnDdtO5Ym27Fc6qOr6suRFW63lfLcCeCkqVJ JWC/WQC0e9bEQHfOc8uBR1WBUenGPKBe5Qk1jeQU= Received: from [217.92.152.234] by webmail18.arcor-online.net (151.189.8.76) with HTTP (Arcor Webmail); Wed, 16 Dec 2015 16:34:56 +0100 (CET) Date: Wed, 16 Dec 2015 16:34:56 +0100 (CET) From: Carsten Kunze To: freebsd-current@freebsd.org Message-ID: <271086927.242379.1450280096357.JavaMail.ngmail@webmail18.arcor-online.net> In-Reply-To: References: <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> Subject: Aw: Re: keymap set after file system decryption MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-ngMessageSubType: MessageSubType_MAIL X-WebmailclientIP: 217.92.152.234 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 15:35:05 -0000 Trond Endrest=F8l wrote: > I guess we who live outside the US should take into account that PCs=20 > are initialised by firmware to the US keyboard layout and the 437 code=20 > page, courtesy of IBM, 1981. In 1981 I had accepted this. Now it's simply a bug and I wonder it has not= been fixed in 22 years. I'll file a bug report. > I'm not sure if the creators of (U)EFI has considered other keyboard=20 > layouts and/or code pages at boot time. I don't care for the BIOS here, the OS has to take care of it. It may be o= k that at the boot prompt only US keymap is set. But when the rc scripts a= re running the keymap must be set correctly (as one of the first actions). > A bad workaround is to copy the suitable keymap from /usr/share... to=20 > /etc, along with /usr/sbin/kbdcontrol, and add a suitable line to one=20 > or either of /etc/rc.d/geli{,2}, e.g.: >=20 > /etc/kbdcontrol -l /etc/german.iso.kbd >=20 > kbdcontrol is linked only to libc: >=20 > $ ldd `which kbdcontrol` > /usr/sbin/kbdcontrol: > libc.so.7 =3D> /lib/libc.so.7 (0x800827000) In my case it's simpler since I have /usr in /, but as you descripted kbdco= ntrol must be in /sbin and the maps in /etc in the future. Carsten