From owner-freebsd-current@freebsd.org Wed Sep 16 02:59:49 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 4FFEC9CE4B6 for ; Wed, 16 Sep 2015 02:59:49 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (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 DD747163E for ; Wed, 16 Sep 2015 02:59:48 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by wicgb1 with SMTP id gb1so53954616wic.1 for ; Tue, 15 Sep 2015 19:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=jAMM6QgpD6F5upI/zd8Ua5T+J4wR/kWH3AIodA8432o=; b=ffHeWEDXRGZmdEYI8JAGyQp/FONfrtRQL6GwBlSF+9rOsN2I3JGtud/YeiGgrQAYLX djZgjpaN4mzGWGkWSxT989+mt6J0lqEQBpnQQcQh0/1gUWKeMT/Qn7D3MOt+EMkfNCLG M2wApeAq6XD/Wx2GjpSB/Z0d5LuOJPafGDXdXFS20HGLXkodtDixljLK5L5gZBaPrD3C PbiS/I/XsGeSbzjRaGU7XlyCyo5/C8m//lQG0WrMT++1BKnjn7YG6nqmjWMtsy4mkG1l BgdFuY+ukwo+EB1hTpI3ZzOMYc9vtXPkbH8Kkbxp1TnJSCAC/1jw4Rc4up1Rs4uyceGs zTyQ== X-Received: by 10.194.121.131 with SMTP id lk3mr16134416wjb.77.1442372387161; Tue, 15 Sep 2015 19:59:47 -0700 (PDT) Received: from ernst.home (p578E16AA.dip0.t-ipconnect.de. [87.142.22.170]) by smtp.gmail.com with ESMTPSA id lz10sm23984814wjb.48.2015.09.15.19.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 19:59:46 -0700 (PDT) Date: Wed, 16 Sep 2015 04:59:40 +0200 From: Gary Jennejohn To: Brendan Sechter Cc: "freebsd-current@freebsd.org" Subject: Re: FreeBSD 11.0-CURRENT Single User Keymap Message-ID: <20150916045940.77f5ec2d@ernst.home> In-Reply-To: References: Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Sep 2015 02:59:49 -0000 On Tue, 15 Sep 2015 19:32:35 +0900 Brendan Sechter wrote: > When compiling a FreeBSD 11.0-CURRENT kernel, what is required to change the keymap used in single user mode? __I originally asked this question on the FreeBSD forums, but was bounced to the mailing list because CURRENT is an unsupported version. > > I have read an old forum thread on this topic. I have also read the__atkbd(4)__and__ukbd(4)__man pages. The relevant parts of my kernel configuration are as follows: > > #__----------__----------__----------__---------- > include GENERIC > ident MY_KERNEL > > # AT Keyboard > device atkbdc > options ATKBD_DFLT_KEYMAP > makeoptions ATKBD_DFLT_KEYMAP=jp.106 > device atkbd > > # USB Keyboard > device ukbd > options UKBD_DFLT_KEYMAP > makeoptions UKBD_DFLT_KEYMAP=jp.106 > > # everything else > # ... > #__----------__----------__----------__---------- > > So far as I can tell, these options should be working. I am using a 106 key Japanese keyboard. Single user mode appears to use the keymap for a 101 key standard US layout. I have tried the following values: > - jp > - jp.106 > - jp.106.kbd (not tried recently) > > Finally, this is a FreeBSD VM running in VirtualBox on OSX. I am 99% sure I am having the same problem on my physical machines. The specific driver almost certainly depends on the hardware. > Try setting keymap in /etc/rc.conf to the entry you want. Just putting keymap="jp.106" there should work. Umm, but this is for syscons. Not sure what you may need for vt, which I don't use. -- Gary Jennejohn