Date: Mon, 21 Sep 2015 17:12:24 +0900 From: Brendan Sechter <sgeos@hotmail.com> To: Oliver Pinter <oliver.pinter@hardenedbsd.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "junchoon@dec.sakura.ne.jp" <junchoon@dec.sakura.ne.jp>, "gljennjohn@gmail.com" <gljennjohn@gmail.com> Subject: RE: FreeBSD 11.0-CURRENT Single User Keymap Message-ID: <BAY182-W45B5E8FD2C831C14AF3187A2460@phx.gbl> In-Reply-To: <CAPQ4ffsJFXZUMqqh7hS5mEELv_K6gKL9jOQvntO=O9%2B-wru-wQ@mail.gmail.com> References: <BAY182-W82E7A902AD31ECAF3F4D3FA25C0@phx.gbl>, <20150916045940.77f5ec2d@ernst.home>, <CAPQ4ffsJFXZUMqqh7hS5mEELv_K6gKL9jOQvntO=O9%2B-wru-wQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun=2C 20 Sep 2015 16:50:40 +0200=0A= > Subject: Re: FreeBSD 11.0-CURRENT Single User Keymap=0A= > From: oliver.pinter@hardenedbsd.org=0A= > To: gljennjohn@gmail.com=0A= > CC: sgeos@hotmail.com=3B freebsd-current@freebsd.org=0A= >=0A= > On 9/16/15=2C Gary Jennejohn <gljennjohn@gmail.com> wrote:=0A= >> On Tue=2C 15 Sep 2015 19:32:35 +0900=0A= >> Brendan Sechter <sgeos@hotmail.com> wrote:=0A= >>=0A= >>> When compiling a FreeBSD 11.0-CURRENT kernel=2C what is required to cha= nge=0A= >>> the keymap used in single user mode? __I originally asked this question= on=0A= >>> the FreeBSD forums=2C but was bounced to the mailing list because CURRE= NT is=0A= >>> an unsupported version.=0A= >>>=0A= >>> I have read an old forum thread on this topic. I have also read=0A= >>> the__atkbd(4)__and__ukbd(4)__man pages. The relevant parts of my kernel= =0A= >>> configuration are as follows:=0A= >>>=0A= >>> &__----------__----------__----------__----------=0A= >>> include GENERIC=0A= >>> ident MY_KERNEL=0A= >>>=0A= >>> & AT Keyboard=0A= >>> device atkbdc=0A= >>> options ATKBD_DFLT_KEYMAP=0A= >>> makeoptions ATKBD_DFLT_KEYMAP=3Djp.106=0A= >>> device atkbd=0A= >>>=0A= >>> & USB Keyboard=0A= >>> device ukbd=0A= >>> options UKBD_DFLT_KEYMAP=0A= >>> makeoptions UKBD_DFLT_KEYMAP=3Djp.106=0A= >>>=0A= >>> & everything else=0A= >>> & ...=0A= >>> &__----------__----------__----------__----------=0A= >>>=0A= >>> So far as I can tell=2C these options should be working. I am using a 1= 06=0A= >>> key Japanese keyboard. Single user mode appears to use the keymap for a= =0A= >>> 101 key standard US layout. I have tried the following values:=0A= >>> - jp=0A= >>> - jp.106=0A= >>> - jp.106.kbd (not tried recently)=0A= >>>=0A= >>> Finally=2C this is a FreeBSD VM running in VirtualBox on OSX. I am 99% = sure=0A= >>> I am having the same problem on my physical machines. The specific driv= er=0A= >>> almost certainly depends on the hardware.=0A= >>>=0A= >>=0A= >> Try setting keymap in /etc/rc.conf to the entry you want. Just=0A= >> putting keymap=3D"jp.106" there should work.=0A= >>=0A= >> Umm=2C but this is for syscons. Not sure what you may need for vt=2C=0A= >> which I don't use.=0A= >=0A= > See this patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D19386= 5=0A= =0A= PR 194744 implies that disabling kbdmux is a workaround.=0A= https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194744=0A= =0A= Indeed=2C compiling with the above kernel configuration and disabling kbdmu= x by=0A= adding the following line=A0to=A0/boot/device.hints allows single user mode= to boot=0A= with a custom keymap. =A0jp.106.kbd in my case.=0A= hint.kbdmux.0.disabled=3D"1"=0A= =0A= In my tests=2C recompiling with a manually patched /usr/src/sys/dev/kbd/kbd= tables.h=0A= had no impact on the kbdmux keymap. =A0Neither did temporarily replacing=0A= /usr/share/syscons/keymaps/us.iso.kbd before the build.=0A= =0A= I look forward to seeing the custom keymap related patches pulled into head= .=0A= I understand the developers have more pressing and exciting things to work = on.=0A= =0A= >> --=0A= >> Gary Jennejohn=0A= >> _______________________________________________=0A= >> freebsd-current@freebsd.org mailing list=0A= >> https://lists.freebsd.org/mailman/listinfo/freebsd-current=0A= >> To unsubscribe=2C send any mail to "freebsd-current-unsubscribe@freebsd.= org"=0A= >>=0A= =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY182-W45B5E8FD2C831C14AF3187A2460>