From owner-freebsd-current@freebsd.org Sun Sep 20 14:50: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 7EE1EA05C89 for ; Sun, 20 Sep 2015 14:50:49 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) (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 1AE521C3E for ; Sun, 20 Sep 2015 14:50:48 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by wicfx3 with SMTP id fx3so81466987wic.0 for ; Sun, 20 Sep 2015 07:50:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KCV1+/pjLPvThBiWm/aPpikxI7Ahi+pfzpq+0VZYxNU=; b=c2P7ofeDGhT8mgh4HGTUIk9EBxjn2cskELklMztRgrJeLz48dD8nYuvzgZKqabddrr PYbjSxWIIVXSLrCWMjWHp9MTz38duqvhQZPY+22f0LcFUMzXQTA6ltkt/3GrrflZzwA9 bUduz0Iw1EbQG1Mf71cxvEtQhLiEtByGPcLYO2O7jbS8Kfxa3ItduaA76IHPEtFT/5gx dJIV5i3NpvQKzPlvlH8iKKIf3gR1IpTW1SdToebXZWyY62ZhKnUza5li2M8/OyLidlDJ GWYTd4LHMvoD88Ze5OaoBamlKaEnLIuv7o2H1EhvBmQqIxHgSdK5/7EYo3yTA9Wfqa0d fE9w== X-Gm-Message-State: ALoCoQkF/8mT2/OfFoZ6+W/GMDay16dtPScA2W0NFFfWE6FiZJOgg8QZZ1gLtLyn3AnRFgXv8UA1 MIME-Version: 1.0 X-Received: by 10.181.29.101 with SMTP id jv5mr2178331wid.1.1442760640687; Sun, 20 Sep 2015 07:50:40 -0700 (PDT) Received: by 10.194.240.226 with HTTP; Sun, 20 Sep 2015 07:50:40 -0700 (PDT) In-Reply-To: <20150916045940.77f5ec2d@ernst.home> References: <20150916045940.77f5ec2d@ernst.home> Date: Sun, 20 Sep 2015 16:50:40 +0200 Message-ID: Subject: Re: FreeBSD 11.0-CURRENT Single User Keymap From: Oliver Pinter To: gljennjohn@gmail.com Cc: Brendan Sechter , "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Sun, 20 Sep 2015 14:50:49 -0000 On 9/16/15, Gary Jennejohn wrote: > 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. See this patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193865 > > -- > Gary Jennejohn > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >