Re: Several minor annoyances on Current

From: Stefan Esser <se_at_freebsd.org>
Date: Sat, 26 Jul 2014 15:18:27 +0200
Am 26.07.2014 um 13:24 schrieb Lars Engels:
> On Sat, Jul 26, 2014 at 02:03:09AM -0700, Beeblebrox wrote:
>> _at_ 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
Received on Sat Jul 26 2014 - 11:18:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC