From owner-freebsd-current@freebsd.org Thu Dec 17 00:34:09 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 B3B87A4A1A9 for ; Thu, 17 Dec 2015 00:34:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8398D18DD for ; Thu, 17 Dec 2015 00:34:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ig0-x233.google.com with SMTP id mv3so2184094igc.0 for ; Wed, 16 Dec 2015 16:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=i/Tvwl2k/j3lRGkWinR1XVCVONhkxQbqbLpm3/Nm3bU=; b=I6Zn6eCG+riocCBk7CXSrB+Ao242Tee3B5zQLugcQJ5HFb5hQURp92MRo+1zuHoxiT AKhMSzzvDpeOC4PO5jST8pwhfdNISG19UEJ/G48FL8IP5zflEL/muxGx+ST9VQlxyVKT 0QEQmt/MSrhaprXmT5fcfcRhXAoGeZahSSulXFCbHDjm1kIdRnwZSwTrYlngZ1MD+jWb vz5Sob2ev4C42vyKJTrIwP68R7KCehtvYPIvlUcyPpyjOKJnRXt+YyM4x8rUq1LhmdA1 4Et03mxr/75uyjbwN8rslMX4gu0W2JqMYP4+6rD7sR29PpbJE0dxYLGedacgz7tJTZCF t03g== MIME-Version: 1.0 X-Received: by 10.107.153.79 with SMTP id b76mr25327765ioe.71.1450312448911; Wed, 16 Dec 2015 16:34:08 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.36.2.16 with HTTP; Wed, 16 Dec 2015 16:34:08 -0800 (PST) In-Reply-To: <271086927.242379.1450280096357.JavaMail.ngmail@webmail18.arcor-online.net> References: <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> <271086927.242379.1450280096357.JavaMail.ngmail@webmail18.arcor-online.net> Date: Wed, 16 Dec 2015 16:34:08 -0800 X-Google-Sender-Auth: G3JxvTMG2yS6nnSiMfZMyaRqPtE Message-ID: Subject: Re: Re: keymap set after file system decryption From: Kevin Oberman To: Carsten Kunze Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Thu, 17 Dec 2015 00:34:09 -0000 On Wed, Dec 16, 2015 at 7:34 AM, Carsten Kunze wrote: > Trond Endrest=C3=B8l wrote: > > > I guess we who live outside the US should take into account that PCs > > are initialised by firmware to the US keyboard layout and the 437 code > > 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 > > 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 > ok that at the boot prompt only US keymap is set. But when the rc script= s > are 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 > > /etc, along with /usr/sbin/kbdcontrol, and add a suitable line to one > > or either of /etc/rc.d/geli{,2}, e.g.: > > > > /etc/kbdcontrol -l /etc/german.iso.kbd > > > > kbdcontrol is linked only to libc: > > > > $ 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 > kbdcontrol must be in /sbin and the maps in /etc in the future. > > Carsten > You can specify your default keymap in your kernel config file. ATKBD_DFLT_KEYBD. It's possible that you might be able to set it in /boot/loader.conf, as well, but I'm not too sure of this. See atkbd(4). -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683