Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 15:18:27 +0200
From:      Stefan Esser <se@freebsd.org>
To:        Lars Engels <lars.engels@0x20.net>, Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Several minor annoyances on Current
Message-ID:  <53D3AAA3.4030506@freebsd.org>
In-Reply-To: <20140726112414.GG10844@e-new.0x20.net>
References:  <1406282699515-5931653.post@n5.nabble.com> <53D2A73D.3010404@sasktel.net> <20140726120247.3b763085@rsbsd.rsb> <20140726112414.GG10844@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.07.2014 um 13:24 schrieb Lars Engels:
> On Sat, Jul 26, 2014 at 02:03:09AM -0700, Beeblebrox wrote:
>> @ Ian: I added your code and rebuilt the kernel. 
>> /boot/loader.conf also has vfs.nfs.bootp_disable="YES" Previously
>> described problem persists.
>> 
>> SEPARATE KBD_KEYMAP ISSUE: The keymap for keyboard fails to be
>> set from rc.conf with keymap="fr.iso.kbd" Boot message shows this
>> but there is no record of the message in log files/dmesg:
>> "Configuring syscons: keymapkbdcontrol: keymap file "fr.iso.kbd"
>> not found: No such file or directory" Keymap gets set when I
>> change rc.conf entry to:
>> keymap="/usr/share/syscons/keymaps/fr.iso.kbd"
> 
> Yes, I also stumbled upon this. Usually the following worked:
> 
> # kbdcontrol -l german.iso # kbdcontrol -l german.iso.kbd #
> kbdcontrol -l /usr/share/syscons/keymaps/german.iso.kbd
> 
> In the last few months on HEAD only the latest invocation works.

Please retry with kbdcontrol as of SVN revision 269120.

With this change, "kbdcontrol -l" looks at up to 4 places for
keyboard map definitions:

1) Under the path found in the environment variable KEYMAP_PATH
2) Under the full path name specified as parameter to -l
3) Under the newcons-specific path (/usr/share/vt/keymaps) (***)
4) Under the old path used for syscons (/usr/share/syscons/keymaps)

(***) Only if using newcons as reported by sysctl kern.vty

For newcons, there was no case 4), it only looked into vt/keymaps.
But many keymaps are identical for syscons and newcons and only a
few have been converted and placed into /usr/share/vt/keymaps.

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53D3AAA3.4030506>